A11 · Problem set 1
Problem set 1: events, counting and conditioning
These problems use lessons 1 to 7: sample spaces and the axioms, counting, conditional probability, Bayes' rule, and independence with reliability. For each one, decide first what the outcomes are and whether they're equally likely, independent or neither.
Check
Each bit of an 8-bit word flips independently with probability 0.01.
(a)
What is the chance the word arrives with no errors?
(b)
Exactly one error?
(c)
Two or more errors, which a single-error-correcting code can't fix?
Check
A tray of 20 capacitors holds 2 bad ones. You test 5 at random.
(a)
What is the chance all 5 are good?
(b)
What is the chance you find at least one bad one?
Check
A part fails test A with probability 0.04, test B with probability 0.03, and both with probability 0.02.
(a)
What is the chance it fails at least one test?
(b)
Given that it failed B, what is the chance it also failed A?
Check
Line 1 makes 0.5 of the boards, with defect rate 0.01; line 2 makes the rest, with defect rate 0.06.
(a)
What fraction of all boards is defective?
(b)
A board is defective. What is the chance it came from line 2?
Check
A fault detector catches a fraction 0.98 of real faults and raises false alarms on a fraction 0.03 of healthy units. A fraction 0.002 of units are faulty.
(a)
Given an alarm, what is the chance the unit is faulty?
(b)
An independent second detector with the same rates also alarms. What is the chance now?
Check
A link sends 1 with probability 0.4. A sent 1 is read as 0 with probability 0.02; a sent 0 is read as 1 with probability 0.03.
(a)
What is the overall bit error rate?
(b)
A 0 is received. What is the chance a 0 was sent?
Check
A system has 50 parts in series, each 0.999 reliable, independently.
(a)
How reliable is the system?
(b)
Two whole copies of the system run in parallel. How reliable is that?
Check
Three sensors, each 0.9 reliable, feed a 2-of-3 voter that is 0.98 reliable.
(a)
How reliable are the three sensors under 2-of-3 voting?
(b)
Including the voter, how reliable is the system?
Check
A 10-bit register is set at random, all words equally likely.
(a)
How many words have exactly 2 ones?
(b)
What is the chance a random word has exactly 2 ones?
Check
A link loses a fraction 0.01 of packets; a fraction 0.004 of consecutive pairs are both lost.
(a)
Given one loss, what is the chance the next packet is lost?
(b)
If losses were independent, what would the pair rate be?
Check
A packet is sent over 4 independent paths, each losing it with probability 0.1.
(a)
What is the chance every copy is lost?
(b)
What is the chance exactly one copy gets through?
Check
A tester runs 2 different test jobs on 2 of 5 boards, one job per board.
(a)
In how many ways can the jobs be assigned?
(b)
If the jobs were identical, how many ways would there be to choose the boards?
Check
In a group of 23 people, birthdays are independent and uniform over 365 days.
(a)
Using the approximation , what is the chance that two share a birthday?
Check
A test catches 0.95 of faults and false-alarms on 0.05 of good units; 0.001 of units are faulty.
(a)
What fraction of flagged units are faulty?
Check
Three channels of reliability 0.9 vote 2-of-3.
(a)
How reliable is the system?
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.