multiple choice question What is the epsilonclosure ofq1 q2
multiple choice question.
What is the epsilon-closure of{q1, q2}? Undefined {q1} {q0, q1, q2, q3} {q1, q2} {q1, q2, q3}Solution
Answer:
E. { q1, q2,q3}
As we can see in state q1 there is not epsilon transition , therefore epsilon closure is q1.
In state q2 , there is epsilon closure from q2 to q3 , therefore epsilon closure is q2, q3
Hence epsilon closure for q1 and q2 is : {q1,q2,q3}
