Question

Consider the following symbols and their frequencies: a:1, b:2, c:3, d:4, e:5, f:6 What is the...

Consider the following symbols and their frequencies: a:1, b:2, c:3, d:4, e:5, f:6

What is the amount of bits needed per character for a balanced tree encoding.

Homework Answers

Answer #1

Hope this may help you.....Have a nice day ahead.......

Know the answer?
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
Similar Questions
Huffman Code Scenario: There are 4 symbols (A, B, C and D) in a special language....
Huffman Code Scenario: There are 4 symbols (A, B, C and D) in a special language. The frequencies of the symbols in a text written in the language are: A 40, B 20, C 10, and D 5. Answer the following questions. 1. How many bits do you need to represent the symbols? 2. What is the total number of bits needed in order to encode the entire text? 3. Construct the Huffman tree based on the scenario (paste the...
2. Consider the given seven symbols with probabilities as {A, B, C, D, E, F, G}...
2. 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. Verify the same with Matlab . Verify the same with Matlab .Verify the same with Matlab ( very importent ) .
Huffman Codes: You are give a text file containing only the characters {a,b,c,d,e,f}. Let F(x) denote...
Huffman Codes: You are give a text file containing only the characters {a,b,c,d,e,f}. Let F(x) denote the frequency of a character x. Suppose that: F(a) = 13, F(b) = 4, F(c) = 6, F(d) = 17, F(e) = 2, and F(f) = 11. Give a Huffman code for the above set of frequencies, i.e. specify the binary encoding for each of the six characters.
Let lst1 = '(a b c d e), lst2 = '(1 2 3 4 5). The...
Let lst1 = '(a b c d e), lst2 = '(1 2 3 4 5). The proc function takes a list as input and returns the middle element of the list. What will be the following expression evaluate to: (append (cons (first lst1) '()) (cons (cdddr lst1) '()) (cons (proc lst1) '()) (cons (proc lst2) '()) (cons (fifth lst1) '())    ) a. '(a d e c 3 e) b. '(a d e c 3 d) c. '(a (d e)...
You are given the independent jobs A(5), B(7), C(10), D(12), E(6), F(4), G(3). (a) Using the...
You are given the independent jobs A(5), B(7), C(10), D(12), E(6), F(4), G(3). (a) Using the alphabetical order priority list above, if the jobs are scheduled on 3 processors, what is the completion time? (b) If the decreasing time algorithm is used to schedule the jobs on 3 processors, what is the completion time? (c) If the decreasing time algorithm is used to schedule the jobs on 3 processors, which is the second job scheduled on processor 1? A B...
You are given the independent jobs A(5), B(7), C(10), D(12), E(6), F(4), G(3). (a) Using the...
You are given the independent jobs A(5), B(7), C(10), D(12), E(6), F(4), G(3). (a) Using the alphabetical order priority list above, if the jobs are scheduled on 3 processors, what is the completion time? (b) If the decreasing time algorithm is used to schedule the jobs on 3 processors, what is the completion time? 21 Incorrect: Your answer is incorrect. (c) If the decreasing time algorithm is used to schedule the jobs on 3 processors, which is the second job...
Define variables as follows: a = 1; b= 2; c = 3; d = 4; e...
Define variables as follows: a = 1; b= 2; c = 3; d = 4; e = 5; f = 6; g = 7; h = 8; i = 9; j =10; Using Matlab operations (no hard-coding), perform the following operations (in order): 1a) Add one to the value of a, and store the result in a 1b) Cube b, add the value of c to this, and store the result in b 1c) Set c equal to the larger...
Consider the following bivariate data. Point A B C D E F G H I J...
Consider the following bivariate data. Point A B C D E F G H I J x 0 1 1 2 3 4 5 6 6 7 y 5 5 6 5 4 1 2 0 1 1 (a) Construct a scatter diagram of the given bivariate data. (Do this on paper. Your instructor may ask you to turn in this work.) (b) Calculate the covariance. (Give your answer correct to two decimal places.) (c) Calculate sx and sy. (Give...
Consider the following bivariate data. Point A B C D E F G H I J...
Consider the following bivariate data. Point A B C D E F G H I J x 0 1 1 2 3 4 5 6 6 7 y 5 5 8 3 4 1 2 0 1 1 (a) Construct a scatter diagram of the given bivariate data. (Do this on paper. Your instructor may ask you to turn in this work.) (b) Calculate the covariance. (Give your answer correct to two decimal places.) (c) Calculate sx and sy. (Give...
Find the critical value for the following one-tailed data. a. F(5, 6, .025) d. F(2, 6,...
Find the critical value for the following one-tailed data. a. F(5, 6, .025) d. F(2, 6, .05) b. F(4, 2, .05) e. F(4, 3, .01) c. F(4, 2, .01) f. F(5, 3, .05)