Compression, Encryption and Hashing(Not done) Flashcards

1
Q

Why do we need compression?

A

Data transmitted across the internet needs to be compressed where possible

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

Why do you need to compress(reduce) files?

A

Reduce download times
Make the best use of bandwidth
Reduce file storage requirements

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

What is lossy compression?

A

Some data is stripped out to reduce file size.The data removed is chosen to have the least importance.
Lossy is typically used in image and video files and music files,where it is less likely to be noticed by human observation
Files compressed by lossy methods cannot be reinstated to their original detail
Examples:JPEG,MPEG,MP3

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

What is Lossless compression?

A

Some files must not be degraded,for example a compute rprorgam will not work correctly if data is removed from it
Lossless reatins all data by encoding it
The orginal file can be regernated

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

What is dictionary encoding?

A

The compression algorithm builds index where each data item is recorded along with an index refernce,the compressed file then consists f teh dictionary plus the sequence of occurences

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

What is run-length encoding?

A

This makes use of redundant data so that if a data item occurs multiple times, the item in an index along with the number of repetitions.For example, part of an image with many adjacent blue pixels could be stored in an index by storing the start location and the number of repetitions

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

What is symmetric encryption?

A

Uses the same key to encrypt and decrypt data.

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

What is asymmetric encryption?

A

Uses two separate but related keys, one key is made public so that others wishing to send you data can use this to encrypt the data.(This key cannot decrypt data)The Other is know only by you and only this can be used to decrypt the key

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