1.3.1 Exchanging Data Flashcards

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

What is Lossless compression

A

An algorithm that reduces storage space needed without any loss of information

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

What is Lossy Compression

A

An algorithm that reduces storage space needed, but data is lost in the progress

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

What is Run Length Encoding? (2 points)

A

Lossless compression that reduces files size by identifying repeating series of characters.
Reduces file size where there are repeated values in a row

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

When is run length encoding not suitable to use?

A

When there is low repetition as it won’t be able to reduce file size.

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

What is Dictionary coding?

A

Reduces file size by identifying repeated patterns and replacing them with a reference to the dictionary

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

What is the process of dictionary coding?

A

Look at any sequence of words
Outputs:
-Dictionary of keys and compressed words
-Compressed version of text with references to the dictionary

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

What is Symmetric key encryption?

A

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
8
Q

What is Asymmetric key encryption?

A

One key encrypts data, while a different key
decrypts it.

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

When should you use Symmetric key encryption?

A

Best when only one (or few) users involved.
* e.g. backing up data.
* e.g. private storage of encrypted files.

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

Why should you use Asymmetric key encryption?

A

More secure
* Allows encryption of web traffic.
* e.g. HTTPS, password checks, card payments.

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

What is hashing and what is it used for?

A

A result gained by applying an algorithm to a
value.
* Used for generating predictable indexes for
data.
* Used as a type of one way encryption.

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

What is rehashing?

A

The process of resolving data collisions by
selecting where to put clashing data.

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

State the 3 types of rehashing and how they work

A
  • Linear: move to the next available space.
  • Chaining: use a linked list.
  • Overflow: designate an area for rehashes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Salt?

A

Data added to a hash to ensure every output is unique

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