Exam 1
-
Question
Consider the following automaton with initial state A and accepting state B:
Which of the following sequences are accepted?
-
1010011
-
01011
-
00100
-
1101
-
111110
Solution
The given automaton accepts input strings which consist of an
odd number of ones and
even number of zeros.
-
Not accepted
-
Accepted
-
Accepted
-
Not accepted
-
Not accepted