Bird
Raised Fist0

A compression program replaces repeated words with a code but forgets to store the code mapping. What problem will occur when decompressing?

medium📝 Analysis Q14 of Q15
Intro to Computing - How Data is Represented
A compression program replaces repeated words with a code but forgets to store the code mapping. What problem will occur when decompressing?
AThe program will run faster
BThe file size will increase instead of decrease
CThe original data cannot be restored correctly
DThe compressed file will be empty
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of code mapping

    Code mapping links codes to original data for decompression.
  2. Step 2: Identify impact of missing mapping

    Without mapping, decompression cannot restore original data correctly.
  3. Final Answer:

    The original data cannot be restored correctly -> Option C
  4. Quick Check:

    Missing mapping = wrong decompression [OK]
Quick Trick: Mapping needed to restore original data [OK]
Common Mistakes:
MISTAKES
  • Thinking file size increases due to missing mapping
  • Assuming program runs faster without mapping
  • Believing compressed file becomes empty

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Intro to Computing Quizzes