RecallStrideA BreakellSystems productTry revision

OCR J277 · Computer systems

Compression revision

Select lossless or lossy compression by whether exact reconstruction is required.

OCR GCSE Computer Science · Topic 1.2.5 · By RecallStride / BreakellSystems

Try J277 revisionAll J277 topics

What to know about compression

Why compress?

Compression represents data using fewer bits for storage or transfer. Smaller files can reduce storage requirements and transmission time for a fixed connection speed. Compression and decompression require processing. Compression is not encryption: a smaller file is not thereby made unreadable to unauthorised people.

Lossless compression

Lossless methods exploit patterns or repeated data while keeping enough information to reconstruct the original exactly. Use them where every value matters, such as program source, a text document or measurement data requiring exact recovery. A lossless method does not guarantee every possible file will shrink; its effectiveness depends on the data.

Focus areas: Compression.

Test yourself: questions and answers

Answer each prompt from memory before opening the explanation. These 4 samples come from this topic's 8 original retrieval cards.

What is compression intended to reduce?

The amount of data needed to represent a file.

What does lossless decompression preserve?

The exact original data.

What is permanently lost in lossy compression?

Some information from the original representation.

Why normally choose lossless compression for source code?

Changing or discarding code characters can alter its meaning or make it invalid.

Turn this topic into a revision session

  1. Explain one idea without looking at the notes.
  2. Compare your answer with the guidance and identify the missing link.
  3. Apply it in a question or short program, then revisit it after a delay.

Free accounts choose one revision topic pack. Pro includes all 26 packs in this course and both published qualifications. Public samples and coding practice are free; PDF guides are separate purchases.

Create a free account

Specification and sources

Check the required scope against the official OCR J277 specification (PDF). RecallStride's explanations and examples are independent learning resources. See our editorial policy or report a correction, including the topic code and statement concerned.