Year 8 Computer Science: Introduction to Python lesson pack

A complete, ready-to-teach KS3 lesson on introduction to python. Below is a real sample of what ChalkHour makes: the full pack adds three levels of worksheet, model answers, a teaching explainer and print-ready PDF and Word files.

£20 today, the rest of your first month on day 14, only if you continue.

Real sample

Introduction to Python Programming

This lesson introduces students to the basics of Python programming, focusing on output (print), input, and variables. Students will progress from writing simple strings to creating interactive programs that store and manipulate user data.

Learning objectives

  • Identify and use the print() function to output text and numbers.
  • Create and assign values to variables using appropriate naming conventions.
  • Use the input() function to capture user data.
  • Identify and correct basic syntax errors in Python code.

Lesson plan (60 minutes)

  1. Introduction · 5 min

    Starter: Unplugged activity. Students follow 'blind' instructions to draw a simple shape to demonstrate how specific instructions must be.

  2. Teacher Input · 10 min

    Teacher Explainer: Introduction to Python syntax, the print() function, and variables.

  3. Demonstration · 5 min

    Live Coding: Teacher demonstrates writing a 'Hello World' and a simple greeting program using input().

  4. Independent Practice · 25 min

    Worksheet Practice: Students work through Support, Core, or Stretch worksheets based on confidence.

  5. Extended Task · 10 min

    Coding Challenge: Students create a 'Robot Introduction' program that asks 3 questions and prints a summary.

  6. Review · 5 min

    Plenary Quiz: 8-question multiple choice quiz to check understanding.

Key vocabulary

Syntax
A set of rules governing how code must be written to be understood by the computer.
Variable
A named location in memory used to store data that can change.
String
A sequence of characters (text) usually enclosed in quotation marks.
Integer
A whole number (no decimals).
Function
A specific command that performs a task, followed by parentheses.

Core worksheet (first questions)

  1. Write a line of code to print the sentence: Python is fun
  2. In the line 'x = 5', what do the items on the left and right of the '=' represent?
  3. Create a variable called 'score' and set its value to 0.
  4. What is the difference between a String and an Integer?

Quiz (sample)

  1. 1. What is the purpose of the print() function in Python?

    • A. A function to output text to the screen
    • B. A way to send documents to a printer
    • C. A command to delete code
    • D. A type of variable
  2. 2. Which of the following is the correct syntax to print the word Hello?

    • A. print(Hello)
    • B. print "Hello"
    • C. print("Hello")
    • D. output("Hello")
  3. 3. What is a variable in programming?

    • A. A type of computer hardware
    • B. A container for storing data values
    • C. A list of instructions
    • D. A mathematical error

The full pack is waiting

Support and Stretch worksheets, every answer and model answer, the teaching explainer and common misconceptions, editable and ready to print as PDF or Word.

Start your 14-day trial

More Computer Science lesson packs