Huffman Coding
Quiz by GCSE Computer Science Teacher 2
GCSE (AQA)
Computer Science
English National Curriculum
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measures 1 skill from
Measures 1 skill from
Track each student's skills and progress in your Mastery dashboards
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
12 questions
Show answers
- Q1What is Huffman coding?A compiler softwareA compression techniqueA programming languageA searching algorithm30s3.3.8.b
- Q2What is Huffman coding used for?To reduce the number of bits need to send or store a fileTo encrypt a file before it is sent over an emailTo duplicate a file before sending itTo increase the number of bits need to send or store a file30s3.3.8.b
- Q3How does the Huffman coding technique primarily work?Replaces all data with binary and then stores thisDeleted unnecessary data items to reduce the file sizeLooks for frequently occurring data itemsLooks for the least frequent occurring data items30s3.3.8.b
- Q4What is a benefit of using Huffman encoding?It is a lossless compression techniqueIt is easy to implement and programIt works equally well on all file typesIt is a lossy compression technique30s3.3.8.b
- Q5What is the name given to understanding how many times a letter appears in a given language?Numerical AnalysisLetter appearanceAlphabet AnalysisLetter frequency30s3.3.8.b
- Q6What abstract data structure is used in a Huffman tree?A linked listA graphA binary treeA 2D array30s3.3.8.b
- Q7What sits at the root of a Huffman tree representing a text document?The most used letterThe least used letterThe total characters in the documentThe number of words in the document30s3.3.8.b
- Q8What name is given to the item that stores the information in the tree?BranchEdgesNodeLeaf30s3.3.8.b
- Q9How many branches does each node have?314230s3.3.8.b
- Q10What nodes should be found at the bottom of the tree? (Furthest from the root)The last occurring dataThe least common dataThe most common dataThe first occurring data30s3.3.8.b
- Q11How many times does the letter m appear in this encoded sentence?342130s3.3.8.b
- Q12What is the binary value for the letter R?1101011011110001011060s3.3.8.b