1.3.1 Compression, Encryption and Hashing Flashcards

1
Q

lossy compression

A
  • permanently removes data
  • so not able to recreate original file
  • reduced quality
  • smaller file size
  • less buffering
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

lossless compression

A
  • rewrites original data in a more efficient format
  • able to recreate the original file
  • keeps original quality
  • more buffering
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

run length encoding

A
  • reliance on consecutive pieces of data/characters which are the same/repeated
  • if there is no repetition => less reduction in file size
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

dictionary encoding

A
  • frequently occurring pieces of data/groups of characters replaced w/ indexes
  • dictionary is used => see which indexes match with groups of characters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

encryption

A
  • keeps data secure when being transmitted
  • data is scrambles so that if it is intercepted, it can’t be understood
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

asymmetric encryption

A
  • 2 different keys: public key for encryption, private key for decryption
  • algorithms involve more processing than symmetric algorithms
  • often used when exchanging data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

symmetric encryption

A
  • the same private key for encryption/decryption
  • if the key is intercepted during the key exchange, then communications can be intercepted and decrypted
  • best suited when the same person is encrypting/decrypting eg. backing up data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

hashing

A

an input/key is turned into a fixed size value

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