Data Representation Flashcards

1
Q

Explain why computers use binary.

A

Computers operate using logic gates, which have only 2 states, true and false

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

What is a computer made up of?

A

Billions of switches, which have an off (0) and on (1) position - this is called binary

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

How would you work out the number of possible combinations per switch?

A

You would do 2 to the power of n - with n being the number of switches

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

What are the units of data storage?

A
Bit - 0 or 1
Nibble - 4 bits
Byte - 8 bits
Kilobyte - 1000 bytes
Megabyte - 1000 kB
Gigabyte - 1000 MB
Terabyte - 1000 GB
Petabyte - 1000 TB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the rules in binary addition?

A

0 + 0 = 0
0 + 1 = 1
1 + 1 = 0 carry a 1
1 + 1 + 1 = 1 carry a 1

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

What is an overflow error?

A

When the result of adding two binary numbers is greater than the number of bits allowed

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

What is a binary shift?

A

A binary shift moves all of the bits in a given binary number either to the left or the right by a given number of places

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

What would a shift to the left do to a binary number?

A

multiply the number by 2 - you do 2 to the power of n (with n being the number of shifts)

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

What would a shift to the right do to a binary number?

A

It would divide the number by 2 - you would do 2 to the power of n (n being the number of shifts)

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

What is a character set?

A

A character set consists of all the letters, numbers and special characters that can be recognised by a computer system

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

How many characters does the ASCII character set include?

A

7 bits - 128 characters

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

How many characters does the Extended ASCII set include?

A

8 bits - 256 characters

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

How many characters does Unicode include?

A

16 bits - 65,536 characters

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

Explain one limitation of the ASCII character set.

A

➜ASCII uses only 7 bits so it can only represent 128 characters
➜which is not enough to represent other languages (e.g. Russian and Arabic)

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

What is a bitmap image?

A

A bitmap image is a digital image made up of pixels

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

What are pixels?

A

Pixels represent the smallest identifiable area of an image, each appearing as a square with a single colour

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

What is the colour/bit depth of an image?

A

its the number of bits per pixel

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

How do you figure out the bit/colour depth?

A
for example:
4 colours 
4 = 2 to the power of 2
so the colour depth = 2 bit per pixel
(the power is the bit depth)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are the effects of increasing colour/bit depth of an image?

A

➜More colours can be represented so quality of the image increases.
➜However, this increases the file size

20
Q

What is the resolution?

A

It is the density of pixels in the same area

21
Q

What are the effects of more pixels per inch?

A

➜It will improve the overall quality
➜Which will increase file size
➜Which makes it possible to enlarge the image without visible loss of quality

22
Q

What is metadata?

A

Metadata is the data stored in a file alongside the actual file data identifies

23
Q

What are some examples of metadata?

A

➜Date created
➜File type
➜GPS location

24
Q

What must analogue sounds be digitally recorded in?

25
What is the amplitude?
the height of the wave
26
What is the frequency or sample rate of a wave?
How often the height is recorded
27
What is the sample resolution/ bit depth of a wave?
The accuracy to which the height is recorded - which impacts quality
28
What affects the file size for sound?
➜sample resolution | ➜duration
29
What is sample rate measured in?
Hertz
30
What is the purpose of compression software?
Compression software uses algorithms to remove repeated or unnecessary data
31
What are the advantages of compression software?
➜Reduces file size ➜Reduces download time - as it is a smaller file ➜Uses less download data for users on a limited tariff (online downloads) ➜Reduces space on disk/server
32
Is a bitmap image compressed or uncompressed?
uncompressed
33
What is the ending for a bitmap image?
.bmp
34
What are some formats of lossy compression?
➜JPG ➜MP3 ➜MPG
35
What are the advantages of lossy compression?
➜Smallest file sizes ➜Least transmission time (smaller file leads to fewer packets) ➜Reduces Internet traffic and collisions
36
What are the disadvantages of lossy compression?
➜Detail is permanently lost
37
What are the uses of lossy compression?
➜Music streaming ➜Online images and videos ➜Image libraries on devices or in the cloud
38
What are some formats of lossless compression?
➜PDF ➜GIF ➜PNG ➜ZIP
39
What are advantages of lossless compression?
➜Original quality is preserved - no information or data is lost
40
What are the disadvantages of lossless compression?
➜Less significant reduction in file size
41
What are some uses of lossless compression?
➜Text documents ➜Electronic books ➜High resolution print documents
42
What is decompression?
the process where compressed data is restored to its original format
43
What is the formula for calculating the size of an uncompressed music file?
Sample rate x bit depth x duration
44
What are lossy compression artefacts?
Noise at edges and blocks are digital artefacts from lossy compression
45
Are digital signals discrete or continuous?
discrete