Computer Science and Information Technology
GATE CSE topic:theory-computation PYQs
Build your understanding with focused practice from past exam papers.
Questions 31–40 of 83. Imported answers require independent review unless marked reviewed.
Question 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 39
Open questionCSMCQ2 marksNeeds review
Consider the context-free grammar
below
where
and
are non-terminals, and
and
are terminal symbols. The starting non-terminal is
.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 40
Open questionCSMCQ2 marksNeeds review
Consider the pushdown automaton (PDA)
below, which runs on the input alphabet
, has stack alphabet
, and has three states
, with
being the start state. A transition from state
to state
, labelled
, where
is an input symbol or
,
is a stack symbol, and
is a string of stack symbols, represents the fact that in state
, the PDA can read
from the input, with
on the top of its stack, pop
from the stack, push in the string
on the stack, and go to state
. In the initial configuration, the stack has only the symbol
in it. The PDA accepts by empty stack.Which one of the following options correctly describes the language accepted by
? 
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 63
Open questionCSNAT2 marksNeeds review
Consider the language
over the alphabet
, given below:
The minimum number of states in a Deterministic Finite-State Automaton (DFA) for
is ________.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 questionCSMCQ1 markNeeds review
Which one of the following regular expressions correctly represents the language of the finite automaton given below?

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 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 46
Open questionCSMSQ2 marksNeeds review
Which of the following is/are undecidable?
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 47
Open questionCSMSQ2 marksNeeds review
Consider the following languages:
Note that
is the reversal of the string
. Which of the following 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 48
Open questionCSMSQ2 marksNeeds review
Consider the following languages:
Which of the following statements is/are FALSE?
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 answer