Toc-Unit-4 Turing Machine
Toc-Unit-4 Turing Machine
Ans: a
Explanation: Γ represents a tape alphabet which is nothing but output symbol
6. In one move the Turing machine:
(A) May change its state
(B) May write a symbol on the cell being scanned.
(C) May move the head one position left or right
(D) All of the above
Ans: d
Explanation: TM tape head can move the head position left or right, change its state and
while moving input symbols on cell being scanned (Read)
10. A pushdown automata behaves like a Turing machine, when it has number of
auxiliary memory.
(A) 0
(B) 2
(C) 2 or more
(D) Both b and c
Ans: c
Explanation: A pushdown automaton behaves like a turning machine when the number of
auxiliary memory is 2. The machines are actually represented using the 3r elements of the
alphabet. In this term, the letter is the number of registers
15. A multitape turing machine is ________ powerful than a single tape turing
machine. (A)more
(B)less
(C)equal
(D) none of the mentioned
Ans:a
Explanation: The multitape turing machine model seems much powerful than the single
tape model, but any multi tape machine, no matter how many tapes, can be simulated by
single taped TM.
16. Which of the following is true for two stack turing machines?
(a) one read only input
(b) two storage tapes
Ans: d
Explanation: All of the mentioned are one or the other kind of Turing machines in
existence.
24. Which among the following is not true for 2-way infinte TM?
a) tape in both directions
b) Leftmost square not distinguished
c) Any computation that can be performed by 2-way infinite tape can also be performed by
standard TM.
d) None of the mentioned
Ans: d
Explanation: All of the mentioned are correct statements for a two way infinite tape turing
machine. Theorems say the power of such a machine is in no way superior than a
standard turing machine.
26. If T1 and T2 are two turing machines. The composite can be represented
using the expression:
a) T1T2
b) T1 U T2
c) T1 X T2
d) None of the mentioned
Answer: a
Explanation: If T1 and T2 are TMs, with disjoint sets of non halting states and transition
function d1 and d2, respectively, we write T1T2 to denote this composite TM.
29. Which of the following a turing machine does not consist of?
a) input tape
b) head
c) state register
d) none of the mentioned
Answer: d
Explanation: A state register is one which stores the state of the turing machine, one of
the finitely many. Among these is the special start state with which the state register is
initialized.
31. If d is not defined on the current state and the current tape symbol, then the
machine ______
a) does not halts
b) halts
c) goes into loop forever
d) none of the mentioned
Answer: b
Explanation: If we reach hA or hR, we say TM halts. Once it has halted, it cannot move
further, since d is not defined at any pair (hA,X) or (hR,X) where hA = accept halting
state and hR = reject halting state.
34. Which of the functions are not performed by the turing machine after reading a
symbol? a) writes the symbol
b) moves the tape one cell left/right
c) proceeds with next instruction or halts
d) none of the mentioned
Answer: d
Explanation: After the read head reads the symbol from the input tape, it performs the
following functions:
a) writes a symbol(some model allow symbol erasure/no writing)
b) moves the tape left or right (some models allows no motion)
c) proceeds with subsequent instruction or goes either into accepting halting state or
rejecting halting state.
35. ‘a’ in a-machine is :
a) Alan
b) arbitrary
c) automatic
d) None of the mentioned
Answer: c
Explanation: The turing machine was invented by Alan turing in 1936. He
named it as a machine(automatic machine).
36. The ability for a system of instructions to simulate a Turing Machine is called
_________ a) Turing Completeness
b) Simulation
c) Turing Halting
d) None of the mentioned
Answer: a
Explanation: Turing Completeness the ability for a system of instructions to simulate a
Turing machine. A programming language that is Turing complete is theoretically capable
of expressing all tasks accomplishable by computers; nearly all programming languages
are Turing complete.
40. Using a two track tape, we can use a semi infinite tape to simulate an
infinite tape a) true
b) False
Answer: a
Explanation: A TM with semi-infinte tape means that there are no cells to the left of the
intial head position. A TM with semi-infinte tape simulates a Tm with an infinite tape by
using a two track tape.
43. If there exists a TM which when applied to any problem in the class, terminates, if
correct answer is yes and may or may not terminate otherwise is called
a) stable
b) unsolvable
c) partially solvable
d) unstable
Ans: c
Explanation: If there exists a TM which when applied to any problem in the class,
terminates, if correct answer is yes and may or may not terminate otherwise is called
partially solvable
Statement: The difference between PCP and MPCP is that in MPCP, a solution is
required to start with the first string on each list.
a) true
b) false
Ans: a
Explanation: The MPCP is : Given lists A and B of K strings ,say A = w1 ,w2, …wk and B=
x1, x2, …..xk does there exists a sequence of integers i1,i2,…ir such that w1wi1wi2…..wir
= x1xi1xi2… xir?
47. Consider three decision problem A, B, C. A is decidable and B is not. Which of the
following is a correct option?
a) C is undecidable if C is reducible to B
b) C is undecidable if B is reducible to C
c) C is decidable if A is reducible to C
d) C is decidable if C is reducible to B’s complement.
Ans: b
Explanation: As B is undecidable and it can be reduced to C, C is also an undecidable
problem.
48. The ability for a system of instructions to simulate a Turing Machine is called
_________ a) Turing Completeness
b) Simulation
c) Turing Halting
d) None of the mentioned
Ans: a
Explanation: Turing Completeness the ability for a system of instructions to simulate a
Turing machine. A programming language that is Turing complete is theoretically capable
of expressing all tasks accomplishable by computers; nearly all programming languages
are Turing complete.
50. If d is not defined on the current state and the current tape symbol, then the
machine ______ a) does not halts
b) halts
c) goes into loop forever
d) none of the mentioned
Ans: b
Explanation: If we reach hA or hR, we say TM halts. Once it has halted, it cannot move
further, since d is not defined at any pair (hA,X) or (hR,X) where hA = accept halting
state and hR = reject halting state.