logo

Question detail

A transition function contains the rule δ(q0, 1) = (q1, 0, R). What does this rule specify?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

A model of computation

Exam-style question

Try this first

A transition function contains the rule δ(q0, 1) = (q1, 0, R). What does this rule specify?.

  1. A.If the machine is in q0 and reads 1, it changes to q1, writes 0 and moves right
  2. B.If the machine is in q1 and reads 0, it changes to q0, writes 1 and moves left
  3. C.If the machine is in q0 and reads 0, it changes to q1, writes 1 and moves right
  4. D.If the machine is in q1 and reads 1, it changes to q0, writes 0 and moves left

Model answer

What a good answer should say

  • If the machine is in q0 and reads 1, it changes to q1, writes 0 and moves right

Explanation

Why this works

The first two values identify the current state and symbol read. The three values on the right specify the new state, symbol written and direction of movement.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.