How is data made smaller, kept secret, and checked for errors during storage and transmission?
Compression, encryption and error checking: lossy and lossless compression (run-length encoding and dictionary methods), symmetric and asymmetric encryption, and error-detection methods (parity, checksums and check digits).
An Eduqas Component 2 answer on compression, encryption and error checking: lossy versus lossless compression with run-length and dictionary methods, symmetric and asymmetric encryption, and error-detection methods including parity, checksums and check digits.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
Eduqas wants you to distinguish lossy and lossless compression and describe methods (run-length encoding, dictionary), distinguish symmetric and asymmetric encryption, and describe error-detection methods (parity, checksums, check digits). These appear as both short definitions and applied examples.
The answer
Lossy and lossless compression
Symmetric and asymmetric encryption
Error detection: parity, checksums and check digits
Examples in context
Lossy compression is why JPEG photos and MP3/streaming audio are small enough to send and store; lossless (ZIP, PNG, FLAC) is used where exactness matters. Asymmetric encryption secures the web (HTTPS) and underlies digital signatures, while symmetric encryption does the fast bulk work once a key is agreed. Error detection runs constantly, parity in memory and serial links, checksums in network packets (linking to the data-transmission dot point), and check digits on every barcode and bank-card number. These techniques connect representation, transmission and the data-protection issues from Component 1.
Try this
Q1. Give one situation where lossless compression must be used rather than lossy. [1 mark]
- Cue. Compressing a program executable or a text document (or any file where losing data would corrupt it).
Q2. In asymmetric encryption, which key is used to encrypt and which to decrypt? [2 marks]
- Cue. The public key encrypts; the matching private key decrypts.
Q3. For even parity, what parity bit is added to the code ? [1 mark]
- Cue. The code has three s (odd), so the parity bit is to make the total even.
Exam-style practice questions
Practice questions written in the style of WJEC Eduqas exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
Eduqas 20206 marksExplain the difference between lossy and lossless compression, describe how run-length encoding works, and give one situation where lossless compression must be used.Show worked answer →
Lossy versus lossless (up to 2 marks): lossy compression permanently removes some data (detail the human eye or ear is unlikely to miss) to achieve a much smaller file, so the original cannot be perfectly restored; lossless compression removes only redundancy so the exact original can be reconstructed.
Run-length encoding (up to 2 marks): a lossless method that replaces runs of the same repeated value with a single value and a count, for example a row of identical white pixels is stored as "white, 10" rather than ten separate values; it works well on data with long runs.
Lossless required (up to 2 marks): any situation where exact data matters, such as compressing a program executable, a text document, or a spreadsheet, where losing any data would corrupt it.
Markers reward the permanent-loss versus exact-restoration distinction, the value-plus-count description of RLE, and a valid lossless-required example (executables, text, where accuracy is essential).
Eduqas 20216 marksExplain the difference between symmetric and asymmetric encryption, and describe how a parity bit is used to detect an error in transmission.Show worked answer →
Symmetric encryption (up to 2 marks): the same single key is used to both encrypt and decrypt the data; it is fast, but the key must be shared securely with the recipient, which is the main difficulty.
Asymmetric encryption (up to 2 marks): a pair of keys is used, a public key to encrypt and a private key to decrypt (or vice versa for signing); the public key can be shared openly while the private key is kept secret, solving the key-distribution problem.
Parity bit (up to 2 marks): an extra bit added to a binary code so that the total number of s is even (even parity) or odd (odd parity); the receiver counts the s and, if the parity is wrong, knows an error occurred during transmission. It detects single-bit errors but not all multi-bit errors.
Markers reward the same-key versus key-pair distinction, the public/private roles, and the parity-bit count-the-ones check with its limitation.
Related dot points
- Representing text, images and sound: character sets (ASCII and Unicode), bitmap images with resolution, colour depth and the file-size calculation, and sampled sound with sample rate, bit depth and the file-size calculation.
An Eduqas Component 2 answer on representing text, images and sound: the ASCII and Unicode character sets, bitmap images with resolution and colour depth and the file-size calculation, and sampled sound with sample rate and bit depth and the file-size calculation.
- Data transmission: serial and parallel transmission, packet switching and the structure of a packet, network protocols and the layers of the TCP/IP stack, and the role of standards in communication.
An Eduqas Component 2 answer on data transmission: serial versus parallel transmission with their trade-offs, packet switching and packet structure, the role of network protocols, and the four layers of the TCP/IP stack.
- Data representation of numbers: converting between binary, denary and hexadecimal, representing negative numbers with sign and magnitude and two's complement, binary addition and subtraction, and detecting overflow.
An Eduqas Component 2 answer on number representation: converting between binary, denary and hexadecimal, representing negative numbers with sign and magnitude and two's complement, binary addition and subtraction, and detecting overflow.
- Networks: LANs and WANs, network topologies (bus, star, mesh), the client-server and peer-to-peer models, and the hardware that connects a network (network interface cards, switches, routers and the role of the internet).
An Eduqas Component 2 answer on networks: the difference between LANs and WANs, the bus, star and mesh topologies with their pros and cons, the client-server versus peer-to-peer models, and the hardware (NICs, switches, routers) that connects a network.
- Economic, moral, legal, ethical and cultural issues: the impact of computer science on individuals and society, the relevant UK legislation (Data Protection, Computer Misuse, Copyright and Freedom of Information), and ethical concerns such as privacy, surveillance and the digital divide.
An Eduqas Component 1 answer on the impact of computer science: the economic, moral, ethical and cultural effects on society, the relevant UK legislation (Data Protection, Computer Misuse, Copyright, Freedom of Information), and issues such as privacy, surveillance and the digital divide.
Sources & how we know this
- WJEC Eduqas GCE AS/A Level Computer Science specification (from 2015) — Eduqas (2015)