Question: will not be considered a correct answer, and only what is written in the answer will be used to verify accuracy. No vague descriptions or

will not be considered a correct answer, and only what is written in the answer will be used to verify accuracy. No vague descriptions or sufficiently ambiguous statements that can be interpreted in multiple ways will be considered as a correct answer, nor will the student be allowed to add any explanations to his/her answer after it has been submitted.
Problem 1(20 points):
Fig. 1 shows a toy for a young child. A marble can be dropped either at x or at Y. Levers , and cause the marble to fall either to the left or to the right. When a marble hits a lever, it causes the lever to change its direction, so that the next marble to encounter the lever will take the opposite branch.
Model the toy as a deterministic finite automate (DFA) and show the transition diagram of the DFA. Denote a marble dropped at x as input 0 and a marble dropped at Y as input 1. A sequence of inputs is accepted if the last marble comes out at A.
DRAW transition table and the graph!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!