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

Quiz: Turing Machines · Question 9 of 10

What does a universal Turing machine take as input?

What does a universal Turing machine take as input?

  1. A.Only binary numbers
  2. B.A regular expression
  3. C.The description of a TM M together with an input w, and it simulates M on w
  4. D.Nothing; it runs forever
Answer & explanation

Correct answer: The description of a TM M together with an input w, and it simulates M on w

This is the idea of a stored-program computer: programs are data.

Can you get the rest right without peeking?

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

Start the quiz →