Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : THEORY OF COMPUTATION (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Consider the following DFA.

Which of the following strings are accepted by the automaton?
Which of the following strings are accepted by the automaton?
Solution
Which statements about
-closures are essential in proving NFA–DFA equivalence?
Solution
Consider grammar:

Which of the following statements is/are TRUE?
Which of the following statements is/are TRUE?
Solution
Which of the following grammars is/are in Greibach Normal Form (GNF)?
Solution
Let
be a nondeterministic finite automaton (NFA), where:
-
is a finite set of states with
,
-
is the input alphabet,
-
is the transition function,
-
is the start state,
-
is the set of accepting states with
.
Assume that all
subsets of
are reachable during subset construction, so the equivalent DFA
has exactly
reachable states.
A DFA state
is accepting if and only if
.How many accepting states does the DFA
have?
-
-
-
-
-
Assume that all
A DFA state
Solution
Consider the following nondeterministic finite automaton (NFA).
The start state is
, and
is/are the only accepting state.
Transition Table:

Which of the following input strings is/are accepted by the NFA?
The start state is
Transition Table:
Which of the following input strings is/are accepted by the NFA?
Solution
Consider the following languages over the alphabet
:


It is known that
is a regular language and
is a context-free language (CFL). Let
. Which of the following statements are correct?
It is known that
Solution
Which of the following languages are infinite and regular?
Solution
Let
and
.
What is
?
What is
Solution
Let the alphabet be
.
Consider the following regular expression:

Which of the following languages is denoted by
?
Consider the following regular expression:
Which of the following languages is denoted by
Solution
Given the following Parse Tree.

Which grammar generates this tree?
Which grammar generates this tree?
Solution
Consider

To prove that
is not regular using the Pumping Lemma, the most suitable choice of string is:
To prove that
Solution
Consider the following automaton:

Which regular expression correctly represents the language accepted by the automaton?
Which regular expression correctly represents the language accepted by the automaton?
Solution
Given the grammar:

After removing null productions (keep
if needed), what will be the total number of productions?
After removing null productions (keep
Solution
Let
be the language over
defined by

What is the minimum number of states in a DFA that recognizes
?
What is the minimum number of states in a DFA that recognizes
Solution
Shape
Thickness [ / ]
3
All colors