SHSubjectHub

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

  1. State — Variables While the App Runs
  2. The state.set Rule Step
  3. Branching — Different Paths, Different Outcomes
  4. The Branching Pattern
  5. Resetting State — Starting Again
  6. Trace Task — Escape Room Flowchart
  7. Accumulating Points with state.set
  8. What Does {{route}} Show?
  9. Explore the Escape Room App
  10. Build Task — The First Choice Screen
  11. Plenary — Back to Our Objectives
Unit bundleMobile App Development
Part of: Mobile App Development: the whole unitEvery resource in the unit in one zip.

More from Mobile App Development