1.3.1 Compression, encryption and hashing - Josh O Flashcards

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

What is Hashing?

A

One-way transformation of data, which is used to store things like passwords in databases

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

What is Compression?

A

A process used to reduce the size of a file

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

Why is Encryption needed?

A

It is used to keep data secure when its being stored or transmitted

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

What is Lossy Compression?

A

Reduces the size of the file, but also removes some information

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

What is Lossless Compression?

A

Reduces the size of a file, without losing any information

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

What is Asymmetric Encryption?

A

Encryption with a public encryption key, but private decryption key that only the recipient has

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

What is Symmetric Encryption?

A

An encryption technique where the same key is used to encrypt and decrypt data

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

What is Run-Length Encoding?

A

A type of lossless compression, where repeated data is stored as single values, with their counts

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

What could happen with Lossy Compression?

A

Images become pixelated, or audio recordings become less clear

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

Why is Compression important?

A

It is important for sharing files over the Internet because the larger a file is the longer it takes to transfer

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

What type of Compression is Dictionary Encoding?

A

Dictionary Encoding is a method of Lossless Compression

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

What is the difference between lossy and lossless compression?

A

Lossy compression reduces file size by removing some data, while lossless compression reduces file size without losing any data

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

Give an example of a lossless compression algorithm.

A

An example of a lossless compression algorithm is Run-Length Encoding

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

What is Huffman Coding?

A

Huffman coding is a lossless compression method that uses variable length codes based on frequency of occurrence of each symbol

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

How does lossy compression affect multimedia files?

A

Lossy compression reduces file size by removing data, often reducing quality

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

What is a common use of hashing?

A

Hashing is commonly used in data structures, and passwords storage

15
Q

What is a collision in the context of hashing?

A

A collision occurs when two different inputs produce the same hash output

16
Q

Why is lossy compression unsuitable for text files?

A

Lossy compression removes data, which could result in missing or unreadable text files

17
Q

Describe one way that encryption helps secure data during transmission.

A

Encryption scrambles the data so that it is unreadable to unauthorised users, ensuring privacy and confidentiality during transmission

18
Q

Explain the concept of ‘key size’ in encryption

A

The key size determines the security level of an encryption algorithm