Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2018/digital-systems-linear-algebra-introduction-to-formal-proof/1/b/solution

Five distinct states require three D flip-flops, since . Choose the state encoding equal to the three-bit binary expansion of . Write the present bits as , in decreasing significance. The state transition table is
The dashes are don't-care conditions for minimizing the logic. They do not prescribe what the actual circuit will do in those unused states; part (e) determines that from the chosen equations.

New to topics? Read the docs here!