Memory And Storage (part 2) Flashcards

1
Q

How many bits are in a byte?

A

8

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

How many bytes are in a kilobyte?

A

1000

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

How would you calculate the file size of a text file?

A

Number of bits per character x number of characters

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

How would you calculate the file size of an audio file?

A

Sample rate x duration (s) x bit depth

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

How would you calculate the file size of an image?

A

Colour depth x image width (px) x image height (px)

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

What do binary shifts do?

A

Divide or multiply the number

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

What are the problems with binary shifts?

A
  • Can create an overflow
  • Number is rounded and therefore loses precision
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is metadata?

A

Additional information stored about an image eg. height, width

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

What is a character set?

A

A defined list of characters recognised by the computer

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

Give 2 examples of character sets

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

What is ASCII?

A

Early 7 bit character set which was later extended to 8 bits

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

What is UNICODE?

A

The modern most commonly used character set that uses 24 bits

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

How many characters can be used in a 7 bit character set?

A

27 = 128

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

How are images represented on a computer?

A

As a series of pixels which is represented in binary, each pixel has a specific colour and each colour has a specific code

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

What effect does increasing the colour depth have on an image?

A
  • Increased file size
  • Increased quality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What effect does increasing the resolution have on the image?

A
  • Increased file size
  • Increased image quality
17
Q

What is colour depth?

A

The number of bits for each pixel

18
Q

What factors affect the quality of digitally converted sound?

A
  • Sample rate
  • Bit depth
19
Q

What is sample rate?

A

How often you record the amplitude of the sound wave

20
Q

How is sound converted into a file?

A

The sound is sampled by measuring the height of the wave at set intervals and then converted into binary

21
Q

What is sample rate measured in?

A

Hertz (Hz)

22
Q

What effect does increasing the sample rate have on the file?

A
  • Higher quality sound
  • Larger file size
23
Q

What is the bit depth?

A

The number of bits used for each sample

24
Q

What does compression do?

A

Reduce the size of a file so it takes up less space on a storage device

25
Why would you need compression?
- To free up storage, allowing more data to be stored - Quicker download and transfer speeds (allowing streaming)
26
What are the 2 different compression types?
- Lossy - Lossless
27
What is lossy compression?
Compression of files when the colour depth and/or resolution is reduced
28
What are the advantages of lossy compression?
- Significantly reduces file size - Hard to notice change in image quality
29
Name a disadvantage of lossy compression?
Lower image quality as there is less detail
30
What is lossless compression?
Compression when the way the image is encoded is changed but the image itself stays the same
31
What are the advantages of lossless compression?
- No detail is lost - Reduces file size without losing any data
32
Name a disadvantage of lossless compression?
- Only works with images that have a lot of repeating colour eg. cartoons - Doesn’t reduce file size as much as lossy compression