NFA for 01(11+00)0*1

December 4, 2026 · Team EasyExamNotes · 1 min read (est.) · 0 comments

Share on WhatsApp

← RGPV CD-501 Theory of Computation November 2023 Solved Paper

Question

Construct an NFA equivalent to 01(11+00)0*1.

Asked in: CD-501 | November 2023 | 3(a)

Answer

Start q0; q0—0→q1—1→q2. Branch q2—1→q3—1→q5 or q2—0→q4—0→q5. Add q5—0→q5 and q5—1→q6, the only final state. All unspecified transitions are empty. The two branches enforce 11 or 00; the loop allows arbitrary zeros. Examples 01111 and 010001 are accepted.

← 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