Topic 3: Units and Data Representation Flashcards

1
Q

Why must data be stored in binary form

A

Data must be stored in binary from because in a computer the processor can only recognize 1s and 0s

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

How do you calculate file sizes of sound

A

sound file size= sample rate x duration x bit depth

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

How do you calculate the file size of an image

A

image file size = colour depth x image height x image width

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

How do you calculate the file size of a text file

A

text file size = bits per character x number of characters

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

Where do you find the “most significant bit”

A

The most significant bit is found on the furthest left as it holds the most value

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

Where do you find the “least significant bit”

A

The least significant bit is found on the furthest right as it holds the least value

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

What happens when you complete a binary shift to the left once

A

The number doubles

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

What happens when you complete a binary shift to the left twice

A

The number doubles twice- quadruples

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

What happens when you complete a binary shift to the right once

A

The number halves

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

What happens when you complete a binary shift to the right twice

A

The number divides by two twice causing it to divide by four

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

Carry out a binary shift to the left on 01110101

A

11101010

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

Carry out a binary shift to the right on 01110101

A

00111010

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

What is a limitation of ASCII

A

It only has 7-bit so can only represent 128 characters so can only represent one language

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

What is a limitation of Extended ASCII

A

This is an additional bit meaning it can represent 256 characters meaning they ca include special characters in different languages however doesn’t account for all global languages

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

Why is unicode better than ASCII and Extended ASCII

A

Unicode represents over 65000 characters as it has 16-bit. As a result it will account for all global language and symbols

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

If A in ASCII is represented by the code 46 then what is E

A

50

17
Q

What are digital images made up of

A

Digital images are made up of pixels. Each pixel is represented by a binary number.

18
Q

What is color depth

A

To add color, more bits are required for each
pixel. The number of bits determines the range of colors.

19
Q

How do you calculate image size

A

image height x image width

20
Q

How do you calculate image file size (answer in kilobytes)

A

(image height x image width x color depth) / 8000

21
Q

What is the resolution of an image

A

The resolution of an image refers to how tightly packed the pixels are. If an image has a high resolution it tends to a higher file size

22
Q

What is metadata

A

Information about the file itself

23
Q

What is the sample rate

A

The number of samples recorded in any given time- measured in hertz

24
Q

What is the duration of a sound file

A

How long the file lasts

25
Q

What is bit depth

A

Bit depth refers to the number of bits used to record each sample.

26
Q

How do you calculate the bit rate

A

sample rate x bit depth

27
Q

What happens in lossy compression

A

With lossy compression, some data is removed and discarded, thereby reducing the overall amount of data and the size of the file.

28
Q

What happens in lossless compression

A

With lossless compression, files are reduced in size without the loss of data. However, lossless compression does not usually achieve the same file size reduction as lossy compression.

29
Q

Which type of files would be suitable for lossless compression

A

Text files, spreadsheets, financial records and emails

30
Q

How do you convert from bits to bytes

A

8 Bit = 1 bytes

31
Q

How do you convert from bytes to kilobytes

A

1024 Bytes = 1 Kilobyte

32
Q

How do you convert from kilobytes to megabtes

A

1024 Kilobytes = 1 Megabyte

33
Q

How do you convert from megabytes to gigabytes

A

1024 Megabytes = 1 Gigabyte

34
Q

How do you convert from gigabytes to terabytes

A

1024 Gigabytes = 1 Terabyte

35
Q

How do you convert from terabytes to petabytes

A

1024 Terabytes = 1 Petabyte