Unit 4 Exchanging Data Flashcards
What are the types of Compression?
- Lossy
- Lossless
What is Lossy Compression?
Removing non-essential data
What is Lossless Compression?
Summarizing patterns in the data without permanently removing any data
What is Run Length Encoding?
A basic method of coding that summarizes consecutive patterns of the same data
What does RLE work best on?
Image and sound data
What is Dictionary Compression?
Spots regularly occurring data and stores it separately in a dictionary
How many bits is an ASCII character?
8
What is Encryption?
A way of making sure that data cant be read without a way to decrypt it
What is the Caesar Cypher?
A type of encryption where letters of the alphabet are shifted by a constant amount
What is a Brute Force Attack?
A method that attempts to apply every possible key to decrypt ciphertext until one works
What is Frequency Analysis?
A method that looks at the most frequent characters in cypher text and comparing them to regular text
What is the Vernam Cypher?
A type of encryption, also know as the one-time pad. It is the only cypher text that is proven to be unbreakable
What are the features of a Vernam Cypher key? (5)
- Must be truly random
- Must be greater or equal to the length of the plaintext
- Must only be used once
- Must be shared by hand separate to the original message
- Must be destroyed immediately after use
What is Symmetric Encryption?
Also known as private key encryption, the same key is used to encrypt and decrypt
What is Asymmetric Encryption?
A type of encryption that uses 2 keys. One key (public key) is made public so that others can encrypt data before sending it to you. Another key (private key) is only known to you and can be used to decrypt the data
What is Hashing?
A type of encryption that is one-way and cannot go back to the original. Useful for storing encrypted PINs
What is the simplest kind of Database?
A flat file consisting of information about a single entity
What is an Entity?
A category of object, person, event or thing of interest about which data needs to be recorded
What is an Entity Identifier?
A name which uniquely identifies a particular record (also known as primary key)
What is a Composite Primary Key?
Where 2 or more attributes are needed to uniquely define a record
What are the Entity Relationships? (3)
- One to one
- One to many
- Many to many
What is a Foreign Key?
An attribute that creates a join between 2 tables (relations)
What is Referential Integrity?
Where no foreign key can reference a record that doesn’t exist in another table
Can a many to many relationship be directly linked?
No, an extra table is required
What is a Relational Database design? (5)
- Data is held in tables called relations
- One row holds one record
- Each column represents one attribute
- Each relation holds data about a single entity
- A database has one or more relations