Question: Consider there are seven instructions A, E, I, O, U, S and T with relative frequencies 10, 15, 12, 3, 4, 13 and 1. Compose

Consider there are seven instructions A, E, I, O, U, S and T with relative frequencies 10, 15, 12, 3, 4, 13 and 1. Compose a diagram of a Huffman tree, find op-codes for different instructions and compute the average code size. Encode the following instructions with the derived opcodes, 

a) EAT and b) OUTS.


Step by Step Solution

3.51 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Hulffman Iree 33 12 13 15 18 e 10 0 i 10 1101 ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Engineering Questions!