levo

Data Compression

  • 7 subtopics
  • 21 things to know
  • Component 1

Learn Data Compression in runs of four questions, then keep it with spaced repetition.

What Data Compression covers

Data Compression is examined in Component 1, Programming and System Development. It covers what data compression is and why it is used, lossless compression, lossy compression, run-length encoding, dictionary and Huffman coding, measuring compression: ratio and saving percentage and choosing a compression method.

Where it is assessed

Component 1

Programming and System Development.

Check the Eduqas specification ↗

The 7 subtopics

Each one has its own page.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

Distinguish the two forms of a file, name the two families of compression, and say why video depends on it.

Key term

Why does random data resist compression, and where is lossless compression essential?

Key term

Define lossy compression.

Key term

Explain how run-length encoding works.

Key term

Explain the principle of dictionary compression.

Numbers

State the formula for compression ratio.

Key term

State the first question to ask when choosing a compression method.

Key term

Define data compression.

Key term

Define lossless compression.

Key term

Name two media types normally compressed lossily.

Key term

Is run-length encoding lossless or lossy?

Key term

Name a widely used dictionary compression algorithm.

Key term

A 200 MB file compresses to 50 MB. State the compression ratio.

Key term

Which method suits a scanned black-and-white document, and why?

Key term

State two reasons a file is compressed before storage.

Key term

State two file types that must be compressed losslessly.

Key term

Name a lossy image format and a lossy audio format.

Key term

Encode the string AAAABBBCCD using run-length encoding.

Key term

Why does a dictionary method suit natural language text?

Numbers

State the formula for saving percentage.

Key term

Which method suits a photograph for a web page, and why?

Take Data Compression further

The same content, four other ways.

Commonly confused

Pairs that lose marks when they are blurred together.

  • Compression ratio vs Saving percentage

    Compression ratio: dividing the original size by the compressed size. Saving percentage: stating the proportion of the original removed.

  • Run-length encoding vs Huffman coding

    Run-length encoding: replacing a run of identical values with a count. Huffman coding: giving frequent symbols shorter codes.

  • Dictionary compression vs Huffman coding

    Dictionary compression: replacing a repeated sequence with a reference. Huffman coding: shortening individual symbols by frequency.

Questions from this topic

Each one with the model answer underneath.

  1. 1

    Define data compression.

    Model answer

    Data compression is the process of re-encoding a file so that it occupies fewer bits than the original. The encoding removes redundancy rather than meaning.

  2. 2

    State two reasons a file is compressed before storage.

    Model answer

    Compression lets more files fit in the same storage. The cost of that storage falls in proportion.

  3. 3

    State two reasons a file is compressed before transmission.

    Model answer

    A smaller file takes less time to send over a given bandwidth. Less of the network's capacity is occupied while it travels.

  4. 4

    What is redundancy in a data file?

    Model answer

    Redundancy is any part of a file that carries no information a decoder needs. Repeated bytes and predictable patterns are both forms of redundancy.

  5. 5

    Explain why an uncompressed bitmap contains a great deal of redundancy.

    Model answer

    An uncompressed bitmap stores a full colour value for every pixel. Large areas of one colour therefore repeat the same value thousands of times.

  6. 6

    What is a codec?

    Model answer

    A codec is the pair of algorithms that compresses data and decompresses it again. The name is short for coder-decoder.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

KDW to HAT.
decryptsencryptscompresses

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

Backup means the copy of the data.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Data Compression revision questions

What does Data Compression cover in Eduqas A-Level Computer Science?
7 subtopics: what data compression is and why it is used, lossless compression, lossy compression, run-length encoding, dictionary and huffman coding, measuring compression: ratio and saving percentage and choosing a compression method. Each one has its own page with questions and model answers.
How is Data Compression organised?
By the Eduqas A500QS specification, subtopic by subtopic, so it matches the order you are taught it in.

Every question in Data Compression, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.