1.2.4 & 1.2.5 - Data Storage and Compression Flashcards

1
Q

A character set is…

A

All the characters a computer can represent with a unique binary code representing each character

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

The size of an ASCII character is…

A

8 bits

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

The size of a Unicode character is…

A

2-4 bytes

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

Unicode character sets represent…

A

All the different characters/languages of the world

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

ASCII character sets represent…

A

A few European languages’ characters

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

An image is made up of…

A

Pixels

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

Image metadata includes…

A
  • Image height
  • Image width
  • Geoloaction of the image’
  • Date that the image was taken
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

An image colour depth is…

A

The number of bits needed to store the colour of each pixel

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

An image resolution is..

A

The number of pixels per inch. controls the fineness of detail of the image

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

The file size of an image is reliant on…

A

Colour depth and resolution

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

A computer sound file is created by measuring…

A

The height of a sound wave

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

The sample rate is…

A

Taking measurements of the amplitude of the sound wave at regular intervals. The higher the sample rate, the higher the quality and file size

measured in Hz

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

A computer sound file bit depth is…

A

The number of bits used to store each sample (each wave). The higher the bit depth, the closer the playback sound will be in quality to the original sound

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

Compression is when…

A

A file reduces its size

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

Lossy compression is when…

A

Data is removed from a file which reduces the file size more than lossless by removing less important data
This reduces the image quality but ofen it is unnoticeable

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

Lossless compression is when…

A

Data is more efficiently stored
Used in text files as lossy can’t be used as none of the data can be removed otherwise it would mkae the file unreadable

17
Q

Name an image sound and movie example for lossy

A

JPEG mp3 and MPEG

18
Q

Name a text image sound and movie example for lossless

A

PDF gif flac and mp4

19
Q

How to calculate image file size

A

file size = bit depth x number of pixels

To find number of pixels, you do height x width

20
Q

How to calculate the size of a sound file

A

file size = bit depth x sample rate x duration of sound

21
Q

BEnefits of compression

A
  • Takes up less space on servers
  • Faster upload time to server
  • FAster download for users
22
Q

What is an overflow error

A
  • When a computer attempts to store something larger than 8 bits in a single byte
  • This is often done when two 8 bit numbers are added together
23
Q

Differences between lossy and lossless compression

A
  • The quality often decreases when using lossy compression but the quality is the sames as the original in lossless
  • Lossless files can be decompressed to get the original but lossy files can’t be used to retrive the original
  • Lossy compression greately reduces the file size more than lossless compression
24
Q

What happens to an image when you increase the resolution

A
  • Image quality will improve as the image has more pixles so can show finer detail images
  • Image file size will increase because there are more pixels to store
25
Q

Different ways of storing images and their properties

A
  • Bitmap - image made up of different coloured squares with each square having a binary value
  • Vector - the mathematics to draw the image is stored eg. the width and colour
26
Q

How is a sound recording taken

A
  1. Analogue sound recieved by a microphone
  2. This is converted into a digital form using an ADC
  3. Sound is sampled at regular time intervals (sample rate)
  4. The amplitude of the wave is stored as binary