Welcome back to our OCR GCSE Computer Science (J277) revision series! In this interactive video, we are tackling "Refine the Algorithm" questions. The exam board will give you a piece of basic or broken code and ask you to upgrade it to add new features.
Interactive Challenge: For each of the 5 questions, I will put the scenario on the screen. I want you to PAUSE the video, open your Python editor, and try to code the answer yourself before I reveal the solution and walk through the official mark scheme!
We will cover:
- Q1 (4 Marks): Refining an input to add a `WHILE` loop for validation.
- Q2 (5 Marks): Upgrading a sequence into a modular `function` with a `return` value.
- Q3 (6 Marks): Building a 3-attempt password authentication loop.
- Q4 (5 Marks): Iterating through an array and running a conditional total calculation.
- Q5 (4 Marks): Refining code to write data to an external text file.
Download
0 formats
No download links available.
Refine the Algorithm: 5-Question Coding Challenge | OCR J277 Paper 2 | NatokHD