Flashcards in Exchanging Data Deck (102)
Actual data is removed from the file in order to reduce its size. An algorithm is used to strip out the least important data. The original file cannot be restored as data is physically removed.
Reduces the file size but allows the original data be perfectly reconstructed from the compressed data. Actual data is still removed however the data is encoded in such a way that the original can be recreated.
Less effect at reducing file size than lossy.
Run Length Encoding
Run length encoding is used when there is repeated redundant data. It stores the item once and then an index with how often the item is repeated.
Dictionary coding is when an index is built where every data item in the file is recorded along with an indexed reference. The final compressed file will just consist of the dictionary index along with the sequence of occurrences needed to recreate the original file.
Purpose of Compression
1. Reduce download times
2. Reduce requirements on file storage
3. Make best use of bandwidth
uses of lossy
multimedia files e.g. MP3, JPEG, MPEG
uses of lossless
text files and computer programs
Encryption is the process of encoding a message so that it can be read only by the sender and the intended recipient.
Symmetric Encryption is when the same key is used to encrypt and decrypt the message. Both party’s must know the key and also keep it secret.
Negatives of Symmetric encryption
There is a security risk as the key may be intercepted or the process of creating the key may be duplicated meaning the data can be decrypted by a third party.
Asymmetric Encryption (Public Key Cryptography) is when a public key and a private key is used. The public key is used to encrypt the data and the private key is used to decrypt the data. If you use person X’s public key to encrypt the data only person X’s private key will be able to decrypt it
Hashing is the process used to transform a data item into something different. A hashing function provides a mapping between an arbitrary length input and a fixed length output. It is a one-way transformation meaning you cannot get back to the original form.
Uses of Hashing
- generating disk address
- storing and checking passwords
hash total is encrypted using the users private key. If the receiver can decryptit using the senders public key they know that the message is authentic
Uses of assymetric encryption
used for transfering data e.g. online shopping
Uses of symmetric encryption
Used when the same person is accessing and saving data e.g. for backing up
benefits of symmetric
- encrypted very quickly
- simple and easy
Benefits of asymmetric
- no movement of keys, more secure
- can be used for digital signatures
drawbacks of assymmetric
- not as fast
Databases are structured, persistent collections of data.
single table database. It is inefficient as it is difficult to query and leads to data redundancy which can cause errors.
A relational database has more than one related table. It is more efficient that a flat file database as no data is duplicated meaning querying is easier.
Entity Relationship Modelling
when the relationships between tables are shown in abstracted view.
A field that uniquely identifies each record
a foreign key is a field in one table that uniquely identifies a row of another table
A composite key is a combination of two or more columns in a table that can be used to uniquely identify a row.
any field in a database which is not a primary, candidate or foreign key. They are used to order queries.
Method of capturing data (Automated)
barcode readers, scanners, sensors, magnetic ink character recognition, smart card readers