1.3 Data storage and compression Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

bit

A

Short for binary digit.
It is the smallest unit of data that is represented in a computer.
It has a single binary value 1 or 0

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

nibble

A

equals to 4 bits (half a byte)

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

byte

A

equivalent to 8 bits

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

1 kibibyte (KiB)

A

(2^10) equivalent to 1024 bytes

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

mebibyte (MiB)

A

2^20 equivalent to 1024 x 1024 (1024^2) bytes

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

gibibyte (GiB)

A

2^30 equivalent to 1024 x 1024 x 1024 (1024^3) bytes

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

1 tebibyte TiB

A

2^40 equivalent to 1024 x 1024 x 1024 x 1024 bytes

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

1 pebibyte PiB

A

equal to 2^50 bytes

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

exbibyte (EiB)

A

EiB is equal to 2^60 bytes

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

acronym for memory size

KMGTPE

A

King Mark Gave Ten Powerful Elephants”

King = KiB = 2^10 bytes
Mark = MiB = 2^20 bytes
Gave = GiB = 2^30 bytes
Ten = TiB = 2^40 bytes
Powerful = PiB = 2^50 bytes
Elephants = EiB = 2^60 bytes

as u go down divide

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

The file size of an image is calculated as

A

image resolution (in pixels) × colour depth (in bits)

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

The size of a mono sound file is calculated as

A

sample rate (in Hz) × sample resolution (in bits) × length of sample (in seconds)

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

For a stereo sound file

A

you would then multiply the result by two.

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

Benefits of reducing the size of a file

A
  • reduces storage space required
  • reduce transmission time
  • quicker to upload/download the file
  • less bandwidth required for transmission
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

There are 2 types of compression:

A

lossy and lossless file compression

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

Lossy Compression:

A

-Lossy compression reduces the file size by permanently removing some data from the file e.g reducing resolution or colour depth, reducing sample rate or resolution

mp3- sound, mp4- video, jpeg- image

17
Q

Lossless

A

A compression algorithm is used to reduces the file size without permanently removing any data

18
Q

Run length encoding (RLE)

A

replaces sequences of repeated characters with a code that represents the character and the number of times it is repeated

19
Q

How image files are compressed (lossy)

A
  • a compression algorithm is used
  • colour depth may be reduced (colours that the human eye cannot see are removed)
  • image resolution may be reduced
20
Q

How sound files are compressed (lossy)

A
  • a compression algorithm is used
  • sounds that cannot be heard by the human ear are removed
  • sample rate may be reduced
  • sample resolution may be reduced
21
Q

How text files are compressed (lossless)

A
  • a compression algorithm called run length encoding (RLE) is used
  • no data is removed
  • repeating characters patterns are identified and indexed
22
Q

differences

A

lossless file size will be larger so it may take longer to upload