AQA · GCSE · Computer Science · Higher
Huffman bit-pattern decoding
Write your answer first. You can study the marking guidance whenever you need it.
Study the marking See what earns credit and compare it with a full-mark answer.
Marking points
- 1 The decoded string begins with the credited part A.
- 2 The decoded string continues with the credited part DDED.
Full-mark answer
ADDED
Why this answer loses marks
I decoded the first leaf and then stopped.
After reaching a leaf, restart at the root and continue until the entire bit pattern has been decoded.
