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

Theory of computation miscellaneous

Theory of Computation

  1. Let δ denote the transition function and d denote the extended transition function of the ∈-NFA whose transition table is given below:

    Then d (q2, aba) is
    1. φ
    2. {q0, q1, q3}
    3. {q0, q1, q2}
    4. {q0, q2, q3}
Correct Option: C

Converting the table to a state diagram then we get.

then, δ̂= (q2 aba) All states reachable from q2 by aba.
If aba is broken as ∈ , a , ∈ , ∈ , b , a then from q2 it can reach q1 and from there by null transaction to reach state q2 as well as q0.
Consider, (q2 , a) = (q2 , ∈ a) = {q1 , q2 q0}.
(q2 , ab) = (q1 , b) = {q0 , q3 , q2}
(q2 , b) = {q0 , q2}
(q0 , b) = {q0 , q2}
(q2 , aba) = (q0 , a) = {q1 , q2 , q0}
(q1 , a) = {q2 , q0}
(q2 , a) = {q1 , q2 , q0}
(q3 , a) = {q3}
Then, δ̂= (q2 aba) = {q1 , q2 , q0}
= {q0 , q1 , q2}
Hence option (c) is correct.



Your comments will be displayed only after manual approval.