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