D12 Build a modem · Practice
Bits into frames: start bits, preambles and sync words
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 7 kinds solid
Check
A frame has 32 preamble bits, a 16-bit sync word, a length byte and a 2-byte payload. What percentage of its bits are payload?
Check
A receiver accepts a 16-bit sync word with at most one bit wrong. What's the chance that a random 16-bit window is accepted?
Check
A 16-bit sync word is searched for in random bits at 1200 bit/s.
(a)
How many times a second does random data match it?
(b)
On average, how long between false matches?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A frame carries 16 payload bytes and 64 bits of preamble, sync, length and CRC.
(a)
What fraction of the frame is payload?
(b)
How long does it take at 1200 baud?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A frame has a 32-bit preamble, a 16-bit sync word, an 8-bit length, 128 payload bytes and a 16-bit CRC.
(a)
What percentage of the bits are payload?
(b)
Scanning 10 million bits of random noise, about how many false matches of the sync word should the receiver expect?
Check
Payload share with 56 overhead bits and 46 payload bytes?
Check
False-match chance, 12-bit sync, one error allowed?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in D12