Ms Qualifying Exam Automata
Ms Qualifying Exam Automata
Name: ID:
Automata Theory
Summer 2020, Faculty – ARa2
MS Qualifying Exam, Marks: 20, Time: 1 hour
Date: _____________
(You may use calculator. You may use pencil. Answer serially.)
2. [5+2+1+2 = 10 points]
a) Design a CFG for the language, L = {anbn+1: n ≥ 0}. Generate/derive aaabbbb from
your CFG.
𝑆 → 𝑆𝑆 | (𝑆)|( )
3. [7+3=10] Draw the transition diagram of a TM that accepts the language {anbn+1: n ≥ 0}.
Does your TM accepts the string aabbb? Why or why not? Explain.
4. [5+5 = 10 points]
a) Define any two of the following terms and give examples/explanations of each:
i. NFA
ii. Regular Expression
iii. Context Sensitive Grammar
iv. Parse Tree
b) Write briefly about any two of the followings: (i) Church-Turing Thesis, (ii) Chomsky
Hierarchy, (iii) Halting problem, (iv) Universal Turing Machine