GATE CS 2011 · Question 42 · Theory of Computation · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
Definition of a language L with alphabet {a} is given as following.
L = { aⁿᵏ | k > 0, and n is a positive integer constant }
What is the minimum number of states needed in a DFA to recognize L?
- (A) k+1
- (B) n+1
- (C) 2ⁿ⁺¹
- (D) 2ᵏ⁺¹
Answer
Answer (B)
Answer from the official GATE CS 2011 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes