Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

On the Swamp County Railroad system there are 6 types of train

P1 P2 F1 F2 F3 F4

They occur with the following probabilities

P1 0.10

P2 0.10

F1 0.20

F2 0.30

F3 0.15

F4 0.15

A trackside device transmits the type of train that passes.

(a) If a fixed-length code is used, how many bits need to be sent for each train?

(b) Given the probabilities above, devise a Huffman code and fill in the following table.

Symbol Code

P1

P2

F1

F2

F3

F4

(c) What is the AWCL of your answer to (b)?

(d) If 1000 trains pass, with the distribution shown, how many bits are saved by using the Huffman code instead of the fixed code from (a). Show your calculations.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M93133126

Have any Question?


Related Questions in Computer Engineering

A 1000 utility bond with 14 years remaining before maturity

A $1000 utility bond with 14 years remaining before maturity can now be purchased for $760. It pays interest of $20 each 6-month period. What rate of return is earned by purchasing the bond at the current market price pl ...

Software engineeringsuppose you are writing software for a

Software Engineering: Suppose you are writing software for a radio station that manages its playlists. The program will generate candidate playlists from a record library automatically and station personnel can then chec ...

Suppose you are given the following consumption and income

Suppose you are given the following consumption and income data: Consumption   100   190  280  370  460  550 Income                 0   100  200  300  400  500 Obtain an equation for the consumption function. Use your fu ...

Question need two different postsresponses with 200 words

Question: Need two different posts(responses) with 200 words each on the below topic. Read Four (4) academically reviewed articles on Cyber Security and Risk Management and complete the following activities:(Wikipedia ar ...

Flyers inc just paid an eps of 49 this year flyers is

Flyers, Inc., just paid an EPS of $4.9 this year. Flyers is expected to maintain a retained earnings ratio of 50% and ROE of 5.5% for the next five years. After the fifth year, ROE is expected to decrease to 3.3%. Applyi ...

Question you need to research the topic and discuss the

Question: You need to research the topic and discuss the topic in at least 400-500 words with references. A post without a reference will not count as a discussion. What is text mining and what is the purpose of it? Give ...

Tests can determine with some degree of accuracy whether a

Tests can determine, with some degree of accuracy, whether a subject indeed has the disease for which s/he is being tested. For instance, a new screening procedure for heart disease was tested on 100 patients with heart ...

Explain why some organizations may not place enough

Explain why some organizations may not place enough importance on disaster recovery. What might happen to these organizations in the event of an actual disaster?

Scheme questionthe following program can be used to

Scheme Question The following program can be used to determine if a given interpreter is using applicative-order evaluations or normal-order evaluation: (define (p)(p)) (define (test x y) (if (= x 0) 0 y)) (test 0 (p)) ( ...

Companies persue closer coordination and collaboration with

Companies persue closer coordination and collaboration with channel suppliers to better address customer needs inorder to 1) Develop human resource management activities that improve the skills , expertise and knowledge ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As