1,116 views
0 votes
0 votes
What will be the number of final and non-final states for the minimal DFA accepting the language which contains all the strings that either begin or end (or both) with 01?

Can anyone provide the DFA diagram for this?

2 Answers

Best answer
2 votes
2 votes

There will total 6 states,

final states 2, non-final states 4

The upper part is for starting with 01,

lower part is for ending with 01

selected by
0 votes
0 votes

dfa can contain 3 states because in question both is mentioned. Please correct me if I amwrong

 

Related questions

0 votes
0 votes
2 answers
1
0 votes
0 votes
0 answers
2
ankit-saha asked Mar 24, 2022
346 views
What will be the minimal DFA for $\left \{a^{n} :n mod 3 =0 \right \}\cup \left \{a^{n} :n mod 5 =1 \right \}$
0 votes
0 votes
2 answers
3
iarnav asked Mar 14, 2019
927 views
Given L = { 0*1 + 0 + 1* + 10*1}where + symbol is UNION and NOT positive closure.Please draw the Minimal DFA for this.
0 votes
0 votes
2 answers
4
aditi19 asked Dec 14, 2018
1,546 views
Given following NFAfind the minimal equivalent DFA