GATE CS 2023 · Question 63 · Theory of Computation · Numerical answer (NAT) · 2 marks · no negative marks
Consider the language L over the alphabet {0, 1}, given below:
L = {w ∈ {0,1}^* | w does not contain three or more consecutive 1's}.
The minimum number of states in a Deterministic Finite-State Automaton (DFA) for L is ______.
Answer
Answer 4
Answer from the official GATE CS 2023 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes