Exchanging Data (Do not use) Flashcards

1
Q

What is RLE and how does it work?

A

Run Length Encoding. Records a colour value and how many times it repeats.

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

How does dictionary based compression work?

A

Each unique word is recorded in a dictionary and assigned a number value. The file is then compressed by using that dictionary to replace the text with the relevant numbers. When the compressed file is sent the dictionary is sent with it.

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

What is the Vernam cipher and how does it work?

A

The only cipher proven to be unbreakable. The encryption key must be longer than the plaintext, be truly random and can only be used once. The key can only be exchanged in person and must be destroyed after it is used.

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

How does symmetric encryption work?

A

The same key is used to decrypt and encrypt the data. This means the key has to be sent to the same place as the data, which makes it easy to intercept.

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

How does Asymmetric encryption work?

A

Everybody has two keys, a public key and a private key. A key can be used to encrypt the data, but the same key can’t decrypt it. When data is being sent the sender encrypts the data with the receipient’s public key, so that they can then decrypt it with their private key.

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

What is hashing?

A

Turns a string into an unreadable format so that you can not get the orginal string back. Used for storing passwords.

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

How does a digital signiture work?

A

By encrypting a message with your private key, the person you are sending it to knows that it must have come from you as the message can only by decrypted with your public key.

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

What is a digital certificate?

A

Issued by official certificate authorities and verifies the trustworthiness of a message sender of a website.

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

What is a flat file database?

A

A database that is made up of a single table.

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

What is a primary key?

A

A unique identifier for each record in a database

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

What is a secondary key?

A

A field that is indexed in order to make the database faster to search.

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

What is a foreign Key?

A

A primary key in another table that is used to link two tables together

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

What is a relational database?

A

Database made up of multiple tables that are linked together through relationships.

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

What is the first normal form?

A

There are no repeating attributes.

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

What is the second normal form?

A

The table must already be in first normal form and the attributes depend entirely on the primary key.

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

What is the third normal form?

A

The table must already be in the second normal form and all attributes are dependent on the primary key, and nothing but the primary key. If something depends on another attribute in the record, it must be held in a separate table.