lossy/lossless data compression Flashcards

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

what does compression do

A

•reduces the number of bits in a file
•makes the storage capacity of the file lower
•makes data transfer of the file quicker

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

why is compression good

A

more data can be stored on a storage device, and transferred in a smaller amount of time.

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

what happens in lossy compression?
(3 things)

A

•some of the data is lost and can’t be recovered
•greatly reduces file size
•reduces quality of image/sound

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

what is lossy compression suitable for?

A

images, sound and video

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

what can lossy compression not be used for

A

text and executable files

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

what happens in lossless compression

A

•no data is lost, it’s just encoded differently
•can be turned back into original formal

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

what is lossless compression used for

A

all types of data

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

which is more effective lossy or lossless

A

lossy

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

what is lossless compression most useful for

A

documents and executable files

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

what does the CPU consist of

A

ALU, CU, cache, clock, bus

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

what does the arithmetic logic unit do

A

performs calculations and logical decisions

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

what does the control unit do

A

sends signals to control how data moves around the CPU

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

what does the cache do

A

provides fast access to frequently used instructions and data

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

what does the clock do

A

the electronic unit that synchronises related components by generating pulses at a constant rate

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

what is a bus and what does it do

A

collection of wires through which data needs to be written to or read from

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

what does the adress bus do

A

unidirectional- carries the addresses which data needs to be written to or read from

17
Q

what does the data bus do

A

bidirectional- carries the actual data or instructions

18
Q

what does the control bus do

A

bidirectional- carries command and control signals telling components when they should be receiving reads or writes etc.

19
Q

what are registers

A

tiny, super fast pieces of onboard memory inside the CPU each with a very specific function

20
Q

what do program counters do

A

hold the address of the next instruction to be executed

21
Q

what does the MAR (memory address register) do

A

holds the address in memory which data or an instruction needs to be read from or written to.

22
Q

what does the MDR (memory data register) do

A

holds either data or instruction which has been fetched from memory or is about to be written back from memory

23
Q

what is the accumulator

A

a set of general purposes registers

24
Q

what happens in the fetch of the FDE

A

-fetches the next instructions from main memory (RAM)
-brings instruction back into the CPU

25
Q

what happens in the decode of FDE

A

-inspects the instruction and works out what it is that needs doing

26
Q

what happens in the execute of FDE

A

-carries out the instruction
-could be: going back to main memory to grab more data, performing a calculation, storing information back into main memory