logo

AQA A-Level Computer Science practice

An FSM has states A and B. Its transition table is: from A, input 0 leads to B and input 1 leads to A; from B, input 0 leads to A and input 1 leads to B. If the FSM is in state A and receives input 0, what is the next state?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Regular languages

Exam-style question

Try this first

An FSM has states A and B. Its transition table is: from A, input 0 leads to B and input 1 leads to A; from B, input 0 leads to A and input 1 leads to B. If the FSM is in state A and receives input 0, what is the next state?.

  1. A.A
  2. B.B
  3. C.The FSM stops
  4. D.The FSM produces output 0

Answer and explanation

Concise answer

B

Why this is correct

The table specifies that input 0 takes the FSM from state A to state B. This is an FSM with no output, so the transition changes the state without producing an output.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions