SHSubjectHub

Variables and Input

KS3 ComputingKS3Lesson 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.

  • 9 questions
  • 21 marks
  • about 27 minutes
  • marked instantly

Question types: multiple choice, fill the gap, matching, true or false, multi-part.

One question from this worksheet

  1. 1. The question
  2. 2. A pupil answers
  3. 3. Marked instantly

About this resource

Computing — Python: Your First Text Language, Lesson 2 of 6. Creating variables with = and choosing good names, reading what the user types with input(), reusing stored values, joining strings with concatenation and simple f-strings, and printing variables.

12 slides.

Lesson outline

  1. Do Now — Retrieval
  2. Variables — Named Boxes
  3. Hinge Check — Good Variable Names
  4. Asking the User a Question
  5. Two Ways to Print a Variable
  6. Hinge Check — Predict the Output
  7. Main Activity — Mad Libs Story Generator
  8. Debug It — The Missing Gap
  9. Check — How Variables and Input Work
  10. Plenary — Back to Our Objectives
Unit bundlePython
Part of: Python: the whole unitEvery resource in the unit in one zip.

More from Python