🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Turing Machine Traces: all 10 questions

Quiz: Turing Machine Traces · Question 2 of 10

The rule δ(q0, +) = (q1, 1, R) is applied to 1 1 [q0] + 1 1. What is the next ID?

The rule δ(q0, +) = (q1, 1, R) is applied to 1 1 [q0] + 1 1. What is the next ID?

  1. A.1 1 [q1] + 1 1
  2. B.1 1 1 1 [q1] 1
  3. C.1 1 1 [q1] 1 1
  4. D.1 [q1] 1 1 1 1
Answer & explanation

Correct answer: 1 1 1 [q1] 1 1

The + becomes 1, the head moves one cell right, and the state becomes q1.

Can you get the rest right without peeking?

Take the timed Quiz: Turing Machine Traces quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →