Professional Documents
Culture Documents
2. (a) Convert the following Nfa-€ to DFA using? Subset construction scheme?
(b) Define Regular expression and write regular expression for the following languages
i)L={a^2nb^2m n>=0,m>=0}
ii) Language over {0,1} having all strings not containing 00.
(c) Convert the regular expression (0+1)*1(0+1) to NFA-€
3(a) state and prove pumping Lema theorm for regular languages.Show that L={a^n
b^n|n>=0} is not regular
(c) Consider the transitition table of DFA given below :
(ii) Construct the equivalent minimized DFA
4
(a) Obtain a grammer to generate integers and write derivation for the unsigned integer 1965
(b) Consider the grammar:
S->aS|aSbS|€
Is the above grammar ambiguous? Show that the string aab has
two
i)Parse Trees
ii) Left most derivation
iii) Right most derivation
5
(a) Define PDA Design PDA to accept the language L(M)={wcw^r |w€(a+b)*} by a final
state and also give the graphical representation of PDA.
6
(a) Consider the following grammar :
S->ASB|€
A->aAS|a B-
>SbS|A|bb
i)Are there any useless symbol?Eliminate if
so. ii)Eliminate € productions.
iii)Eliminate unit productions.
iv)Put the grammar into Chomsky Normal Form.
(b) Show that L={a^nb^nc^n|n>=0} is not Context free.
(c) Prove that the Context free languages closed under union,concatenation and reversal.
7
(a)Design a Turing machine that perform the following function:
q0w|-qf ww for any w€{1}* and also write its transition diagram.
(b)Explain general structure of multitape and non deterministic Turing machines.
______________________
Faculty In-charge
CANARA ENGINEERING COLLEGE
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
5 SEMESTER B SECTION B.E. DEGREE ACADEMIC YEAR 2019-20
Course Title AUTOMATA THEORY AND COMPUTABILITY
Course Code 17CS54
Intermediate and
Correct answer Intermediate and final Intermediate or final
final answers are not
generation(2M) answers are correct answers are correct
correct
Faculty In-charge