Turing Machine: GATE CS Previous Year Questions

Turing Machine · Theory of Computation

13 questions · asked in 12 of 27 years (2000–2026)

MCQ 12 · MSQ 11-mark 6 · 2-mark 7

2000Questions per year2026

Questions 11–13 of 13

Q11GATE 20031 markMCQ−0.33 if wrong
Define languages L0 and L1 as follows :
  L0 = {< M, w, 0 > | M halts on w}
L1 = {< M, w, 1 > | M does not halts on w}   
Here <M,w,i>< M, w, i > is a triplet, whose first component. M is an encoding of a Turing Machine, second component, w, is a string, and third component, i, is a bit. Let L=L0∪L1L=L0 \cup L1. Which of the following is true ?

Q12GATE 20031 markMCQ−0.33 if wrong
A single tape Turing Machine M has two states q0 and q1, of which q0 is the starting state. The tape alphabet of M is {0, 1, B} and its input alphabet is {0, 1}. The symbol B is the blank symbol used to indicate end of an input string. The transition function of M is described in the following table
0 1 B q0 q1 q1, 1, R q1, 1, R Halt q1, 1, R q0, 1, L q0, B, L
The table is interpreted as illustrated below. The entry (q1, 1, R) in row q0 and column 1 signifies that if M is in state q0 and reads 1 on the current tape square, then it writes 1 on the same tape square, moves its tape head one position to the right and transitions to state q1. Which of the following statements is true about M ?

Q13GATE 20011 markMCQ−0.33 if wrong
Consider the following problem x .
Given a Turing machine M over the input alphabet Σ\Sigma, any state q of M. And a word w ∈Σ∗\in \Sigma *) does the computation of M on w visit the state q ?
Which of the following statements about x is correct ?

Keep practising

Topics in Theory of Computation

All CS topics ›