Exchanging Data Flashcards

1
Q

Lossy

A

Unnecessary info removed
Reduce in quality
JPG, MP3

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

Lossless

A

Recording patterns in data rather than actual data
PNG, Zip
Run length encoding, dictionary based compression

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

Symmetric Encryption

A

Private key
Same key to decrypt and encrypt
Diffie Hellman key exchange
Can be intercepted

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

Asymmetric Encryption

A
Public key
2 keys (public: decrypt, private: encrypt)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Digital Signatures

A

Verify trustworthiness I’d message
Hash value = Private key encrypts hash total
Decrypted with public key and if matches calculated hash total from sent message, genuine

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

Digital Certificate

A

Verify trustworthiness of message sender

Issued by Certificate Authorities

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

Primary key

A

Uniquely identifies entity

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

Foreign key

A

Creates relation between 2 tables

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

DBMS

A

Database management system
Software to define, manage, manipulate and retrieve data
Make forms, reports, queries
CRUD- create, read, update, delete

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

Normalisation

A

1NF- no repeating attributes
2NF- no partial dependencies
3NF- all attributes on whole key and nothing but key

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

Reasons for normalisation

A
No data redundancy
Easy to modify and maintain
Data integrity maintained
Faster searching and sorting 
Records on 1 side of 1 to many cannot be deleted
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

SQL

A
Structured query language 
SELECT
FROM 
WHERE 
ORDER BY;

WHERE … LIKE ‘a%’ or ‘_a%’;

SELECT column/s
FROM table1
JOIN table2 ON table1.column = table2.column;

INSERT INTO
VALUES;

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

ACID

A

Atomicity- transaction processed entirely or not at all
Consistency- referential integrity
Isolation- concurrent execution of transactions lead to same results if processed 1 after another
Durability- once a transaction committed, remains so

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

Record locks

A

Prevent simultaneous access to objects

Deadlock is if 2 access same record at same time

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

Serialisation

A

Transactions do not overlap in time
Time stamp ordering
Commitment ordering

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