Eduqas A-Level Computer Science A500QS
Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs
Variables, Scope, Parameters and Identifiers
Recursion and Modular Programming
Sorting Algorithms
Searching and Shortest-Path Algorithms
Big O Notation and Algorithm Efficiency
Validation, Verification and Testing
Data Compression
Programming Paradigms and Computer Languages
Systems Analysis, Maintenance and Documentation
System Design and Human-Computer Interaction
Software Engineering Tools and Translators
Computing, Society and the Law
Computer Architecture, the Processor and Assembly Language
Input, Output and Secondary Storage
Networks, Protocols and the Internet
Data Transmission and Network Performance
Number Systems and Binary Arithmetic
Data Types, Characters and Floating Point
Files, Records and File Organisation
Databases, Normalisation and Entity Modelling
SQL, Big Data and Distributed Systems
The Operating System and Its Modes
Interrupts, Memory Management and Scheduling
Types of Software System
Data Security, Cryptography and Attack
Data Compression
Dictionary and Huffman coding
- 3 things to know
- Component 1
Overview
Principle of dictionary compression, widely used dictionary compression algorithm and principle of Huffman coding.
What you need to know
Answer each one before you reveal it.
Name a widely used dictionary compression algorithm.
Why does a dictionary method suit natural language text?
Questions from this subtopic
Each one with the model answer underneath.
- 1
Explain the principle of dictionary compression.
Model answer
Dictionary compression replaces a repeated sequence with a short reference to an entry in a dictionary. The dictionary is built from the data itself as it is read.
- 2
Name a widely used dictionary compression algorithm.
Model answer
LZW, the Lempel-Ziv-Welch algorithm, is a widely used dictionary method. GIF and TIFF both use it.
- 3
Why does a dictionary method suit natural language text?
Model answer
Natural language repeats whole words and phrases constantly. Each repeat is replaced by one short code.
- 4
Does the dictionary have to be sent with the compressed file? Explain.
Model answer
An adaptive dictionary method sends nothing extra. The decoder rebuilds the identical dictionary as it reads the compressed stream.
- 5
Explain the principle of Huffman coding.
Model answer
Huffman coding gives the most frequent symbols the shortest bit codes and the rarest symbols the longest. The total number of bits falls below a fixed-length encoding.
- 6
Is Huffman coding lossless?
Model answer
Huffman coding is lossless. Every symbol maps to a unique code that decodes back to the original.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
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.