C7 Digital logic · Practice
Designing finite state machines
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
How many flip-flops does a binary-encoded machine with 5 states need?
Check
How many unused codes does a binary encoding of 5 states leave?
Check
How many states does a Moore machine need to detect a particular 4-bit sequence?
Check
A detector must flag a 4-bit pattern, overlaps allowed.
(a)
How many states does a Moore version need?
(b)
How many flip-flops does a Mealy version need?
Check
How many flip-flops does a one-hot machine with 7 states use?
Check
Write the output of the 101 detector, which is 1 only in state 11.
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
A binary-encoded machine has 3 flip-flops. How many states can it have at most?
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 C7