Theory-of-Computation
January 3, 2025
GATE 2011
January 3, 2025
Theory-of-Computation
January 3, 2025
GATE 2011
January 3, 2025

GATE 2011

Question 31

Definition of a language L with alphabet {a} is given as following.

L = {ank| 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
2n+1
D
2k+1
Question 31 Explanation: 
Given that n is a constant.
So lets check of n = 2,
L = a2k, k>0
Since k>0 than zero.
So L is the language accepting even no. of a’s except ‘ε’.
So DFA will be,

So, no. of states required is 2+1 = 3.
So for ank, (n+1) states will be required.

Correct Answer: B
Question 31 Explanation: 
Given that n is a constant.
So lets check of n = 2,
L = a2k, k>0
Since k>0 than zero.
So L is the language accepting even no. of a’s except ‘ε’.
So DFA will be,

So, no. of states required is 2+1 = 3.
So for ank, (n+1) states will be required.

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x