GATE 1998
December 6, 2023
Theory-of-Computation
December 6, 2023
GATE 1998
December 6, 2023
Theory-of-Computation
December 6, 2023

GATE 1998

Question 40

Let L be the set of all binary strings whose last two symbols are the same. The number of states in the minimum state deterministic finite 0 state automaton accepting L is

A
2
B
5
C
8
D
3
Question 40 Explanation: 
NFA:

Equivalent DFA:

Hence, 5 states.

Correct Answer: B
Question 40 Explanation: 
NFA:

Equivalent DFA:

Hence, 5 states.

Leave a Reply

Your email address will not be published. Required fields are marked *