State & Branching — Escape Room
KS3Lesson packSubscription
Also online
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.
- 6 questions
- 18 marks
- about 25 minutes
- marked instantly
Question types: multi-part, multiple choice, true or false, fill the gap, matching.
Try one from this worksheet
In the App Builder, state.set is a rule step. What does state.set do?
Pick an answer: it's marked straight away, just as your pupils would see it.
About this resource
Learn how state.set saves values during execution, build multi-step branching rules, trace branching flowcharts, and create the Escape Room game.
13 slides.
Lesson outline
- State — Variables While the App Runs
- The state.set Rule Step
- Branching — Different Paths, Different Outcomes
- The Branching Pattern
- Resetting State — Starting Again
- Trace Task — Escape Room Flowchart
- Accumulating Points with state.set
- What Does {{route}} Show?
- Explore the Escape Room App
- Build Task — The First Choice Screen
- Plenary — Back to Our Objectives
Unit bundleMobile App Development
More from Mobile App Development
- Lesson packProject — Build Your App (Session 1)Subscription
- Lesson packProject — Build Your App (Session 2)Subscription
- Lesson packProject — Planning Your AppSubscription
- Lesson packSelection — Who Am I?Subscription
- Lesson packSequence — The Joke MachineSubscription
- Lesson packShowcase & EvaluationSubscription
- Lesson packUser Input — Horoscope GeneratorSubscription
- Lesson packVariables — Mood Check-inSubscription


