Finite state machines with and without output
This worksheet marks itself
Set it as homework or classwork and every answer is marked as pupils go, with feedback on what they got wrong. The scores go straight into your mark book, so you can see who needs help before the next lesson.
- 12 questions
- 36 marks
- about 40 minutes
- marked instantly
Question types: short answer, matching, true or false, multiple choice.
Try one from this worksheet
This is the finite state machine from Question 3. Identify the string it accepts.
Pick an answer: it's marked straight away, just as your pupils would see it.
About this resource
AQA A-level Computer Science (7517) 4.4.2.1 Finite state machines (FSMs) with and without output. C# lesson 2 of 6 in 4.4 Theory of computation: a trace-the-dictionary Do Now, a short key idea, a 10-challenge ladder in three sets with exact test data, two exam questions and a worksheet. Replaces…
18 slides.
Lesson outline
- Do Now: trace the door
- Do Now: answers
- Key idea: A finite state machine and its table
- Key idea: Accepted or rejected?
- Quick check: accepted or rejected?
- Key idea: Mealy machines: output on transitions
- Key idea: Design an FSM: what must it remember?
- Set 1: the transition table in code
- Set 2: trace tables and other machines
- Exam question E1: with or without output
- Model answer E1
- Exam question E2: trace it from the table
More from 4.4 Theory of computation · full lessons
- Lesson pack · 4.4 L1Abstraction, decomposition and automationSubscription
- Lesson pack · 4.4 L3Sets, regular expressions and regular languagesSubscription
- Lesson pack · 4.4 L4Context-free languages: BNF and syntax diagramsSubscription
- Lesson pack · 4.4 L5Classification of algorithms: Big-O, tractability and the Halting problemSubscription
- Lesson pack · 4.4 L6A model of computation: Turing machinesSubscription


