CT1 101931 18CSC301T SetD AK
CT1 101931 18CSC301T SetD AK
Ans: c
9 Two FSAs can be said equivalent if 1 2 2 2 2.6.2
a) They have equal number of edges
b) They have equal number of states
c) They accept same language
d) They have equal number of states and edges
Ans: c)
10 What is the hierarchy of ε-NFA, DFA and NFA in increasing order of 1 2 2 2 2.6.3
flexibility?
a) ε-NFA, NFA, DFA b) NFA, ε-NFA, DFA
c) DFA, NFA, ε-NFA d) DFA, ε-NFA-NFA
Ans: a)
Part-B (1 x 5=5 marks)
11 A company has to assign employee IDs to its workers. The 5 5 2 6 6.3.1
employees in managerial cadre will be assigned IDs starting with
“MA” while the other workers will be assigned with IDs staring with
“WR”. The remaining part of their IDs should contain even number
of a’s and b’s. Create a DFA to this.
Register number _____________________________
(4+4+2)
Register number _____________________________
Register number _____________________________
Register number _____________________________
CO
25
20
15
10
5
0
CO1 CO2