FLAT 1st Assignment
FLAT 1st Assignment
b) NFA that accepts the strings such that all strings starts with 01 over ∑={0,1}.
3. Construct Mealy and Moore machine for the input from (0+1+2)* that gives residue
modulo 5 of input treated as ternary numbers(0,1,2).
4. Convert the following DFA in to regular expression :
5. Explain the procedure for converting Regular Expression to Finite Automata. And also
convert the regular exoression : (a+b)*abb into £-NFA.
6. Describe the following sets by regular exoression:
i)Set of all strings of 0’s and 1’s begin with 0 and ends with 1 over ∑={0,1}.
ii)Set of all strings with atleast one 0 ,one 1 and one 2 over ∑={0,1} .
iii)Set of all strings containing odd number of a’s over
∑={a}
7. Differentiate between DFA and NFA
8. Convert given NFA with epsilon moves into NFA without epsilon moves