Professional Documents
Culture Documents
Theorey of Automata
Theorey of Automata
Theorey of Automata
**********************************************************
Note: Every Question has equal marks. Attempt all questions (40 Marks)
Question # 1: Design NFA’s to recognize the following sets of strings and convert each of
NFA’s into DFA’s.
a) abc, abd, and aacd. Assume the alphabet is {a, b, c, d}.
b) ab, bc, and ca. Assume the alpha bet is {a, b, c}.
Prove that the language generated by these productions is the set of all words with an even
number of a’s, but not no a’s.
Question # 4:
Design a TM that accepts the language EQUAL, that is, the language of all strings with the same
number of a's and b's.
Question # 5: