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
Consider the DFA below over
.

Which of the following statements correctly describes the language accepted by the DFA?
Which of the following statements correctly describes the language accepted by the DFA?
Solution
Consider the regular expression

Which of the following statements is correct?
Which of the following statements is correct?
Solution
Let
and consider the language:

What is the index of the Myhill–Nerode equivalence relation
?
What is the index of the Myhill–Nerode equivalence relation
Solution
Consider the following grammar:





Using the CYK algorithm for the string
, which non-terminals occur in the table entry for the entire string?
Using the CYK algorithm for the string
Solution
Which of the following languages is context-free?
Solution
Suppose

Which of the following statements must hold?
Which of the following statements must hold?
Solution
Consider the following DFA.

Which of the following strings are accepted?
Which of the following strings are accepted?
Solution
Consider the grammar

Which of the following strings can be generated by the grammar?
Which of the following strings can be generated by the grammar?
Solution
Consider the grammar

Which of the following statements are correct?
Which of the following statements are correct?
Solution
Consider the language

A PDA is designed to recognize
by using the symbol
as a unique middle marker.
In the standard stack-based PDA construction described above, which of the following operations are performed?
A PDA is designed to recognize
In the standard stack-based PDA construction described above, which of the following operations are performed?
Solution
A Pushdown Automaton (PDA) has the following transition:

Which of the following statements are correct?
Which of the following statements are correct?
Solution
Let

Which of the following statements are correct?
Which of the following statements are correct?
Solution
Inscript
Consider the following NFA over
:

Transition Table:

Using standard subset construction and considering only reachable subsets, how many states does the equivalent DFA have?
Consider the following NFA over
Transition Table:
Using standard subset construction and considering only reachable subsets, how many states does the equivalent DFA have?
Solution
Inscript
A nondeterministic Turing Machine has at most
possible transitions from every configuration. Suppose the machine is explored using breadth-first search up to depth
, including the initial configuration.
What is the maximum number of configurations explored?
A nondeterministic Turing Machine has at most
What is the maximum number of configurations explored?
Solution
Let

Which of the following statements are Incorrect?
Which of the following statements are Incorrect?
Solution
Consider the language

Which of the following statements correctly classifies
in the Chomsky hierarchy?
Which of the following statements correctly classifies
Solution
Consider a deterministic Turing Machine with one tape.
Which of the following statements is Incorrect?
Which of the following statements is Incorrect?
Solution
Let

Which of the following statements is correct regarding the language
?
Which of the following statements is correct regarding the language
Solution
Shape
Thickness [ / ]
3
All colors