Regular Expression - DPP 01 Discussion Notes
Regular Expression - DPP 01 Discussion Notes
ENGINEERING
THEORY OF COMPUTATION
Regular Expressions
DPP - 01 Discussion Notes By- Venkat sir
[NAT]
#Q. The possible number of DFA with 2 states X,Y over the alphabet {a, b} where
X is always initial state ?
[NAT]
#Q. The possible number of DFA with 2 states X,Y over the alphabet {a, b} where
X is always initial state , that accepts empty language?
[NAT]
#Q. The possible number of DFA with 2 states X,Y over the alphabet {a, b} where
X is always initial state , that accepts complete language?
[MCQ]
Consider the DFA ,M with states Q={0,1,2,3,4}, input alphabet Ʃ = {0,1} start
state 0, final state 0 and transition function δ(q,i)=|q2 –i| mod 5 q ϵ Q, input
alphabets are {0,1}
#Q. The number of states in the minimal finite automata ,which is equivalent to
M is
A 1
B 2
C 3
D 4
[MCQ]
#Q. The regular expression for the language recognized by the following finite
automata is?
B L = {an/ n 1}
C L = {an b2n/ n 1}
D none
[MCQ]
#Q. Which of the following regular expression represents all strings of a’s and
b’s where the length of the string is at most ‘n’ is
A (a + b)n
B (a+b)n(a+b)*
C (a + b + Ɛ)n
B (r + Ɛ)* and r*