CST301 2023
CST301 2023
RegNo.:
APJ ABDUL KALAM TECHNOLOGICAL
B.Tech Degree 55 (R, S) / 55 (PT) (R, S) Examination December
I Draw transition diagram for NFA (without e-moves) for strings starting with '10' 3
or.ll,.p:{0,1}.
2 Design a DFA for strings in which fist and last letters do not match. X: {a, b}. 3
3 Give a regular exprcssion for the set of all strings not containing l0l as a 3
Substring.
4 State the closure properties of regular language. 3
7 What are the conditions required for push down automata to qualiff as 3
Module -1
I I a) Construct an c-NFA for the language l-= {Qnlm2P / n,m,p > 0} and convert it into 8
equivalent DFA.
b) Design a DFA for strings in which number of a's is multiple of 3 and number of
b's is multiple of 2.I = {a, b}.
12 a) Draw the state-transition diagram showing an NFA N for the following language
Page 1 of 3
Module -2
13 a) Find the Regular Expression forthefollowing DFA 7
b b
Module -3
15 a) State Myhill- Nerode Theorem. Prove the langrngs 1:{6nbn,where p:l is not
Regular using Myhill-Nerode Theorem.
Page 2 of3
b) Usrng Pumping lennna prove the given language is not cor16xt free. 7
L={at&colwhere n>-1}. I
Modde -5
lg a) Defirr formalty Type O Type l, Type 2 and rype 3 grammar. shm the 7
corr€splding arsomata for each class
b) Design a TM to nnA tne sum of two numbers m and n. Assume that initialty dF tape 7
' contairr m nunrber of 0s folhryed by # fdlowed by n number of 0s
20 a) Design c LinerBounded Automata forthe language L=anbnc
ln>=l | 7
b) Prove that 'Turing Machinc hatting problcm, is undecidable. 7
rl
Page 3 of3