Programming and Section B – OCR GCSE Computer Science lesson (J277)
Pupils learn to break a Section B problem into its requirements and write a precise program that uses a subprogram, iteration, validation and an array.
Lesson 6 of 7 in unit 11.4 Revision, taught in Year 11, Spring 2. It answers one big question: How do I write a Section B program that scores?
By the end, pupils can break a Section B problem into its requirements and write a precise program that uses a subprogram, iteration, validation and an array.
- What happens
- Bell Task: four retrieval questions on 10.4, 11.1 and 11.2 programming. Reteach 1: reading a Section B question for its requirements and predicting what a subprogram returns (hinge check, PRIMM Predict). Reteach 2: validation loops and functions with parameters – modify a working program at the computers, with a paper version (Guided Practice). Build: a Section B program for the gaming café's tournament scores, written on paper in Python or Exam Reference Language and marked requirement by requirement. Challenge: file handling, a 2D array and SQL questions.
- Main task
- Write a Section B program for the gaming café that validates and stores eight tournament scores, then uses a function to return the highest (8 marks).
Also sold in the Revision unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
What's included
- Slide deck (PowerPoint)
- Lesson plan (Word)
- Worksheet (Word)
- Support worksheet with scaffolds (Word)
- Python starter program and teacher model
- Python starter program and teacher model
- Single-teacher licence: use and adapt it with your own classes
More for GCSE Computer Science (OCR)
See allPupils learn to explain the fetch–decode–execute cycle and CPU performance, and justify a choice of memory and storage for a given computer.
Pupils learn to convert between binary, denary and hexadecimal, carry out binary addition and shifts, and calculate image, sound and text file sizes with units.
Pupils learn to explain how networks, addressing and protocols move data, and match each threat to the methods that prevent it.
Written for the specifications named. Not endorsed by or affiliated with any exam board.