units of data storage Flashcards

(20 cards)

1
Q

What is the order of data storage units from smallest to largest?

A

1 bit
1 nibble = 4 bits
1 byte = 8 bits
1 kilobyte = 1000 bytes
1 megabyte = 1000 kilobytes
1 gigabyte = 1000 megabytes
1 terabyte = 1000 gigabytes
1 petabyte = 1000 terabytes

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

Why must data be converted into binary by a computer for processing?

A

When any key on a keyboard is pressed, it must be converted into a binary number so it can be processed by the computer and the typed character can appear on the screen.

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

How do you convert decimal to binary?

A

Use place values (128, 64, 32, 16, 8, 4, 2, 1). Example: 24 = 16 + 8 → 00011000.

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

What happens in an overflow error during binary addition?

A

If the result takes more bits than allocated (e.g., 9 bits in an 8-bit system), an overflow occurs. Can lead to loss of data & accuracy

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

How do binary shifts work?

A

Multiply by 2: Shift left (add a 0).
Divide by 2: Shift right (remove last digit).

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

Convert hexadecimal 2B to decimal.

A

(2 × 16) + (11 × 1) = 43.

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

Convert decimal 60 to hexadecimal.

A

60 ÷ 16 = 3 r 12 → C
3 ÷ 16 = 0 r 3 → 3
Result: 3C.

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

Convert binary 10011100 to hexadecimal.

A

Split into nibbles: 1001 (9) + 1100 (C) → 9C.

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

Convert hexadecimal A7 to binary.

A

A = 1010, 7 = 0111 → 10100111.

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

What is a character set?

A

A collection of all the different characters used to represent text in a computer system.

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

What is ASCII?

A

Uses 8-bit codes (256 characters) but cannot represent multiple languages (e.g., Greek).

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

What is Unicode?

A

A character set using up to 32 bits (billions of codes), supporting multiple languages via code pages.

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

What are digital images made of

A

Pixels

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

Define color depth and resolution. What does increasing these factors do?

A

Color depth: Bits per pixel (e.g., 8 bits = 256 colors).
Resolution: Pixels per unit (e.g., ppi).

Increasing these factors increases the quality of the image but also the file size

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

Calculate image file size.

A

Height (pixels) × Width (pixels) × Color depth (bits).

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

What is metadata? Give 3 examples

A

Data about data
E.g: date created, file size, author, resolution, width/height

17
Q

Define sample rate and resolution. What does increasing these factors do

A

Sample rate: Samples per second (kHz).
Resolution: Bits per sample.

Increasing these factors increases the playback quality but also the file size

18
Q

Calculate sound file size.

A

Sample rate × Sample resolution × Duration (seconds).

19
Q

What is lossless compression?

A

Reduces file size without losing data (e.g., for word docs).

20
Q

What is lossy compression?

A

Reduces size by removing unrecoverable data (e.g., for images/audio).