Data Representation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

How do you calculate the File Size of a Sound?

A

Time - Seconds (convert if needed)
Rate - Hertz (Hz)
Resolution - Bits

Sample Rate (Hz) x Sample Resolution (bits) x Length (secs) = File Size

Convert to other Storage Units if needed.

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

How do you convert between storage units?

A

Bits -> ÷ 8 -> Bytes -> ÷ 1000 -> Kilobytes -> ÷ 1000 -> Megabytes -> ÷ 1000 -> Gigabytes -> ÷ 1000 -> Terabytes

TB -> x1000 -> GB -> x1000 -> MB -> x1000 -> KB -> x1000 -> B -> x8 -> b

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

What is half of a byte (8 bits)?

A

Nibble (4 bits)

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

How many bits are in one megabyte?

A

1MB -> x1000 -> 1000KB -> x1000 -> 1,000,000B -> x8 -> 8,000,000b

8,000,000 bits

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

What is meant by “left shift”?

A

You multiply - e.g., left shift of 3

00000010 (2) -> 00010000 (16)

2 x 2^3 or 2 x 8

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

What is meant by “right shift”?

A

You divide - e.g., right shift of 3

00010000 (16) -> 00000010 (2)

16 ÷ 2^3 or 16 ÷ 8

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

What do you do for 2+ binary addition?

A
0 + 1 = 1
1 + 0 = 1
0 + 0 = 0
1 + 1 = 0, carry 1 over
1 + 1 + 1 = 1, carry 1 over
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

List the values used in Hexadecimal (base16).

A

0 - 9
A - F (10 - 15)

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

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

How do you convert from Binary -> Hexadecimal or Hexadecimal -> Binary?

A

Put in values, change any letters to what they represent

Two nibbles (8 4 2 1 8 4 2 1)

Convert values to binary (15/F is a full nibble)

For Binary -> Hex, convert binary back to normal numbers (2 nibbles, not 1 full byte) then change any numbers above 9 to what they are represented as.

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

How do you convert from Decimal -> Hexadecimal?

A

Divide by 16 or see how many times 16 goes into it
Then take your answer away from the original number (remainder)
Then convert any numbers above 9 to hex values (letters)

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