Assignment 1 Automata
Assignment 1 Automata
Problem Set 1:
1. Construct a DFA over {0,1} that accepts all strings containing at least
one '1'.
2. Construct a DFA over {a, b} that accepts strings that start with 'a'.
3. Construct a DFA over {0,1} that end with '0'.
4. Construct a DFA that accepts the empty string and only the string "0"
over {0,1}.
5. Construct a DFA that accepts strings of exactly length 3 over {a, b}.
6. Construct a DFA that accepts only the string "ab" over {a,b}.
Construct a DFA that accepts strings over {0,1} with no consecutive 1’s.
Theory of Automata V4 Assignment 1 25 April 2025
Problem Set 2:
1. Construct a DFA that accepts strings over {0,1} where the number of 1’s
is even.
2. Construct a DFA that accepts strings over {a,b} where baa appears as a
substring.
3. Construct a DFA over {a,b} where no two a’s appear consecutively.
4. Construct a DFA that accepts strings over {0,1} starting and ending with
the same symbol.
5. Construct a DFA that accepts strings over {a,b} with exactly two b’s.
Problem Set 3:
1. Construct a DFA over {a,b,c} where 'b' never appears before 'a'.
2. Construct a DFA over {a,b} that accepts strings containing at least two
a's and at most one b.
3. Construct a DFA that accepts binary strings that do not contain the
substring "1011".
4. Construct a DFA over {0,1} that accepts strings where the number of 0's
and 1's is equal.