Unit 2: Data Representation Flashcards

1
Q

Which numbers are stored in one bit?

A

0 and 1

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

How many bits are there in a nibble and a byte?

A

Nibble = 4 bits
Byte = 8 bits

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

What are the units after a kilobyte?

A

Megabyte, Gigabyte, Terabyte, Petabyte

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

What is zero as an 8 bit Binary number

A

0000 0000

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

What is 255 in Binary?

A

1111 1111

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

What is 39 as an 8 bit Binary number?

A

0010 0111

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

Convert C in hexadecimal to denary

A

12

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

What’s 2B hexadecimal in Binary?

A

2B = 162 + 1B = 32 + 11 = 43
0010 1011

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

What’s 1010 0011 in hexadecimal?

A

A3

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

Calculate
1001 0101
+ 0010 0110

A

1001 0101
+ 0010 0110
________________
1011 1011

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

Explain what effect a left and right shift have

A

Left shift doubles the number
The right shift halves the number

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

Calculate the left shift of 0110 1011

A

1101 0110

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

How many bits are in the extended ASCII?

A

8 bits

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

How many characters does ASCII allow for?

A

256

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

How many bytes are in Unicode?

A

16-bit has 2 bytes
32-bits has 4 bytes

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

If ‘f’ has the ASCII code 102, what is the ASCII code for ‘g’?

A

103

17
Q

How many bytes are needed to store “Hello everyone.”?

A

15 (remember to include space and the full stop)

18
Q

A bitmap graphic is made up of…

A

Individual pixels

19
Q

Each … is represented in Binary

A

Pixel

20
Q

The … determines the number of available colours for an image

A

Number of bits per pixel

21
Q

Image … holds data about the image, such as …

A

Metadata
Colour depth, resolution, date created, author

22
Q

The greater the … of the image, the greater the file size

A

Resolution

23
Q

The sample rate is measured in what unit?

A

Hertz (Hz)

24
Q

The number of bits available to store each sample is known as what?

A

Bit depth

25
Q

What is the formula for calculating the size of an uncompressed music file?

A

Sample rate x bit depth x duration

26
Q

Track1.wav uses a sample rate of 20 kHz, Track2.wav uses a sample rate of 10 kHz. Which file is the higher quality? Which is the larger file size?

A

Track1 is higher quality and a larger file size

27
Q

Explain the need for compression

A

Compression reduces the size of files, which makes them smaller to store and transmit – this enables services such as streaming music and video

28
Q

Explain Lossy compression

A

The compression technique will lose some of the original information

29
Q

Explain some of the effects of 
 lossy compression on 
 images and sound files

A

Noise at edges and blocks are digital artefacts from 
 lossy compression

30
Q

Explain Lossless compression

A

No data is lost by using a lossless compression algorithm