data representation Flashcards

(23 cards)

1
Q

Units of Data Storage

A

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

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

why Data must be stored in binary

A

because computers use switches that can be either on or off to process data.

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

what does
0 + 0,
1 + 0,
1 + 1,
1 + 1 + 1 equal to

A

0, 1, 10, 11

1 + 0 = 1
1 + 1 = 0 (carry the 1 across)
1 + 1 + 1 = 1 (carry the extra 1 across)

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

which direction does the binary shift to multiply / divide

if a number shifts 3 places right or 4 places left what happens to the number

A

left and right

halves 3 times ( ÷ by 2 to power of 3 = 8)
doubles 4 times ( x by 2 to power of 4 = 16)

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

if a number shifts 3 places right or 4 places left what happens to the number

A

halves 3 times ( divided by 2 to power of 3 = 8)
doubles 4 times ( multiplied by 2 to power of 4 = 16)

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

what denary number A mean in hexadecimal

A

10

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

Data Capacity: sound

A

Sound: File size = Sample rate (Hz) x Duration (s) x Bit depth (bits)

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

data capacity: image

A

Image: File size = Colour depth x Image height (px) x Image width (px)

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

data capacity: text

A

Text: File size = Number of characters x Bits per character

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

how does overflows happen

A

when you get a result that requires more bits than expected

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

Character Set meaning

A

stores all the characters that the computer can represent using unique binary codes for each.

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

ascii meaning

A

ASCII – uses 8 bits for each character and represents 256 characters.

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

unicode meaning

A

Unicode – uses 16 bits for each character and covers every possible character and all major languages.

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

images meaning

A

 Represented as a series of pixels, represented in binary.
 Each colour is represented by a binary code.
 If a pixel has 3 bits, it can make 23 colours per pixel.

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

Colour Depth meaning

A

 Number of bits used for each pixel.
 More bits mean that more colours can be represented.
 Improves image quality and increases file size.

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

Resolution meaning

A

 Number of pixels in the image.
 The higher the resolution, the more pixels the image is made of.
 Improves image quality and increases file size.

17
Q

analogue sound and sound wave meaning

A

 Analogue sound waves need to be converted into digital form (ADConverter)
 Sound wave is sampled meaning that the amplitude is measured at set intervals.

18
Q

what is each sample stored as and what is the sample rate and what does greater sound rate mean

A

 Each sample is stored sequentially as a binary number.
Sample Rate:
 Number of samples taken per second (Hz).
 Greater sample rate improves sound quality and increases file size.

19
Q

bit depth meaning and greater bit depth improvement

A

Bit depth:
 Number of bits available to store each sample e.g. 16 bits.
 Greater bit depth improves sound quality and increases file size.

20
Q

duration meaning

A

Duration – length of time the sound file lasts.

21
Q

what is compression needed for

A

Compression is needed to speed up streaming, downloading files, loading web pages, and meeting size restrictions (e.g. email).

22
Q

lossy compression

A

Lossy Compression:
 Reduces the file size more so it uses less bandwidth to transmit and is faster to upload.
 Removes any unnecessary detail e.g. reducing image quality.
 Suitable for images and videos.
 Data will be permanently lost.

23
Q

lossless compression

A

Lossless Compression:
 No data is lost/removed (only temporarily compressed meaning files can be decompressed).
 Suitable for text files as they require all data to be kept in order to remain accurate