1.3.1 - Compression, Encryption and Hashing Flashcards

1
Q

Where is compression important?

A

The sharing and transmission of data. Images on websites need to be compressed so they load quickly.

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

How does lossy compression work?

A

By removing non-essential information.

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

What is a disadvantage of lossy compression?

A

Quality decreases.

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

How does lossy compression work on audio?

A

The highest and lowest frequencies that most people can’t hear are removed.

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

How does lossless compression work?

A

By recording patterns in the data then removing them. It then provides a set of instructions with how the file should be reassembled.

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

Which compression method results in a bigger file?

A

Lossless.

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

What is RLE and what does it do?

A

A form of lossless compression. In an image RLE records a value (pixel) and the number of time it repeats rather than every pixel.

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

How does dictionary based compression work?

A

Sends an index of a word stored in a dictionary instead of sending the words which results in less data sent but the whole text can be rearranged.

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

What is encryption and why is it used?

A

The transformation of data from one form to another to prevent unauthorised people from being able to understand it.

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

What is the original data before encryption called?

A

Plaintext.

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

What is the encrypted data called?

A

Cipher-text.

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

What is a cipher?

A

An encryption method.

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

How does the Caesar cipher work?

A

By shifting indexes of letters in the alphabet.

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