For More Question Papers Visit - www.pediawikiblog.com 1.5CsIIS54 .'

.:

)

Fifth Semester B.E. Degree Examination, Dec.2017/Jan.29;18 Automata Theory & Compatibility' . Time: 3 hrs,

FIVEfull ote: Answer . 1

.'

Max. Marks: 80

co m

<

.

questions, choosing one full question/rom 'each module. ..

" Module-l Define the fo llowing terms with examples: (i) Alphabet (ii) Power of an alphabet (iii) Concatenation (iv) Languages (04 Marks) Draw a DFA to accept strings of a's and b's ending with 'bab' _ ,', (03 Marks) Convert the following NDF M Fig. Q I (c) to its equivalentl)FSM. (09 Marks)

a.

lo

g.

b. c.

Fig. QI (c)

OR Draw a OF M to accept the language,

b.

L = {w E {a,b '
r:

ib

a.

r

Marks)

rs-ro--T -

ik

2

B A A C D Bt D AI 0 F' G E

G

F G

aw

.A B C *0 E F

a.

di

w

3

II 0 (i) Draw the table ofdistinguishable and indt tinguishahle state for the automata. (09 Marks) (ii) Construct minimum tate equivalent of automata. Write differences between DFA, FA and E- FA. (04 Marks) Module-2 Consider the DF A shown below:

.p e

c.

G

3

w w

Obtain the regular expres ions R,/o, R'J possible.

2

o c

~ o

0.

E

b.

is

and simplify the regular expressions

!)

z

I

>.

Give Regular expressions for the following languages on (i) (ii)

all strings containing exactly one a all strings containing no more than 3 a's.

(iii)

all string

I =- {a, b.c]

that contam at least one occurance of each symbol in

much.as

(O~..Mllrks)

I

.

(03 Marks)

I of3

For More Question Papers Visit - www.pediawikiblog.com

.""\

3

\

~,,'." bet L be the language

accepted

,..... - .... \ '.

by the following

(04 Mar

finite state machine.

b

,

For *v Papers Visit - www.pediawikiblog.com .:<~ ".:'-More Question

;

f, .'

Fig. Q3 (c) l~r each of the following

(i)

(a (;

.

regular

expressions,

whether

(ii)

(€,u~b)a(bb * a) *

(iii)

bauabl4
(i)

(aub'a)(bb*a)*

. a.

\

OR

Prove that the following

Jarig~1age in not regular: \, " . L2 are regular languages then prove

b.

If LI and

c.

languages. Is the following S ~ iC + S I iC

that

LJ uL2,

Ll.L2 and

grammar + SeS I a

is ambiguous? ,

"

(06 Marks)

,

B~SbSIAlbb Let G be the grammar,

' .)

r...

bA aSJ bAA

(09 Marks)

w

B~blbSlaBB

(03 Marks)

for each.

ib

Define Grammar, Derivation, Sentential forms and give one example What is CNF? Obtain the following grammar In CNF S~ASBIE A~aASla

S ~aBI A ~al

L'J are regular

ik

c.

(05 Marks)

.~

'

(05 Marks)

Module-3 a. b.

,

a.

\.

/

\.

ed

.......

ia

For the string aaabbabbba find a (i) Left most derivation, (ii) Rigti~most derivation, (iii) Pats~iree. , -

6

Explain the-following (i) (,; Pushdown (u)' Languages

b. _,S::~n~tr'uct a PDA

(04 Marks)

OR

terms: automata (PDA). of a PDA.

Instantaneous

.p

~ Qii)/

L:

,

L = {onI 11'1 n > O}. I

C~b

5

describes

ba )bb * a

/

4

it correctly

lo g. co m

Indicate

to

description

accept

the


of a PDA. language

L

= ~WR

IW

E

{a, b}'}.

Draw

Marks)

the' graphical

w w

w

representation ofthi PDA, Show the moves made by this PDA for the string aabbaa. ----~-~ (10 Marks) c. Convert the following CFG (0 PDA S~aABBlaAA

A~aBBla

B~

bBBIA

c-»

(03 Marks)

2 of3

For More Question Papers Visit - www.pediawikiblog.com

For More Question Papers Visit - www.pediawikiblog.com 15~SIIS54

I 7

1/;;

Module-4

!l-:-::::I.f;L1 and L2 are context free languages then prove that LI U L2' L\ . L2 and L"I~

~ntext

6

n(; ,ATe~~anguages. b. vG~ __ a.decision procedure to answer each of the following questions: \' ..{1) "Given a regular expression a and a PDA M, the language accep~~ M a subset .r.: "Ir--i· (", 0¥ the language generated by a? r: v <~/ (ii), ,)Given a context-free Grammar G and two strings SI and S2, d@s'J1 generate S,S2? (iii)\~9iV~Q a context free Grammar G, does G generate any even.))e..~ strings. (iv) 'G~v..e',t a Regular Grammar G, is L(G) context-free? . ' (12 Marks) 04 Marks)

(,

{

/..;\\.

/~',

v~"

. ~ OR (OS Marks) Explain with nea~ ~i~&ram, the working of a Turing Machine ~j9r Design a Turing mic~~\ to accept the language L = {a I} . Draw the transition diagram. Show the m(1f~~~ade by this turing machine f<;R~e\s'tring aabbcc. (11 Marks)

»>: '

<"''//,:; :

8

:

lo g. co m

,~\@

a.

n~~~J?{>=

b.

' --;>!->~.'>

\'"

\

a. b. c.

-..

'

1,/'·....... r ,

-II

...),- .•

e .

(16 Marks)

ib

9

«\~y

'-..." Module-5 ..," Write short notes on: ( (' ,; I--::'I.~~""·) Multi-tape turing machine, '--\.) ~ '.Q.()/ ~>Y'l;:/' Non-deterministic turing machille:; . "-./ \ / Lmear Bounded automata. ,:: .-/ r::'\... \,/ '-

/

" /i{)R '. ~'

"

Write short notes on: Undecidable languages. Halting problem ofturing machine. . The post correspondence problem"

10

/.

.J

ik

a. b. c.

V'

'v

w

-,

,,***** ,,>}

",-,'

.;'-

/"

. )' 1 -- /

w w

w

.p

ed

ia

"

\

(/ ./

-.

,' -,,' 'J

3 of 3

For More Question Papers Visit - www.pediawikiblog.com

(16 Marks)

Automata Theory Jan 2018 (2015 Scheme).pdf

Explain the-following terms: (i) (,; Pushdown automata (PDA). (u)' Languages of a PDA. ~ Qii)/ Instantaneous description of a PDA.

2MB Sizes 1 Downloads 241 Views

Recommend Documents

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 ...

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).

Digital Electronics Jan 2018 (2015 Scheme).pdf
... i-, -, (10 Marks). b. Explain SIPO and PI SO ~hift registers with relevant logic dlagrams. (06 Marks) y. OR. 8 a. Explain the working principle-of 4bit binary ripple ...

Railways Jan 2018 (2015 Scheme).pdf
the layout ofa B.G yard, calculate the super elevation and the speed on the branch line if the ... Estimate the quantities of materials required to construct one km long BG railway ... Explain briefly the various classification of a railway station.

Jan/July 2015
School of Education ... a) Explain the concept of educational technology. ... a) Describe the process of communication and the ways to overcome the barriers to.

Jan/July 2015
Course : MES-031 : ET – AN OVERVIEW. Answer the following questions in about 500 words each. a) Explain the concept of educational technology. Discuss ...

Jan.2018.pdf
Spelling Bee. 22. 23. Early Dismissal ... card. If you need to add someone. you must come into the. office. Inspire Empower ... Displaying Jan.2018.pdf. Page 1 of 1.

Jan. 2018 Breakfast.pdf
A1ft. forms equation of line. ft only on their gradient. (ii) x y = → = += 0.5 ln 4 3 3 9.928. y = 20 500. M1. A1. correct expression for lny. (iii) Substitutes y and rearrange for 3x. Solve 3x. = 1.150. x = 0.127. M1. M1. A1. Page 3 of 10. Jan. 20

Intro to Photo Syllabus Jan. 2015 - PDFKUL.COM
Adobe Photoshop CS6 software installed. You will have Photoshop ... for completion of assignments. This class consists of in-class demonstrations and lectures, out of class shooting assignments, reading and research about photo ... Photo History –

Newsletter 25 Jan 2015 final.pdf
Page 1 of 4. CHURCH OF SAINT MARY. 25 January 2015. Third Sunday in Ordinary Time. 4 HOLLY PLACE. LONDON, NW3 6QU. Telephone: 020 7435 6678.

CN Jan 2015.pdf
Page 2 of 9. As a reminder, Cyclenation News is reprinting its report of the S4C meeting held. in Sheffield last year: With the General Election fixed for 7.

Draft List Jan 2015 PBMVC.xlsx -
Norman & University (CTH MS) (D-19). -42. 16 .... Marquette & Milwaukee. -57. 13 ... Northport & School (D-18). -63. 13 ..... High Point & Midtown (D-1). -54. 0. 48.

PTO Minutes Jan. 2015.pdf
The school app is being. previewed and is almost up and ready. Dr. Ford is working on a partnership with the town. (economic development planning committee) ...