edited by
17,249 views
65 votes
65 votes

Consider the DFAs $M$ and $N$ given above. The number of states in a minimal DFA that accept the language $L(M) \cap L(N)$ is_____________.

edited by

12 Answers

5 votes
5 votes
M=> it is the DFA for "ends with a" => (a+b)*a

N=>it is the DFA for " ends with b"=>(a+b)*b

so the intersection would result in null..

so only 1 state is required..
3 votes
3 votes

M1 :  language of all strings ends with a

M:   language of all strings ends with b

all strings over alphabet {a,b} either ends with a or ends with b, 

hence intersection of these languages will result an empty set { }.

so, there will be only 1 state which is not final.

1 votes
1 votes

M accepts the strings which end with a and N accepts the strings which end with B. Their intersection should accept empty language.
So answer is 1

Answer:

Related questions

31 votes
31 votes
2 answers
1
36 votes
36 votes
6 answers
3
go_editor asked Feb 13, 2015
15,640 views
The number of states in the minimal deterministic finite automaton corresponding to the regular expression $(0+1)^* (10)$ is _____.