A11 · Problem set 11
Problem set 11: information, Markov chains and queues
These problems use lessons 49 to 51: entropy and channel capacity, Markov chains and their steady states, and queues with Little's law. Each topic has one central formula; most of the work is deciding which quantity it gives you.
Check
A source picks one of 16 equally likely symbols.
(a)
What is its entropy?
Check
A coin lands heads with probability 0.2.
(a)
What is its entropy?
Check
A binary channel flips bits with probability 0.02.
(a)
What is its capacity per use?
Check
A channel of 1 MHz has an SNR of 15 dB.
(a)
What is its Shannon capacity?
Write units the way you normally would: 1.5 Mb/s, 1500 kb/s and 0.0015 Gb/s are the same answer.
Check
A source has three symbols with probabilities 0.5, 0.25 and the rest.
(a)
What is its entropy?
Check
A two-state channel goes bad with probability 0.01 per step and recovers with probability 0.1.
(a)
What fraction of the time is it bad?
(b)
How many steps does a good spell last on average?
Check
The same kind of chain starts good, with = 0.1 and = 0.3.
(a)
What is the chance it's bad after 2 steps?
Check
Packets arrive at 400 per second at a server handling 1000 per second.
(a)
How many are in the system on average?
(b)
How long does each spend in the system?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A system holds 5 jobs on average, each staying 2 ms.
(a)
What is the throughput, per second?
Check
An M/M/1 queue at load 0.8 has a buffer that overflows above 10.
(a)
About what fraction of the time is it over 10?
Check
A server handles 1000 per second at load 0.5.
(a)
What is the mean wait before service starts?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A Huffman code for symbols with probabilities .
(a)
What is its average length, which equals the entropy?
Check
A binary source emits 1 with probability 0.2, and its output is coded in blocks for compression.
(a)
What is the best possible average rate per symbol?
Check
Two independent Poisson streams of 300 and 200 per second merge into a server handling 1500 per second.
(a)
What is the utilization?
(b)
What is the mean time in the system?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A Markov chain has 0.9 and 0.6.
(a)
What is the steady-state probability of bad?
Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.
Practice
Keep practicing
15 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.