TOC_Endsem
TOC_Endsem
of Questions :8|
SEAT No. : t90o S8 7
P-7617
|Total No. of Pages:2
|61801-137
T.E. (Anformation Technology)
THEORY OF COMPUTATION
(2019 Patterh) (Semester-I) (314441)
Time : 2% Hours] /Max. Marks : 70
Instructions tothe candidates
) Answer Ql or Q2, Q3 or Q4, Q5 or Q6, Q7 or Q8.
2) Neàt diagrams must be drawn wherever necessary.
3) Figues to the right side indicate full marks.
4) Assumè Suitable data if necessary.
Q1) a) Define context free grammar. Write down CFG for the following regular
expression. |6]
(0+1)0*(1+(01)*)
b) Write a note on Chomsky hierarchy. 16)
c) What is an ambiguous grammar ?Explain with a suitable example. (6]
92) a) What are left linear andright linear regular grammars? Explain the process
of converting a LefLnear Regular Grammar to Right Linear Regular
Grammar with an example. 17]
b) Construct a CNF for the following grammar. 6]
S’aAbB
A’aAla
B->bB|b
c) Check whether the given language is CFL or not L(ab'cn>=0} (5]
|6180]-137 2