Assignment For Slow Learners (Automata and Theory)
Assignment For Slow Learners (Automata and Theory)
a. A DFA for the set of all strings that don’t include substring “000”.
b. An NFA for the set of all strings of language L, where L = {aw1aa w2a: w1, w2 є {0, 1}*}.
c. A Regular Expression for the set of all strings that contains substring “10” exactly once.
d. Grammar G for the set of all strings of language L such that L (G) = {0n1n, n ≥ 0}.
2. Prove that for every NFA, there exists a DFA, which simulates the behavior of NFA. Convert the
following NFA into an equivalent DFA over Ʃ = {0, 1}.
δ 0 1
→p {p, r} {q}
q {r, s} {p}
*r {p, s} {r}
*s {q, r} Φ