🎙 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 6 of 10

In the palindrome machine, state q2a reads a blank. What does that mean?

In the palindrome machine, state q2a reads a blank. What does that mean?

  1. A.The string had a mismatch
  2. B.The remembered a was the middle symbol of an odd-length palindrome, so accept
  3. C.The tape is broken
  4. D.The machine must move left forever
Answer & explanation

Correct answer: The remembered a was the middle symbol of an odd-length palindrome, so accept

Nothing was left to compare with the erased middle symbol.

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 →