Fundamentals of Data Representation Flashcards

1
Q

What are the 3 number bases?

A

Denary (base 10)
Binary (base 2)
Hexadecimal (base 16)

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

Why is hexadecimal often used?

A

Large numbers can be represented using fewer digits, therefore it is easier to understand

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

What are the rules for binary addition?

A

0 + 0 = 0
1 + 0 = 1
0 + 1 = 1
1 + 1 = 0 c 1
1 + 1 + 1 = 1 c 1

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

What are the rules of binary shift?

A

Shift left - multiplication
Shift right - division

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

Why does hex not save memory?

A

It must be converted to binary before the computer can understand it

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

What would a hex table look like?

A

16^1 16^0

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

How many bits does ASCII use?

A

7 bits

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

How many bits does extended ASCII use?

A

8 bits

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

How many possible ASCII characters are there?

A

128 = 2^7
Maximum bring 127 (0 inclusive)

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

How many bits does Unicode use?

A

16 bits
= 2^16 possible combinations

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

What are the limitations of ASCII?

A

No foreign languages
No special characters/ symbols (emojis)

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

Why must all data be converted to binary for a computer to be able to process it?

A

Computers work in binary

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

What is a digital bitmapped image?

A

An image made of pixels, where each pixel represents a binary number

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

What is the colour depth of an image?

A

The amount of bits available for colours in an image

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

How does colour depth affect file size?

A

The bigger the colour depth, the more bits are needed to represent a pixel, therefore the greater the file size

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

What is resolution?

A

The number of pixels in a specific area of an image
Measure in dpi (dots per inch) or ppi (pixels per inch)

17
Q

What is metadata?

A

Extra data about data, including the file size
and resolution, colour depth, height and width

18
Q

What is the amplitude of a sound wave?

A

Its height

19
Q

What is the sample rate of a sound wave?

A

The number of samples recorded per second
Hz

20
Q

What is bit depth in relation to sound (sample resolution)?

A

The number of bits used to record each sample
As sample resolution increases, quality and file size both increase

21
Q

How do you find the file size of a bitmap image?

A

Width * height * colour depth

22
Q

How do you calculate the file size of a sound file?

A

Rate * resolution * seconds

23
Q

What is the purpose of data compression?

A

Reduce file size
Increase the speed of file transfer

24
Q

How do you calculate bit rate?

A

Sample rate * resolution

25
Q

What is lossy compression?

A

Upon compression, some of the file is permanently lost
- fine for images and sound e.g. JPEG, AAC, MP3

26
Q

What is lossless compression?

A

The file can be converted back to its original file size - no data is lost e.g. PNG, TIFF, FLAC