This topic covers the fundamental techniques used for data management and security in computer systems. It explores the principles of data compression, the
Topic Synopsis
This topic covers the fundamental techniques used for data management and security in computer systems. It explores the principles of data compression, the mechanisms of symmetric and asymmetric encryption, and the role of hashing in data integrity.
Key Concepts & Core Principles
- Lossless vs lossy compression: Lossless (e.g., Run-Length Encoding, Huffman coding) preserves all original data, while lossy (e.g., JPEG, MP3) discards some data to achieve higher compression ratios.
- Symmetric encryption uses the same key for encryption and decryption (e.g., AES), while asymmetric encryption uses a public/private key pair (e.g., RSA).
- Hash functions (e.g., SHA-256) produce a fixed-size output from any input, are one-way (cannot be reversed), and are collision-resistant (two different inputs should not produce the same hash).
- Encryption ensures confidentiality; hashing ensures integrity and authenticity (e.g., password storage, digital signatures).
- Compression ratio = original size / compressed size; higher ratio means more compression.
Exam Tips & Revision Strategies
- Ensure you can clearly define the difference between lossy and lossless compression
- Be prepared to perform run length encoding on a given string of data
- Understand the key difference between symmetric and asymmetric encryption regarding the use of keys
Common Misconceptions & Mistakes to Avoid
- Confusing the mechanisms of symmetric and asymmetric encryption
- Failing to explain the difference between lossy and lossless compression in terms of data recovery
- Misapplying run length encoding to data that does not contain repeated sequences
Examiner Marking Points
- Distinction between lossy and lossless compression
- Application of run length encoding
- Application of dictionary coding
- Understanding of symmetric encryption
- Understanding of asymmetric encryption