Computer Science and Information Technology
GATE CSE concept:context-free-languages PYQs
Build your understanding with focused practice from past exam papers.
How to practice concept:context-free-languages
Attempt a question, record the concept and assumptions, then check the available answer. Rework mistakes after revising the relevant concepts. Topic tags can overlap; review the question context.
Questions 1–9 of 9. Imported answers require independent review unless marked reviewed.
Question 24
Open questionCSMCQ1 markNeeds review
Which ONE of the following languages is accepted by a deterministic pushdown automaton?
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 30
Open questionCSMSQ1 markNeeds review
Consider the two lists List I and List II given below:
List I | List II |
|---|---|
(i) Context free languages | (a) Closed under union |
(ii) Recursive languages | (b) Not closed under complementation |
(iii) Regular languages | (c) Closed under intersection |
For matching of items in List I with those in List II, which of the following option(s) is/are CORRECT?
Your answerSelect all correct options. You can choose more than one.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 45
Open questionCSMCQ2 marksNeeds review
Consider the following two languages over the alphabet
, where
and
are natural numbers.
Which ONE of the following statements is CORRECT?
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 24
Open questionCSMSQ1 markNeeds review
Which of the following statements is/are CORRECT?
Your answerSelect all correct options. You can choose more than one.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 23
Open questionCSMSQ1 markNeeds review
Which of the following statements is/are TRUE?
Your answerSelect all correct options. You can choose more than one.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 1
Open questionCSMCQ1 markNeeds review
Suppose that
is a regular language and
is a context-free language. Which one of the following languages is NOT necessarily context-free?Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 12
Open questionCSMSQ1 markNeeds review
Let
be a regular language and
be a context-free language. Which of the following languages is/are context-free?Your answerSelect all correct options. You can choose more than one.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 4
Open questionCSMCQ1 markNeeds review
Let L₁, L₂ be any two context-free languages and R be any regular language. Then which of the following is/are CORRECT?
I. L₁ ∪ L₂ is context-free.
II. L̅₁ is context-free.
III. L₁ − R is context-free.
IV. L₁ ∩ L₂ is context-free.
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 38
Open questionCSMCQ2 marksNeeds review
Consider the following languages over the alphabet
. Let
and
.Which of the following are context-free languages?
I.
II.
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer