Home » Theory of Computation » Theory of computation miscellaneous » Question

Theory of computation miscellaneous

Theory of Computation

  1. Consider the finite automata in the following figure.

    Which is the set of reachable states for the input string 0011?
    1. {q0, q1, q2}
    2. {q0, q1}
    3. {q0, q1, q2, q3}
    4. {q3}
Correct Option: A

Following paths can be taken by the finite Automata for the input string “0011”:––


We note that no other path is possible for the input string "0011". So, finally union of all three cases gives us the set of Reachable states which is {q0, q1, q2}



Your comments will be displayed only after manual approval.