Toc Pyq-2024
Toc Pyq-2024
Theory. ofComPutati2.
19-11-20o 24
Seat
Ques tion
No WU23IV-223B
Code
Paper
Information Technology
S.Y.B.Tech. Sem-IV
2023-24(CBCS pattern)
End SemesterExamination
Q.NoSub
Que Marks
Multiple Choice Questions
12
ii. The Language ofall strings containing atleast two b's over alphabet fa,
ii. For the given Mealy machine, what is the output sequence for input
sequence 01001
00
00
a.01010 b. 01101
c. 001101 d. 10011
Seat
Question
No
Paper Code
v.
WUZ3INN
Definition of S for NFA -A is
a.6:0XO b.6:0X 20
c.6: Q X {U} 20 d. S: Q
a. SA b. S AS
C. S SA d. S a
vi.
The Language L generated by the Grammar S >aSbb |abb is
a. L= fa"br} b. L = {a"b²n}
c. L= {abr} d. L= {a"b}
C.
(Q. ,.qo,Zo, A, 8)
is represented
b. M =(Q, E, 6, qo. A, A)
M(0,,6,q0, A) d.M (Q,, 1, 6.q0. Zo. A. )
X. If A a a production
is in grammar G, then an equivale nt move in PDA
Information Technology
S.Y. B. Tech.Sen-IV
2023-24(CBCS pattern)
End Semester Examination
4. Q1 should be soved in first 30 minutes and answers should be writen only on the first
Language of:
1. All strings containing exactly two 0's
0. I
Seat Ques tion
No Paper Code
WU231V-2238
im.
Design Finite Automata for a Language having Regular Expression
(0+1)* 10over {0. 1}.
v.
Convert the following NFA to DFA:
ab
q0 g2
SS+S|S-SS*S S/S|(S)|a
Give the derivation and draw parse tree for the expression a+H(a*aya
a) S A0 |B
BA| 11
A 12 |B
b) S Aa B| Ca
B >aB|b
C>Db|D
DE|d
E ab
iV. Convert the given CFG to Chomsky Normal form:
Sa aA B |
>aBB|A
A
B Aa |b
Q.5 Attempt the following: 12