InterviewSolution
Saved Bookmarks
| 1. |
What can be said about a regular language L over {a} whose minimal finite state automaton has two states?(a) L must be {an| n is odd}(b) L must be {an| n is even}(c) L must be {an| n is even}(d) Either L must be {an | n is odd}, or L must be {an | n is even} |
|
Answer» Correct option is (d) Either L must be {an | n is odd}, or L must be {an | n is even} Easy explanation: There are two states. When first state is final, it accepts even no. of a’s. When second state is final, it accepts odd no. of a’s. |
|