levo

Data Compression

  • 7 subtopics
  • 21 things to know
  • Component 1

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.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

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

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

KDW to HAT.
decryptsencryptscompresses

Blank Blitz makes facts automatic

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

AThe two are not the same.
BOpen source refers to the availability of the code.
CMuch open source software is free of charge.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

Backup means the copy of the data.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

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.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

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