GATE 2005-IT
March 19, 2025
GATE 2007
March 20, 2025
GATE 2005-IT
March 19, 2025
GATE 2007
March 20, 2025

GATE 2005-IT

Question 6

The language {0n 1n 2n | 1 ≤ n ≤ 106} is

A
regular
B
context-free but not regular
C
context-free but its complement is not context-free
D
not context-free
Question 6 Explanation: 
In this the value of n is finite then we can be able to construct a finite state automata for this language.
So, given language is regular.
Correct Answer: A
Question 6 Explanation: 
In this the value of n is finite then we can be able to construct a finite state automata for this language.
So, given language is regular.

Leave a Reply

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