GRADE 8 · COMPUTING · UNIT 4 · LESSON 4.11
Computer systems
Compression, reconstruction and purpose
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Compression, reconstruction and purpose
Compression changes how data is represented to try to use less space. For exact reconstruction, retain enough information to recover the order as well as the repeated items. Count any dictionary, position list or other overhead; compression does not always make a short example smaller.
- Identify repetition, preserve order information and judge possible savings and uses.
- Explain my method and support it with a labelled trace, example or test record.

Work through an example
For the sequence blue, red, blue, store the two words and an ordered reference sequence such as 1, 2, 1. Counts of blue twice and red once are insufficient by themselves, because they do not distinguish blue-red-blue from red-blue-blue.
Try before your workbook
Can the counts cat twice and dog once reconstruct the original three-word order uniquely? What else is needed?
Explore the clues
Tap one card to find out more.
Understand the idea
Compression changes how data is represented to try to use less space. For exact reconstruction, retain enough information to recover the order as well as the repeated items. Count any dictionary, position list or other overhead; compression does not always make a short example smaller.
Concept to practise: Compression, reconstruction and purpose.
Work through an example
For the sequence blue, red, blue, store the two words and an ordered reference sequence such as 1, 2, 1. Counts of blue twice and red once are insufficient by themselves, because they do not distinguish blue-red-blue from red-blue-blue.
Try before your workbook
Can the counts cat twice and dog once reconstruct the original three-word order uniquely? What else is needed?
Check my readiness thinking
No. Several orders have those counts. Keep an ordered sequence or positions and a clear decoding rule; include their storage cost when comparing sizes.
Your original programs and learning models
These original PaxaKids program and data models support your workbook. Some examples deliberately contain faults to investigate. Follow their headings and preserve exact code case, punctuation and order. Traces and supplied records are not claims of physical testing.
Make a smaller representation
Our original paper models use repeated words and consecutive letter runs. The coloured tiles in the picture illustrate repetition; they are not the counted data.
Keep positions as well as repeated words
| Word | Count | Positions |
|---|---|---|
| blue | 2 | 1, 5 |
| boat | 3 | 2, 4, 6 |
| green | 1 | 3 |
Encode consecutive runs
Original: AAAAABBCCCCDDDD
Runs: AAAAA | BB | CCCC | DDDD
Encoded: 5A2B4C4D
| Run | Count | Stored pair |
|---|---|---|
| AAAAA | 5 | 5A |
| BB | 2 | 2B |
| CCCC | 4 | 4C |
| DDDD | 4 | 4D |
Count the representation, then compare
| Requested count | Answer |
|---|---|
| Bytes in AAAAABBCCCCDDDD | {'clue': 'Count in bytes', 'prompt': 'Original repeated message bytes', 'answers': ['15']} |
| Bytes in 5A2B4C4D | {'clue': 'Count in bytes', 'prompt': 'Encoded repeated message bytes', 'answers': ['8']} |
| Bytes saved: original minus encoded | {'clue': 'Count in bytes', 'prompt': 'Bytes saved by this RLE representation', 'answers': ['7']} |
| Bytes in the original message ABCD | {'clue': 'Count in bytes', 'prompt': 'Original ABCD bytes', 'answers': ['4']} |
| Bytes in its encoding 1A1B1C1D | {'clue': 'Count in bytes', 'prompt': 'Encoded ABCD bytes', 'answers': ['8']} |
Choose compression for a purpose
A smaller file may need fewer storage bytes and less network payload. Transfer time also depends on bandwidth, overhead and processing. Compression does not guarantee that every transfer finishes sooner.
Reconstruct and check the order
This model is lossless when it reconstructs the exact original sequence. A method that discards needed information cannot make that exact claim.
Files for this activity
Use these original PaxaKids practice files with the matching workbook. Work on a local copy in the appropriate editor. Some examples deliberately contain faults to investigate; a downloaded file is not a completed practical test.

Try one step with Paxa!
Follow the model and explain the labels, values and decisions. Use fictional data. Label a paper prediction, simulation and actual practical test separately; an unperformed test stays Pending. Save personal responses before leaving.
Our Unit 4 learning path
- Lesson 4.1: Primary memory and the processor
- Lesson 4.2: The role of RAM
- Lesson 4.3: The role of ROM and comparison
- Lesson 4.4: Operating-system purpose and examples
- Lesson 4.5: Interface, memory and user accounts
- Lesson 4.6: Files, applications and devices
- Lesson 4.7: Utility software and maintenance
- Lesson 4.8: Denary and binary place value
- Lesson 4.9: Converting values and extending to eight bits
- Lesson 4.10: ASCII and character encoding
- Lesson 4.11: Compression, reconstruction and purpose
- Lesson 4.12: Truth-table structure and possible inputs
- Lesson 4.13: NOT, AND and OR outputs
- Lesson 4.14: Complete, check and communicate tables
- Lesson 4.15: AI rules and learning from examples
- Lesson 4.16: What augmented reality adds
- Lesson 4.17: AR in entertainment, retail and education
- Lesson 4.18: Autonomous programming, sensors and robotics
- Lesson 4.19: Designing and explaining a robot
- Lesson 4.20: Project: Technology work placement
- Lesson 4.21: Check your progress 4
For grown-ups: using this lesson
Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Read one explanation, discuss the model and try the readiness check before the workbook. Choose “Mark lesson finished” when ready. Optional account progress saves lesson position and completion across devices; save personal responses before leaving.
2. Fill in your workbook
Read the teaching and complete workbook instructions. Choose, write or draw; Answer list offers larger controls. Trace code precisely and distinguish predictions from actual tests. Review designs, explanations and drawings with a grown-up.
Opening your PDF…
Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.
You’ve completed the checked activities.
TAKE YOUR PRACTICE OFFLINE
3. Download the student worksheet
All 7 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.
Student worksheet only · PDF · 8.0 MiB · No answer key included
TRY FIRST, THEN CHECK TOGETHER
Download the student worksheet →4. Answers & guidance
Finished your try? Open the guide and compare one worksheet at a time. Your own words may be different and still explain the right idea.
Shown on this webpage only. There is no answer-key download, and this guide is left out when printing the page.
Show answers for all 7 worksheets
Worksheet 1
- Question 1: What is the aim of compression? represent the data using fewer bits or bytes
Worksheet 2
- Question 2: Which word belongs in position 4? boat
- Question 3: Why are the word counts alone insufficient? they do not say where each occurrence belongs
Worksheet 3
- Question 4: What must remain separate in AABAA? the two A runs, because B separates them
Worksheet 4
- Question 5: Original repeated message bytes 15
- Question 6: Encoded repeated message bytes 8
- Question 7: Bytes saved by this RLE representation 7
- Question 8: Original ABCD bytes 4
- Question 9: Encoded ABCD bytes 8
Worksheet 5
- Question 10: Which claim is supported by our examples? RLE saves space on some data but can expand other data
Worksheet 6
- Question 11: Which exact message does 2A1B3C reconstruct? AABCCC
- Question 12: How many bytes larger is 1A1B1C1D than ABCD under our model? 4
- Question 13: Which check best supports a lossless reconstruction? compare every reconstructed character and its order with the original
- Question 14: For actual saved files, what else must a fair size comparison consider? the complete file representation, including relevant overhead
Worksheet 7
- Question 15: Create one uppercase A-to-Z message with repeated consecutive runs and another with little repetition. Show each original, its RLE encoding, its exact reconstruction and its original/encoded byte counts under our one-byte-per-character convention. State the saving or expansion in each case and explain one suitable storage or transfer purpose. Give your encoding and rule to a partner to reconstruct; retain the actual comparison or mark it Pending. Explain why the word dictionary needs positions, note our ignored overhead, and record one correction or next step. Require two complete original examples with ordered consecutive runs, decimal count plus uppercase letter even for singletons; exact round trips and independently counted original/encoded characters. Correct savings or expansion, acknowledging that no saving is guaranteed. Explain positions preserve word order, and real-file overhead plus transfer conditions limit the model. Actual partner reconstruction evidence or Pending. Retain work and one correction/next step; no numeric grading. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing Learner’s Book 8 — pages 275–277
- PaxaKids Grade 8 Computing Lesson 4.11: Compression, reconstruction and purpose — pages 1–7
Computing for your homeschool day
Explore Compression, reconstruction and purpose with this free Grade 8 Computing lesson. Read one idea together, try the fillable workbook and return to review at your own pace. Download the same student worksheet PDF for pencil-and-paper practice.
Fit learning around your family’s day. There is no timer and no sign-up is needed to use the lesson. An optional account saves your lesson position and completion across devices. Workbook responses and drawings stay in this tab; save a copy of your responses before leaving.
Understand your results
Closed answers are checked in your browser. Drawings and written explanations need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Choose Review Answers after trying the activity. The guide stays on the webpage; the worksheet download contains only the student pages.
For programme background, visit the Cambridge Lower Secondary Computing overview. PaxaKids provides independent original companion practice.
Book page references identify the related teaching topic. File-management and responsible-data preparation are original PaxaKids material; orientation or contents pages are not presented as teaching citations for those skills. The explanations, characters, programs and exercises here are original PaxaKids companion practice. Practical tasks require the appropriate editor and, where applicable, suitable equipment. A design or paper trace is not a verified hardware result. Only completed, reviewed lessons are listed.
Explore the Cambridge Lower Secondary Computing curriculum for programme background. PaxaKids is an independent learning resource.
