Professional Documents
Culture Documents
Exercises from the book Introduction to Languages and The Theory of Computation by John C Martin (3rd
Edition) - Chapter-1
1.4(a,c,e,g),1.13(a,c,e),1.16,1.17,1.19,1.22(a,b),1.28.
a) The language of strings ending in 1 and not containing 00 over Ʃ {0, 1}.
b) The language of strings containing either ab or bba as substring over Ʃ {a, b}
c) The language of all the strings containing exactly two 0’s over Ʃ {0, 1}.
d) The language of all strings that do not end with 01 over Ʃ {0, 1}.
e) The language of all strings not containing 00 over Ʃ {0, 1}.
4. Construct the minimal DFA that accept all string of a’s and b’s where
(C)
6. Let M1 and M2 be the DFA as given below, recognizing the languages L1 and L2 respectively:
M1 M2
7. Converts NFAs given in the figures into DFA that accepts the same language
8. Consider the following figure a and b of NFA-ε. Convert it to the corresponding NFA.