Question

9. (4) Select the best choice as Huffman code for the following symbols and their probabilities: A-0.10 C-0.17 E-0.21 B-0.21
0 0
Add a comment Improve this question Transcribed image text
Answer #1

A →0. 10 B70.21 F=0.25 D40 06 9 TO tind Huff man Godei we need to Order , from Arronge probolal? ties an order: Atcind ing Beteseff ede 8:11 D: 001) F:01 E: 10 loret opton. the abouue Ps so, ) None tae codes aboue O M auesoge vode lergith baug Pt → pentrony of letterg -( PA log (rm) + C Pe dog (Ps) t +( R log (Pe))+ CPo log CPo)) † ( PE loge DE)) + ( P loy( p) --l o-10 log

Add a comment
Know the answer?
Add Answer to:
9. (4) Select the best choice as Huffman code for the following symbols and their probabilities:...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • (2+2+1 5 points) Problem 10.1: simple cpu machine code = The following program has been written...

    (2+2+1 5 points) Problem 10.1: simple cpu machine code = The following program has been written for the simple central processing unit introduced in class. The table below shows the initial content of the 16 memory cells. The first column denotes the memory address. Machine Code Assembly Code Description 001 1 0001 0 010 0 1111 1 001 1 0000 3 101 1 0100 110 1 0110 4 111 1 0000 5 6 001 0 001 1 100 1 0001...

  • Arduino. DEC HEX BIN(4-bits) Introducing ARDUINO 0 0 0000 1 1 0001 2 2 0010 3...

    Arduino. DEC HEX BIN(4-bits) Introducing ARDUINO 0 0 0000 1 1 0001 2 2 0010 3 3 0011 4 4 0100 5 5 0101 How many 1/0 of Port-D? How many usable 1/0 of Port-D, if Serial-Communication is in-used? What is the Arduino's pin assignment of ATMEL's PC5, PB3, & PD1*? What is the ATMEL's pin assignment of Arduino's D13*, D1, & D19? To complete the table about Number System Conversion (shown your step) 6 6 0110 7 7 0111...

  • 4 [20 Points] Derive the Huffman tree for the symbols with probabilities given below. Show the...

    4 [20 Points] Derive the Huffman tree for the symbols with probabilities given below. Show the codewords for the symbols and compute the average code length. A: 0.18, B: 0.2, C: 0.05, D: 0.36, E: 0.09, F: 0.12

  • The following message is to be transmitted using Huffman coding: ISTHISHISTORYORISTHISHISTESTTHESIS a) Determine a Huffman code...

    The following message is to be transmitted using Huffman coding: ISTHISHISTORYORISTHISHISTESTTHESIS a) Determine a Huffman code tree for this message. b) What are the corresponding code words for each character? c) What is the efficiency of this encoding compared to the uncompressed data? [Assume that the uncompressed characters are transmitted using the minimum number of bits needed to code all of the characters of the message.] d)What would be the decoded message if the following bit stream was sent using...

  • Networks Hi guys. I need some assistance with a few questions below. 1. Which of the...

    Networks Hi guys. I need some assistance with a few questions below. 1. Which of the following is TRUE regarding a TCP 3-way handshake. a.   Consists of 3 segments being sent between 2 hosts       b.   Segments only carry data in the SYN, ACK and sequence number bits and bytes with no data       c.   No ACK is needed for the SYNACK received from the receiver       d.   A, B and C       e.   None of the above 2. Which...

  • Problem (A1) (20 points): Huffman Coding Consider a message having the 5 symbols (A,B,C,D,E) with probabilities...

    Problem (A1) (20 points): Huffman Coding Consider a message having the 5 symbols (A,B,C,D,E) with probabilities (0.1,0.1,0.2 ,0.2, 0.4), respectively. For such data, two different sets of Huffman codes can result from a different tie breaking during the construction of the Huffman trees. • Construct the two Huffman trees. (8 points) Construct the Huffman codes for the given symbols for each tree. (4 points) Show that both trees will produce the same average code length. (4 points) For data transmission...

  • I would like a step by step explanation as to how the 7-bit floating point representations from Format A were converted...

    I would like a step by step explanation as to how the 7-bit floating point representations from Format A were converted to Format B. Thanks. Consider the following two 7-bit floating point representations based on the IEEE floating point format. Neither has a sign bit - they can only represent non-negative numbers. i). Format A. There are k=3 exponent bits. The exponent bias is 3. There are n=4 fraction bits. ii). Format B. There are k=4 exponent bits. The exponent...

  • I would like a step by step explanation as to how the 7-bit floating point representations...

    I would like a step by step explanation as to how the 7-bit floating point representations from Format A were converted to Format B. Thanks. Consider the following two 7-bit floating point representations based on the IEEE floating point format. Neither has a sign bit - they can only represent non-negative numbers. i). Format A. There are k=3 exponent bits. The exponent bias is 3. There are n=4 fraction bits. ii). Format B. There are k=4 exponent bits. The exponent...

  • 4. Consider the given seven symbols with probabilities as {A, B, C, D, E, F, G}...

    4. Consider the given seven symbols with probabilities as {A, B, C, D, E, F, G} = {0.25, 0.20, 0.18, 0.15, 0.12, 0.06, 0.04}. Use Huffman coding to determine coding bits, entropy and average bits per symbol.

  • Question 4 State Machines (25 marks) a. (5 marks) A 3-bit Gray code counter advances on...

    Question 4 State Machines (25 marks) a. (5 marks) A 3-bit Gray code counter advances on positive clock edges and generates outputs in the sequence: 000, 001, 011, 010, 110, 111, 101, 100. Draw the assigned state table for a state machine implementing this counter. b. (10 marks) For the Gray code counter in part a, derive (unoptimised) equations for the next state as a function of the current state. c. (10 marks) Consider the following sequence detector. In each...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT