Theory of Computation (Chapter - Unit 3) Solved MCQs (Set-1)
Theory of Computation (Chapter - Unit 3) Solved MCQs (Set-1)
Theory of Computation (Chapter - Unit 3) Solved MCQs (Set-1)
Chapter: Unit 3
2. The Family of recursive language is not closed under which of the following
operations:
o m
A. Union
. c
B. Intersection
te
C. Complementation
a
D. None of the above.
Answer: D q M
c
3. PCP is: M
A. Decidable
B. Undecidable
C. Sometimes Decidable
D. None of the
Answer: B
10. Consider the following problem x. Given a Turing machine M over the input
alphabet ?, any state q of M. And a word w ? ?*, does the computation of M on w
visit the state q? Which of the following statements about x is correct?
A. X is decidable
B. X is undecidable but partially decidable
C. X is undecidable and not even partially decidable
D. X is not a decision problem
Answer: A
12. Given A = {0,1} and L = A*. If R = (0n1n, n > 0), then language L ? R and R are
respectively
A. Regular, regular
B. Not regular, regular
C. Regular, not regular
D. Context free, not regular
Answer: D
13. If L1 and L2 are context free language and R a regular set, then which one of
the languages below is not necessarily a context free language?
A. L1 L2
B. L1 ? L2
C. L1 ? R
D. L1 ? L2
Answer: B
17. What is the highest type number which can be applied to the following
grammar? S —>Aa, A —> Ba, B —>abc
A. Type 0
B. Type 1
C. Type 2
D. Type 3
Answer: C
24. Fred created a new automaton model which is a push down automaton but with
two stacks and the added ability of having commands which do not read input tape
but which can pop from one stack and push into the other.This new automaton can
recognize (choose strongest result)
A. Context Free Language
B. Context sensitive language
C. Regular language
D. Languages recognizable by Turing machine
Answer: D