A) David A. Huffman B) Alice Jones C) John Smith D) Robert Johnson
A) Binary encoding B) Variable-length encoding C) Fixed-length encoding D) ASCII encoding
A) Rare symbols B) Frequent symbols C) Symbols starting with A D) Symbols at odd indices
A) A code that uses only 0s and 1s B) A code where no codeword is a prefix of another C) A code that starts with the same symbol D) A code with equal-length codewords
A) Balanced tree B) Perfect tree C) Complete tree D) Optimal binary tree
A) Memory consumption B) Number of symbols C) Encoding speed D) Compression ratio
A) O(n log n) B) O(log n) C) O(n2) D) O(n)
A) Building a linked list B) Calculating symbol frequencies C) Assigning binary codes to symbols D) Compressing the data
A) Symbol with a prime number B) Least frequent symbol C) Symbol with the longest name D) Most frequent symbol
A) Linked list B) Binary heap C) Stack D) Queue
A) Prefix codes B) Suffix codes C) Infix codes D) Postfix codes |