aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Test 2 Algorithms | Computer Science
  • Suppose the letters a, b, c, d, e, f have probabilities $...
Multiple choice

Suppose the letters a, b, c, d, e, f have probabilities $ \dfrac{1}{2},\dfrac{1}{4},\dfrac{1}{8},\dfrac{1}{16},\dfrac{1}{32},\dfrac{1}{32}$ respectively.

Which of the following is the Huffman code for the letter a, b, c, d, e, f?

  1. 0, 10, 110, 1110, 11110, 11111

  2. 11, 10, 011, 010, 001, 000

  3. 11, 10, 01, 001, 0001, 0000

  4. 110, 100, 010, 000, 001, 111

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Keep practicing — related questions

  • Suppose the letters a, b, c, d, e, f have probabilities $ \dfrac{1}{2},\dfrac{1}{4},\dfrac{1}{8},\dfrac{1}{...
  • Suppose the letters a, b, c, d, e, f have probabilities $ \dfrac{1}{2},\dfrac{1}{4},\dfrac{1}{8},\dfrac{1}{...
  • Directions: This question is based on Huffmain's coding for symbols. A with probability 0.3, B with 0.15, C...
  • Directions: This question is based on Huffmain's coding for symbols. A with probability 0.3, B with 0.15, C...
  • Directions: This question is based on Huffmain's coding for symbols. A with probability 0.3, B with 0.15, C...
  • What is the hamming distance between the code words 100101000111 and 110111101101?
  • Match the following: | || |---|---| |Column - I |Column - II | |A. WBr2F4|1. Seesaw| |B. TeF4|2. Octahedral...
  • Which of the following metal ions has/have 5D4 as ground state term(s)? A. Mn4+ B. Fe2+ C. Co3+
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy