GATE CS 2020 · Question 61 · Theory of Computation · Numerical answer (NAT) · 2 marks · no negative marks

Consider the following language.
L = {x ∈ {a,b}^* | number of a's in x is divisible by 2 but not divisible by 3}
The minimum number of states in a DFA that accepts L is ______.

Answer

Answer 6

Answer from the official GATE CS 2020 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes