in Theory of Computation edited by
446 views
0 votes
0 votes

The minimum number of state in the DFA for the language $L = \{ w \mid w \in \{a,b\}^* \text{ w has exactly two a's and at least two b's} \}$ is 

  1. $9$
  2. $10$
  3. $16$
  4. None
in Theory of Computation edited by
446 views

1 comment

Is it 10 state??
0
0

2 Answers

1 vote
1 vote

As we can see there are two language ,one exactly two a's and other at least 2 b ,so in first lang after getting 2 a's , onwards 3rd a should not be accepted so there is trap state and for second after getting 2 b's ,any no. Of b's are accepted.

0 votes
0 votes

there will be 10 states in dfa 

2 Comments

Which are final states ?
0
0
9 is final state
0
0

Related questions