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