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)
(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)
Solution
Let
be the language over
accepted by a DFA such that every string in
contains an odd number of symbols 1.
Which of the following languages can be accepted by such a DFA?
Which of the following languages can be accepted by such a DFA?
Solution
Suppose an NFA has
states and exactly one accepting state.
If all subsets are reachable in subset construction, how many non-accepting states will the equivalent DFA contain?
If all subsets are reachable in subset construction, how many non-accepting states will the equivalent DFA contain?
Solution
Which of the following languages is NOT regular?
Solution
Consider the following parse tree.

Which grammar generates the above parse tree?
Which grammar generates the above parse tree?
Solution
Consider the following DFA.

Using state elimination, what regular expression describes the language accepted by the DFA?
Using state elimination, what regular expression describes the language accepted by the DFA?
Solution
Which of the following regular expressions generate only strings containing at least two
's?
Solution
Which grammars are ambiguous?
Solution
Consider:

and

Which statements are TRUE?
and
Which statements are TRUE?
Solution
Consider the following DFA over
.

Which of the following strings are accepted by the DFA?
Which of the following strings are accepted by the DFA?
Solution
Let 
Which language is represented by
?
Which language is represented by
Solution
Which grammar is in Chomsky Normal Form (CNF)?
Solution
Which statement correctly describes Greibach Normal Form (GNF)?
Solution
Inscript
A DFA has
states.
Using the infiniteness-testing theorem, strings of what minimum length must be checked to determine whether the language is infinite?
A DFA has
Using the infiniteness-testing theorem, strings of what minimum length must be checked to determine whether the language is infinite?
Solution
Inscript
Consider the grammar:
How many production applications are required to derive
using leftmost derivation?
Consider the grammar:
How many production applications are required to derive
Solution
Inscript
Let
Assume
is regular with pumping length
.
Choose:
If
, how many
's appear after pumping with
?
Let
Assume
Choose:
If
Solution
Which statements about DFA minimization are TRUE?
Solution
Which statements about Context-Free Languages is/are TRUE?
Solution
Consider the following NFA.

Which strings are accepted by the NFA?
Which strings are accepted by the NFA?
Solution
Inscript
Consider the following DFA.

What is the minimum length of a string accepted by this DFA that does not contain the symbol 1?
Consider the following DFA.
What is the minimum length of a string accepted by this DFA that does not contain the symbol 1?
Solution
Shape
Thickness [ / ]
3
All colors