Decompressing a file
Reversing compression to turn a compressed file back into usable data. Only lossless decompression restores the exact original; lossy data that was removed is gone for good.
Understanding Decompressing a file in ACARA Digital Technologies Years 9–10
What it does: The comparison is true only for lossless methods, because decompressing exactly reverses the compression. Lossy compression permanently removes data, so the decompressed result differs from the original. Decompression undoes compression so the data can be opened and used. Compression is what makes files smaller. Lossless decompression must give back every character, otherwise the text would be corrupted. Compressed data is stored in a shortened form. Decompression turns it back into the normal form that programs can open.
Common mistakes: Only lossless decompression gives back an exact copy of the original. With a lossy method the program would not print "Exact copy". Line 1 should be method ← "lossless". Unzipping a ZIP file is decompression, which reverses compression. Calling compress() would shrink the file again. It should be files ← unzip(zip).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 155–225) and word search (Modules 116–225).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
decompressionFill in the Blanks
Spot the Error
Student with a class code? Join your class →