Toc Unit 4 QB
Toc Unit 4 QB
PART A
6. Let G be a grammar. When the production in G satisfy certain restrictions, then G is said to be in
___________.(CO4)(K1)
a) restricted form
b) parsed form
c) normal form
d) all of the mentioned
8. Which of the expressions correctly is an requirement of the pumping lemma for the context free
languages? (CO4)(K1)
a) uvnwxny
b) uvnwnxny
c) uv2nwx2ny
d) All of the mentioned
9. Using pumping lemma, which of the following cannot be proved as ‘not a CFL’? (CO4)(K1)
a) {aibici|i>=0}
b) {ss|s∈{a,b}*}
c) The set legal C programs
d) None of the mentioned
10. The pumping lemma is often used to prove that a language is: (CO4)(K1)
a) Context free
b) Not context free
c) Regular
d) None of the mentioned
11. Which of the following does not obey pumping lemma for context free languages ? (CO4)(K1)
a) Finite languages
b) Context free languages
c) Unrestricted languages
d) None of the mentioned
13. Which of the following is/are CFL not closed under? (CO4)(K1)
a) Reverse
b) Homomorphism
c) Inverse Homomorphism
d) All of the mentioned
14. Which of the following can be used to prove a language is not context free? (CO4)(K1)
a) Ardens theorem
b) Power Construction method
c) Regular Closure
d) None of the mentioned
18. The ability for a system of instructions to simulate a Turing Machine is called ______(CO4)(K1)
a) Turing Completeness
b) Simulation
c) Turing Halting
d) None of the mentioned
19. A turing machine that is able to simulate other turing machines: (CO4)(K1)
a) Nested Turing machines
b) Universal Turing machine
c) Counter machine
d) None of the mentioned
21. Which of the following a turing machine does not consist of? (CO4)(K1)
a) input tape
b) head
c) state register
d) none of the mentioned
23. If d is not defined on the current state and the current tape symbol, then the machine(CO4)(K1)
a) does not halts
b) halts
c) goes into loop forever
d) none of the mentioned
24. Which of the following are the models equivalent to Turing machine? (CO4)(K1)
a) Multi tape turing machine
b) Multi track turing machine
c) Register machine
d) All of the mentioned
25. A multi track turing machine can described as a 6-tuple (Q, X, S, d, q0, F) where X represents:
(CO4)(K1)
a) input alphabet
b) tape alphabet
c) shift symbols
d) none of the mentioned
27. A multitape turing machine is ________ powerful than a single tape turing machine. (CO4)(K1)
a) more
b) less
c) equal
d) none of the mentioned
PART B