Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Aptitude | GATE CS 1998 | Question 40

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Let L be the set of all binary strings whose last two symbols are same. The number of states in the minimal state deterministic finite-state automaton accepting L is
(A) 2
(B) 5
(C) 8
(D) 3


Answer: (B)

Explanation: Last two symbols of a binary string should be either 11 or 00. So it will be having 5 states.



Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 30 Jun, 2021
Like Article
Save Article
Similar Reads