← RGPV CD-501 Theory of Computation November 2023 Solved Paper
Question
Obtain a regular expression for the automaton with initial and final q₁ and transitions (on 0,1): q₁→(q₁,q₂), q₂→(q₃,q₂), q₃→(q₁,q₂).
Asked in: CD-501 | November 2023 | 3(b)
Answer
Let R1,R2,R3 denote suffix languages leading to acceptance. R1=ε+0R1+1R2; R2=1R2+0R3; R3=0R1+1R2. Substitution gives R2=(1+01)*00R1. Hence R1=(0+1(1+01)*00)* by Arden’s theorem. The expression includes ε and all paths returning to q1.
← RGPV CD-501 Theory of Computation November 2023 Solved Paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion