HW 1
HW 1
Homework#1
Due Time: March 4th, 2019
a) Strings with an even number of quotes. That is, ’abc’, abc’’dd, aa’a’a’a’ are legal
strings while ’a, ’a’a’ab’a’ are illegal strings. Σ = {a,b,’ }.
b) Strings with an even number of letters. That is,Ɛ , ab, bbba, aaaaaa are legal strings
while a, aba are illegal strings. Σ = {a,b}.
0((0|1)∗1)∗1
a) Construct the state transition table for the DFA, starting from the start state.
b) Draw the state graph for the DFA.
c) If necessary, minimize the state graph for the DFA.