Data Representation Flashcards

1
Q

What is binary?

A

A number system using only 1s and 0s, used by computers to represent all data and instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why do computers use binary?

A

Because computers are made of electronic circuits that have two states: on (1) and off (0).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a bit?

A

A binary digit — the smallest unit of data in computing, either 0 or 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the units of data from smallest to largest?

A

• Bit
• Nibble (4 bits)
• Byte (8 bits)
• Kilobyte (KB)
• Megabyte (MB)
• Gigabyte (GB)
• Terabyte (TB)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you convert binary to denary (decimal)?

A

Add up the values of the binary digits that are 1 (e.g., 1010 = 8 + 2 = 10).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you convert denary to binary?

A

Subtract the largest possible binary place values from the number, using 1s and 0s to represent each value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is hexadecimal and why is it used?

A

A base-16 number system (0–9 and A–F). It’s shorter and easier for humans to read than binary.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you convert binary to hexadecimal?

A

Split the binary into 4-bit chunks (nibbles) and convert each to a hex digit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you convert hexadecimal to binary?

A

Convert each hex digit into a 4-bit binary value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How are characters represented in binary?

A

Using character sets such as ASCII or Unicode, where each character is assigned a unique binary code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is ASCII?

A

American Standard Code for Information Interchange — uses 7 bits to represent 128 characters including letters, digits, and symbols.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Unicode and how is it different from ASCII?

A

Unicode can represent many more characters (including non-English symbols), using 16 or more bits — supports global communication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is an image made up of?

A

Pixels — small dots of colour, each represented by a binary value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is resolution?

A

The number of pixels in an image (width × height). Higher resolution = more detail.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is colour depth?

A

The number of bits used to represent the colour of each pixel. More bits = more colours.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is metadata in an image file?

A

Data about the image, such as resolution, colour depth, and file format.

17
Q

What affects the file size of a bitmap image?

A

Resolution and colour depth — more pixels and more colours mean larger files.

18
Q

How is sound represented in binary?

A

The computer takes samples of the sound wave at regular intervals and records their amplitude as binary numbers.

19
Q

What is sample rate?

A

The number of sound samples taken per second, measured in Hz (e.g., 44,100 Hz).

20
Q

What is sample resolution (bit depth)?

A

The number of bits used for each sample — higher bit depth = better quality.

21
Q

What affects the file size of a sound file?

A

Sample rate, bit depth, and duration — more of any of these = larger file.

22
Q

What is data compression?

A

The process of reducing the size of a file so it takes up less storage and can be transmitted faster.

23
Q

What are the two types of compression?

A

• Lossy: Removes some data to reduce size — smaller files, lower quality.
• Lossless: No data is lost — original can be perfectly restored.

24
Q

Give examples of lossy and lossless file types.

A

• Lossy: MP3 (audio), JPEG (image), MP4 (video)
• Lossless: PNG (image), FLAC (audio), ZIP (compressed folders)