Assessment 203105305-2
Assessment 203105305-2
Assessment 203105305-2
a) L = {a,b}
b) L = {a+b}
c) L = {a}
d) L = {b}
a) r* = €
b) r* = ф
c) r+ = €
d) None of the above
8. The sum of minimum and maximum number of final states for a DFA n states is
equal to:
a) n+1
b) n
c) n-1
d) n+2
9. Which of the following options is correct?
Statement 1: Initial State of NFA is Initial State of DFA.
Statement 2: The final state of DFA will be every combination of final state of
NFA.
a) Statement 1 is true and Statement 2 is true
b) Statement 1 is true and Statement 2 is false
c) Statement 1 can be true and Statement 2 is true
d) Statement 1 is false and Statement 2 is also false
6. The finite automata is called NFA when there exists____________ for a specific
input from current state to next state
10. No. of states in minimal DFA which accepts string starting with “a” and ending
with “a”.
11. No. of states in minimal DFA which accepts string starting with “a” and ending
with “b”.
12. No. of states in minimal DFA which accepts string starting with “101”.
4. Define DFA.
5. Define NDFA.
2. Construct the regular expression that generates all the string of a’s and b’s
where
11. Use Pumping Lemma to show that following language is not regular. L =
{ wwR / w ε {0,1}* }
12. Prove that the language L = {0n: n is a prime number} is not regular.
13. Minimize the following DFAs