in Theory of Computation retagged by
15,595 views
36 votes
36 votes
The number of states in the minimal deterministic finite automaton corresponding to the regular expression $(0+1)^* (10)$ is _____.
in Theory of Computation retagged by
15.6k views

6 Answers

55 votes
55 votes
Best answer

All strings ending with $10$. So, we need $3$ states.

  1. From first state on $1$, we go to second state. 
  2. From second state on $0$ we go to third state.
  3. From third state on $0$ we go to first state and on $1$ we go to second state. 

Only third state is final. 

L = (0+1)*10 Minimal DFA will be as follows: 

edited by
by

4 Comments

@Bikram Veteran

when ever we convert nfa to dfa is it always we get minimal dfa.can anyone explain plz
0
0
No.we have to further reduce the DFA (if possible) using myhill-nerode theorem or using concept of equivalence classes.
0
0
Minimization of DFA -- standard algorithm exist in any TOC textbook.
0
0
2 votes
2 votes
atleast 3 states  require to for this regular expresssion.
.

1 comment

why we cant use dead state…

 

and when we will use it. i am little bit confuse, some time when  ques. ask for minimal  dfa we use it and sometime not,

pls tell me when we use dead state and when not
0
0
1 vote
1 vote
Make NFA from given R.E and then convert it to DFA, you'll get Arjun Sir's DFA and Answer as 3 states!

4 Comments

edited by

see this is the actual procedure

14
14
Your final dfa can't accept string 110 so wrong moves
1
1
Now it is corrected.
0
0
1 vote
1 vote

Minimun number of states req. by DFA = 3

 

Answer:

Related questions