Data representation Flashcards

1
Q

Order the following in descending size;
Byte, Petabyte, Megabyte, Gigabyte, Nibble, Terabyte, Kilobyte, Bit

A

Bit (1 or 0)
Nibble (4)
Byte(8)
Kilobyte(1000B)
Megabyte(1000kB)
Gigabyte(1000MB)
Terabyte(1000GB)
Petabyte(1000TB)

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

Convert 73 to binary

A

1001001

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

Convert 110110 to denary

A

54

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

Convert 37 to hexadecimal

A

25

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

Convert 4F to denary

A

79

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

Convert 100111 to hexadecimal

A

27

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

convert 3C to binary

A

111100

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

2-place shift 1101100 to the right and explain the effect

A

11011, divided by 4

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

How many characters do ASCII and Unicode represent and what are their differences

A

ASCII - 2^7 (128), extended ASCII 2^8 (256)
Only some foreign language characters and symbols
Unicode - 2^16(65536)
Includes Chinese, Arabic, Japanese, Greek characters and more

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

How do you calculate colour depth

A

log ₂(N of colours)

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

State the effect on file size of changing a 4 x 4 pixel from 2 colours to 256

A

-Each pixel was previously 1 bit, now is 8 (byte)
-The file size would now increase to 16bytes

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

What is resolution

A

The density of pixels in the same sized area, measures in PPI. A higher PPI will mean smoother edges and improve overall quality

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

What is metadata and state 3 examples

A

Data about data, eg type of image, image dimensions or colour depty

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

How do computers convert real-world analogue signals, such as sound, to a digital representation

A

Sound is received by a microphone, then converted by a ADC (Analogue-to-Digital Converter), The ADC samples the amplitude at regular intervals which are then rounded and stored in binary.

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

How do you calculate the size (in bits) of an image file

A

Colour depth x image height x image width

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

What is sample rate and how does it affect sound file size and quality?

A

The number of samples taken a second, measured in Hz. Higher Hz means better quality but also increases file size.

17
Q

What is sample resolution and how does it affect sound file size and quality?

A

The number of bits used to store each sample, higher SR means higher quality but also larger file size

18
Q

What is a sample

A

A measure of amplitude at a point in time

19
Q

How do you calculate the size of a sound file

A

Sample rate x Sample size x Sample resolution

20
Q

Why are files compressed?

A

-Shorten transmittion time
-Reduce amount of storage needed
-Allow large files to be sent as attachments

21
Q

Sort the following into lossy and lossless forms of compression: gif, mp3, mpg, mp2, mov, jpg, wmv, png

A

Lossy - jpg, mp3, mpg, mp2, wmv
Lossless - png, gif,mov

22
Q

Explain the uses, advantages and disadvantages of lossy compression

A

•Music streaming, online videos and images
+Small file size = faster transmition and less storage required
-Detail permanently lost

23
Q

Explain the uses, advantages and disadvantages of lossless compression

A

•Text documents, electronic books
+Original quality is preserved, no data lost
-Less reduction in file size