Automata Tut1
Automata Tut1
Tutorial 1
2. Which of the following string(s) will not be accepted by the DFA in the Figure 1.
A 000000101
B 01110000001
C 010
D 000010
E 000011111
F 101
3. Construct a DFA which accepts the set of all strings over {a,b} where each strings starts with ‘a’.
4. Construct a DFA which accepts the set of all strings over {a,b} where each strings ends with ‘a’.
5. Construct a DFA which accepts the set of all strings over {a,b} where each strings starts with ‘ab’.
6. Design a DFA over Σ = {0, 1} which ends with 100.
7. Design a DFA over Σ = {a, b} which starts with ’a’ and ends with ’b’.
8. Design a DFA over Σ = {a, b} which contains ’ab’ as a substring.
9. Construct a DFA which accepts the set of all strings over {a,b} where each strings starts and ends with
same symbols. (meaning if starts with ‘a’ it should ends with ‘a’ and vice versa)
10. Construct a DFA which accepts the set of all strings over {a,b} where each strings starts and ends with
different symbols. (meaning if starts with ‘a’ it should ends with b and vice versa).