Data Representation: Compression Techniques
Computer Science
Year 9
10 questions
~20 mins
0 views0 downloads
About This Worksheet
This worksheet explores how data can be compressed to save storage space and improve transmission efficiency. Answer the questions clearly and concisely.
Worksheet Preview
Full preview • 10 questions
Data Representation: Compression Techniques
Subject: Computer ScienceGrade: Year 9
Name:
Date:
TeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizz
Untitled Worksheet
Grade Year 9
A
Questions
This worksheet explores how data can be compressed to save storage space and improve transmission efficiency. Answer the questions clearly and concisely.
Answer all questions in the spaces provided.
1.
Explain what data compression is and why it is useful in computer science.
[4 marks]2.
Describe the difference between lossless and lossy compression.
[4 marks]3.
A text file contains the word 'compression' repeated 1000 times. If each word is stored as 10 bytes uncompressed, what is the size of the file? How might compression reduce this size?
[6 marks]4.
Complete the truth table for an AND gate with two inputs, A and B.
[4 marks]| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
5.
Draw a logic circuit for an OR gate with two inputs labeled A and B. Include the appropriate logic gate symbol and label the inputs and output.
[6 marks]Drawing / Sketch space
6.
Explain why run-length encoding is effective for compressing simple images with large areas of uniform color.
[4 marks]7.
Describe a scenario where lossy compression would be preferred over lossless compression.
[4 marks]8.
Sketch a diagram showing how Huffman coding assigns shorter codes to more frequent characters and longer codes to less frequent characters.
[6 marks]Drawing / Sketch space
9.
Explain how dictionary-based compression methods, such as LZ77, work to reduce data size.
[4 marks]10.
Design a simple scheme for compressing a string of lowercase letters where the most common letter is 'e'. Describe how your scheme would encode the string 'beetle'.
[6 marks]Quick Actions
What is Remix?
Create a new worksheet based on this one. Change the grade level, topic, number of questions, or difficulty - then generate a fresh version.
- • Change grade level (Grade 6 → Grade 7)
- • Swap topics (Harry Potter → Macbeth)
- • Add more questions (10 → 15)
- • Adjust difficulty
Details
- Created
- 1/2/2026
- Updated
- 1/2/2026
- Type
- worksheet