Professional Documents
Culture Documents
of Pages: 4
FACULTY OF TECHNOLOGY
UNIVERSITY OF DELHI
B.E- (5th Semester -Computer Engineering / 7th Semester-ICE)
End Semester Examination December 2020
CEC15 – Theory of Computation
Max. marks – 50
Time: 3 Hrs (for Writing Answers) + 1 Hr (Download Question Paper, Scan & Upload Answer
Script)
Note:
1. a. Find DFA that accepts set of all strings on ∑={x, y} starting with 3
prefix xy
b. Consider the following NFA transition table. Convert the given
NFA to minimum state DFA showing all the steps. 7
State 0 1
!A A A, C
B D C, D
C E ----
*D E ----
*E --- ---
B D C 0
C C B 1
D A D 1
3. a. Design Context free grammar for aibncn where n≥1 and i≥0 3
b. Convert the given grammar to CNF. Show all the steps.
7
X!AXA|bA
A!B|X
B!c
Name : _________________________