ÌÇÐÄVlog

Please consent to cookies to view content.

' ); iframeDoc.close(); } } } } } const observer = new MutationObserver(switchSrc); observer.observe(document.documentElement, { childList: true, subtree: true, }); })();

ÌÇÐÄVlog

Last updated

28 November 2026

pptx, 222.71 KB
pptx, 222.71 KB
docx, 91.04 KB
docx, 91.04 KB
pdf, 117.2 KB
pdf, 117.2 KB
docx, 91.32 KB
docx, 91.32 KB
pdf, 127.48 KB
pdf, 127.48 KB
docx, 89.9 KB
docx, 89.9 KB
jpg, 145.76 KB
jpg, 145.76 KB

Binary search turns up in Paper 4 again and again, and the same few slips cost students marks every year: using / instead of //, the wrong loop condition, or moving a bound to Mid instead of Mid + 1. This lesson tackles each one head on.

Students trace the search on paper with LowerBound, UpperBound and Mid before they write any code, so by the time they open Python they actually understand what each line is doing.

What’s included

  • 14-slide editable teacher PowerPoint, with speaker notes on every slide
  • Python starter code with guided TODOs and the full tested solution, in a Word file ready to copy into your editor (including a version that searches a sorted list of names)
  • Student worksheet (36 marks) in Word and PDF: key terms, a trace table, fill-the-gap code, spot-the-errors and exam-style questions
  • Full answer key in Word and PDF

How the lesson runs

  • A ‘guess my number’ starter to introduce halving
  • What a binary search is, with a visual showing Lower, Mid and Upper
  • Key vocabulary, including integer division
  • The full Python function, step by step
  • A spot-the-bug slide on / versus //
  • A trace-table mini task with answers
  • A comparison of linear and binary search on large lists
  • A coding task, exam-style question with mark scheme, and exit ticket

Written for Cambridge International AS & A Level Computer Science (9618), Paper 4 Practical, and pitched at A Level (Year 13). Everything is editable, so you can adapt it for your own classes.

Please leave a review if you find it useful. It really helps!

Reviews

Something went wrong, please try again later.

This resource hasn't been reviewed yet

To ensure quality for our reviews, only customers who have purchased this resource can review it

to let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.