GATE Computer ScienceVery hardGATE CS (PYQ pattern)

Consider these problems about a Turing machine M (given as input): I. Does M ever move its head to the left when started on the blank tape? II. Does M visit more than 100 distinct tape cells when started on the blank tape? III. Is L(M) = Σ*? IV. Does M ever write the symbol 1 when started on the blank tape? Which of these are decidable?

  1. A. II only
  2. B. I and II only
  3. C. I, II and IV only
  4. D. II and III only

Correct answer: B. I and II only

I: while M moves only right on blanks, its behaviour depends just on its state; within |Q| + 1 such moves a state repeats, after which it moves right forever — decidable by simulation. II: while confined to 100 cells there are finitely many configurations, so simulate until it leaves them or repeats a configuration. III is undecidable (Rice). IV is undecidable (halting reduces to it: print 1 only when about to halt).

More Theory of Computation questions

Exams that ask this topic