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