1.

The number of states in DFA that accepts the language L(M) ∩ L(N) is _________(a) 0(b) 1(c) 2(d) 3

Answer» Correct choice is (b) 1

Easiest explanation: In DFA M: all strings must end with ‘a’. In DFA N: all strings must end with ‘b’. So the intersection is empty. For an empty language, only one state is needed.


Discussion

No Comment Found

Related InterviewSolutions