For More Question Papers Visit - www.pediawikiblog.com 10cs56

USN

Fifth Semester B.E. Degree Examination, Dec.2015 IJan.20l6

Formal Languages & Automata Theory Time: 3 hrs.

Max. Marks:100

la.

co

(85 Man'ks) What is Automata? Discuss why study automata. (04 Nlarks) Mention the differences between DFA, NFA and NFA-c . Design a DFA to accept the language L = {W/W is of even length and begins with 01}.

b.

d

d .J I

d.

:r)

Design the NFA-e or NFA for the languages given below: i) abe, abd and aacd {Assume l: a,b,c,d }

ii) lab,abclx {Assume [=a,b,c]

boP X2 d9

,,

2 a.

Covert the following NFA-e to DFA using "subset construction sclxeme"

.g& eO

6;;

!O

ia

i) ;=1a2nb2-:n>0, m>0) ii) Language over {0, 1} having all strings not containing Convert the regular expression (0+1).1(0+l ) to a NFA-e

-+A

B

A

cno

B

A

C

O= F>

C

D D D G

B A

w w

o.= >1 (F

o

w

U<

o

o. E

{
E F

G

o o

Z P

{08 Marks)

(06 NIarks)

regular

languages.

Show

that

(08 h{arks) (04 Manks)

F 1.,

tl

D F-ig. Q3 (c)

F{

D ii)

F'

(06 N{arks)

00.

.

a. State and prove pumping Lemma theorem for I = {a"b' ln > 0} is not regutrar. b. What is Homomorphism? Explain with an example. c. Consider the transition table of DFA given below: 01

.p

oj ?-Y

(\$4 Marks)

Fig. Q2 (a) Define Regular expression and write regular expression for the following languages:

ed

b. c.

qc-

Marks}

w

*-

o€

{&6

ik

io

oO (dO -k

g.

O

PART _ A

lo

o

ib

a)

m

Note: Answer FIVEfull questions, selecting at least TWG questionsfrom ewck pat't.

G

Draw the table of distinguishabilities of states. Construct the equivalent minimized DFA.

ofL For More Question Papers Visit -1www.pediawikiblog.com

{08 *4arks)

For More Question Papers Visit - www.pediawikiblog.com 10cs56 Obtain a grarmnar to generate integers and write derivation for the unsigned integer 1965. (08 Marks) Consider the grammar:

-+

aS I aSbS le

.Is the above grannma.r ambiguous? Show that the string aab has two i) . Parse frees ii) Left most derivations iii) Rightmost derivations

PART _ B

b.

Define pDA. Design PDA to accept the language L(M) = state and also give the graphical representation of PDA. Convert the follorving CFG to PDA:

S+aABBlaAA

lr,r e (a

* b)-} by a final

lo

A -+ aBts la

B+bBBlA

(tr2 Marks)

Consider the fcrllowing grammar:

S+AStsle

ik

A+aASla E+SbSlAlbb

(08 Marks)

ib

C-+a

6a.

{*a*o

(12l\{arks}

g.

5 a.

-

m

S

co

a. b.

i)

C.

and also write its transition

b.

Explain

ttrLe

diagram.

(12 Marks) general structure of multitape and non deterministic turing machines. (08 Marks)

w

w w

I

(08 Marks)

Design a ttring machine that perf,orms the following function: *qrcoo for any rrl e {1} x eoo l*

.p

7 a.

ed

b.

ia

w

Are there any useless symbols? Eliminate if so. ii) Eliminate e productions. iii) Eliminate unit productions. iv) Fut the grarnmar into Chomsky Normal Form. (08 IVIarks) Show that L = {anbnc' in > 0} is not context free. (S4 Marks) Frove thattthe context free languages are closed under union, concatenation and reversal.

a. b. c. d.

Write short notes on: Applications of regular expressions. Applications of context free Grammars. Fost's correspondence problem. Chomsky hierarchy.

(20 Marks)

,FA**r,<

2 of2- www.pediawikiblog.com For More Question Papers Visit

## Formal Language & Automata Theory Jan 2016 (2010 Scheme).pdf ...

There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Formal ...

#### Recommend Documents

GNDEC B.Tech CSE 4th Year 2009 Formal Language & Automata ...
c) What do you understand by context sensitive grammars? d) What ... Displaying GNDEC B.Tech CSE 4th Year 2009 Formal Language & Automata Theory.pdf.

formal languages and automata theory by apuntambekar pdf free ...

CSE-V-FORMAL LANGUAGES AND AUTOMATA THEORY [10CS56 ...
Page 1 of 125. FLAT 10CS56. CITSTUDENTS.IN Page 1. FORMAL LANGUAGES AND AUTOMATA THEORY. Subject Code: 10CS56. Hours/Week : 04.

Introduction to Automata Theory and Formal Languages.pdf ...
... Modern computer science: compilers,. computational & complexity theory evolve. Page 4 of 25. Introduction to Automata Theory and Formal Languages.pdf.

Mechatronics & Microprocessor Jan 2016 (2010 Scheme).pdf ...
Expiain static and dynamic characteristics of sensors. Explain workirlg principle of Hall effect sensor. Deftne following terms: i) Hysteresis error. ii) Repeatability.

Graph Theory Jan 2018 (2010 Scheme).pdf
the graph and its dual. Fig.Q2(b) (06 Marks). c. Find the chromatic polynomial and chromatic number for the graph shown in Fig.Q2(c). bFig.Q2(c) (OSMarks).

Non Conventional Energy Sources Jan 2016 (2010 Scheme).pdf ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Main menu.

Power Electronics Jan 2016 (2010 Scheme).pdf
Z b. Explain the working of single phase semiconvert with neai circuit and waveforms. Derive ... Effiin the working of transistorized current source inverter.

Hydraulics & Pneumatics Jan 2016 (2010 Scheme).pdf
cylinder using a 412 solonoid acfuated spring retum cylinder. ^&-, (10 Marks). b. Explain the cylinder pneumatic circuit and its motion control diagraqffi (10 Marks).

Advanced Concrete Technology Jan 2016 (2010 Scheme).pdf ...
Page 1 of 2. USN 10cv81. Eighth Semester B.E. Degree Examination, Dec.2015 I J an.20l6. Advanced Goncrete Technology. Time: 3 hrs. Max. Marks:100.

Programming in C++ Jan 2016 (2010 Scheme).pdf
i) # define square(x) x * x. void main( ) ... Describe hase class access control with an example. b. ... Displaying Programming in C++ Jan 2016 (2010 Scheme).pdf.

Computer Networks 2 Jan 2016 (2010 Scheme).pdf
Try one of the apps below to open or edit this item. Computer Networks 2 Jan 2016 (2010 Scheme).pdf. Computer Networks 2 Jan 2016 (2010 Scheme).pdf.