Professional Documents
Culture Documents
com
B.TECH.
THEORY EXAMTNATTON (SEM-IV ) 2Ot6-17
THEORY OF AUTOMATA AND FORMAL LANGUAGES
Time : 3 Hours Mox. Marks : 100
Note : Be precise in your answen In case of numerical problem assume data wherever not provided,
SECTTON-A
l.
(c)
www.aktuonline.com
(d)
SECTION-B
, Attempt any five of the following questions!
At
5x10=$[
(a) (i) Convert the NFA- e to DFA,
www.aktuonline.com
www.aktuonline.com
(ii) Check with the comparison method for testing equivalence of two FA given
below.
*i*u'".*"',u"**ffi
.-'ffi*,I*}ffi'-
t**"*=fiU******=1
*r,n -tl*t**
ru',r*-u-ira".ffi ="u.,...'
,..'il"t=i.u**ttt"t
tll.,J,ft
-
i:!.::::r::::::ill
: . ::{:.::i::::l::..i
.i:,;:.'::
',::]j:.,}]:i,:i,|1:,]'
.:,.''i;i.:.;i.
:r..
":i:r::.:::: :
:...
,,.
i:'
j
:':.
r 1..:::.
1:
,iiili,::,.:.l,.,,.1.lt,t,:",l::li'l:L:ii,t-.rri,;llil.liiliil,::;::ll:l,l:iii:liili
, ,',','.......
: 'll,....;....,.';.;.,,i....;..r',,,.. ::,l.,
'
,....,..,,.: i.,:' .X:.r,
. i
,,i.ii,:::.,.i.i:,,:,:t,
,,,
....,:.,.,.i,:::
.,.t,t,:.:,:
:::i::: , ..:
.l::, .,.t..,,,,,i.:.::i;,;,,...;.;:....a
',.,,.,",
:;::::':::i., . ,: ,:
,,.i.,,..',*irti
.,,,; :i :i'ii',
:: : ,:., ,
with the left most and right most derivation. Draw the derivation tree.
(e) (i) Find out whether the language 1 = {xnfzn I n} I } is context free or not'
(ii) Construct a PDA that accepts 1= { wwR I w = (a+b)* }
(f) (0 Convert the following CFG into CNF
S --+ Xy lxn lp
X --r mX Im
f-+Xnlo
(ii) convertthefollowingcFGintocNF s-+ASAlaB,A**B I S,B-+ble
(g) Design a TM to recognize all strings consisting of an odd number of c's.
(h) Prove that the halting problem is undecidable'
SECTION _ C
Attempt any two of the following questions:
2x 15 = 30
3. (a)(a) Minimize the autornata
automata given below
www.aktuonline.com
www.aktuonline.com
(b) Compute the epsilon- closure for the given NFA. Convert it into DFA.
5, (a) Prove that single tape machines can simulate multi tape machines.
(b) Design a TM to recognize all strings consisting of an odd number of c's.
www.aktuonline.com
www.aktuonline.com