Exam Strategy: 6-Mark Questions

Step 1 of 4: The Scenario

25%

Read the exam paper scenario carefully.

The "IPO + L" Strategy

Coding questions are marked systematically. If you understand the marking criteria, you can guarantee yourself marks even if your code isn't perfect. Let's break down the winning formula:

I

Initialization

Set up your variables before the loop starts (e.g., total = 0, highest = -1). 1 mark is usually just for doing this!

L

Loop

Use a for loop for known iterations (like 5 students), or a while loop for unknown/validation.

P

Processing

Do the math and input inside the loop (e.g., getting score, adding to the total, checking for highest).

O

Output

Print the final calculated results after the loop has totally finished.

Examiners use specific keywords to tell you exactly which programming constructs to build. Click 'Reveal Next Clue' below to decode the scenario.

The Scenario

Click 'Reveal Next Clue' to begin decoding the scenario.

Live Coding Session

Follow along as the exact solution is constructed, piece by piece, meeting the marking criteria.

Python 3
Code will appear here when you click Start...

Never leave it blank!

Don't know the exact `while` loop logic? Write the rest anyway! A `for` loop with `input()`, running total, and `print()` still gets you 4/6 marks!

Test Yourself

Did you understand the logic? Answer the question below to finish the tutorial.