Exam-style question
Try this first
What is the main principle of a dictionary-based compression method?.
- A.Repeated patterns are stored in a dictionary and references can replace later occurrences
- B.Every character is replaced with a randomly selected character
- C.All data is discarded except the first item in each file
- D.The file is divided into runs containing only identical values
Model answer
What a good answer should say
- Repeated patterns are stored in a dictionary and references can replace later occurrences
Explanation
Why this works
Dictionary-based methods identify repeated patterns, store them in a dictionary and use shorter references to represent later occurrences. This is a lossless technique when the original patterns can be restored.
Common mistake
No common mistake is linked to this question yet.
