Total Marks Claimed
0 / 81
0% of specification practice marks
Skills Mastered (≥80%)
0 / 7
Core programming skill areas
Readiness Tier
Starting
Tick mark boxes as you self-assess
Mark Schemes Opened
0 / 16
Practice questions inspected
Paper 1 Exam Technique

Exam Strategy & Golden Rules

Rule 01 · Syntax & Indentation

Precision in Freehand Code

Always include colons : after if, elif, else, while, and for. Indent loop and selection bodies consistently. Remember == compares values, whereas = assigns them.

Rule 02 · Banned Built-ins

Manual Traversal Only

When a question forbids built-ins, never write max(), min(), sort(), in, .count(), or .find(). Use an index loop for i in range(len(arr)): and explicit comparisons.

Rule 03 · Method Marks

Secure the Grade 5 Safety Net

Never leave a long coding question blank. Writing an input cast, initialising a counter or total to 0, setting up a loop, and adding a final print() secures 50–60% of available marks (e.g. 6/10 on Q2B).

Rule 04 · 0-Based Bounds

Check Upper & Lower Limits

Strings and arrays start at index 0 and end at LEN(x) - 1. When designing test plans, always distinguish Normal data from valid Boundary and invalid Boundary values.

Skill 01 · 20 Marks Total

Freehand Python Construction: Inputs, Selection & Accumulator Loops

0 / 20 marks
Practice Question 1A · Modulo & Selection Completion

Theme Park Turnstile Prizes

0 / 3 marks

A theme park gives out prizes to every visitor entering through the turnstile, numbered v from 1 to 30:

  • Every 3rd visitor gets a "FastPass"
  • Every 10th visitor gets a "Free meal"
  • Visitors who are both a multiple of 3 and 10 (i.e. 30) get a "VIP upgrade" instead
  • Everyone else gets "Standard entry"

State the Python code that should replace labels L1, L2, and L3 below. (3 marks)

Python · Q1A
v = 1
while v <= 30:
    if v % 30 == 0:
        print("VIP upgrade")
    elif [ L1 ]:
        print("Free meal")
    elif v % 3 == 0:
        [ L2 ]
    else:
        [ L3 ]
    v = v + 1
Interactive Turnstile Modulo Tester
Visitor 15: 15 % 30 != 0, 15 % 10 != 0, 15 % 3 == 0 -> Output: "FastPass"
Practice Question 1B · Sequential Input-Process-Output

School Stationery Shop Takings

0 / 4 marks

A school stationery shop sells three items: Pencils cost £0.50 each, Notebooks cost £2 each, and Calculators cost £8.50 each.

Write a Python program to calculate the total takings for the day. Your program must get the user to enter the number of pencils, notebooks, and calculators sold (storing each in a variable), calculate the total money taken, and output it. (4 marks)

Practice Question 1C · Multi-Branch Selection

Online Parcel Delivery Cost Calculator

0 / 8 marks

Write a Python program that calculates the delivery cost for an online parcel order based on its weight in kilograms (kg):

  • A standard handling fee of £5 plus: £4 per kg if the parcel weighs 10 kg or less, or £2 per kg if the parcel weighs more than 10 kg.
  • If the parcel weighs more than 20 kg, a flat heavy-freight fee of £60 is charged and no other charges apply.

Get the user to enter the weight of the parcel and output the total delivery cost. (8 marks)

Interactive Parcel Branch Tester
Branch matched: elif weight > 10 (12 <= 20) -> £5 + (12 × £2) = £29.00
Practice Question 1D · Refactoring into an Iteration Loop

Daily Rainfall Accumulator

0 / 5 marks

The program below gets four daily rainfall readings (in mm) and outputs the total rainfall. Rewrite the program so that it achieves the exact same result using an iteration structure that contains only one input() statement. (5 marks)

Original Unrefactored Code · Q1D
day1 = int(input())
day2 = int(input())
day3 = int(input())
day4 = int(input())
totalRain = day1 + day2 + day3 + day4
print(totalRain)
Skill 02 · 16 Marks Total

Manual Array & String Traversal: No Built-in Shortcuts

0 / 16 marks
Prohibited Built-in Routines Warning

In Paper 1 manual traversal questions, max(), min(), sort(), in, .count(), and .find() are banned because examiners award marks specifically for writing the index-based iteration loop, element-by-element comparison, and boolean flag tracking yourself.

Practice Question 2A · Finding Maximum in an Array

Weather Station Highest Temperature

0 / 6 marks

A weather station stores the daily highest temperatures for a month in an array of real numbers called temps. Write a Python program to find and output the highest temperature in the array.

  • Your program must work with any size of array.
  • You must not use any built-in routines to find the largest value (e.g. max()) or sort the array.
  • You do not need to write code to create the array temps. (6 marks)
Practice Question 2B · Condition Loop, Subroutine Call & Manual String Search

Security Door 6-Digit PIN Mask

0 / 10 marks

A security door uses a 6-digit PIN string stored in secretPin (e.g. "482410"). A mask string called progress starts as "######". Each time the user enters a digit, checkDigit(secretPin, digit, progress) returns an updated progress string replacing matching "#" characters.

Extend the program so it keeps repeating until the user has had five attempts or there are no "#" symbols left in progress, displays progress after each attempt, and finally outputs "Access denied" or "Access granted". You must not use built-in routines (such as in, .count(), or .find()) to check for "#". (10 marks)

Starter Code · Q2B
secretPin = input()
progress = "######"
Interactive Security Door PIN Mask Simulator (secretPin = "482410" — 5 unique digits)
progress = "######" | attempts = 0 / 5 | manual scan hasHash = True
Grade 5 Safety Net Tip

Even if the manual boolean flag inside the while loop feels tricky, writing while attempts < 5:, getting input, calling checkDigit, printing progress, and incrementing attempts secures 6 out of 10 marks.

Skill 03 · 14 Marks Total

Precision Code Tracing: Operators, Trace Tables & Loop Auditing

0 / 14 marks
Practice Question 3A · Program Components & while Trace

Countdown Multiplier Trace

0 / 6 marks
Python · Q3A
1 # Countdown multiplier
2 total = 2
3 step = 4
4 limit = 1
5 while step > limit:
6     total = total * 3
7     step = step - 1
8     print(total)
  1. State the line number where an arithmetic operator is first used. (1 mark)
  2. State the relational operator used in the program. (1 mark)
  3. Complete the trace table below for the program above. (4 marks)
3. Interactive Trace Table (leave unchanged cells blank)
Row total step limit Output
1
2
3
4
Enter your traced values and click "Check My Trace".
Practice Question 3B · Nested Logic String Trace & 0-Based Indexing

Bitwise-Style String Comparison Trace

0 / 6 marks
Pseudo-code · Q3B
1  s1 <- '1010'
2  s2 <- '1100'
3  result <- ''
4  FOR i <- 0 TO LEN(s1) - 1
5      IF s1[i] = '1' AND s2[i] = '1' THEN
6          result <- result + 'A'
7      ELSE
8          IF s1[i] = '0' AND s2[i] = '0' THEN
9              result <- result + 'B'
10         ELSE
11             result <- result + 'C'
12         ENDIF
13     ENDIF
14 ENDFOR

Complete the trace table for the pseudo-code algorithm above (5 marks), then explain why line 4 uses LEN(s1) - 1 instead of LEN(s1). (1 mark)

Step s1 s2 result i
Init
Pass 1 ——
Pass 2 ——
Pass 3 ——
Pass 4 ——
Fill in the trace table (for empty string type '') and click "Check String Trace".
Practice Question 3C · Auditing Array Loops

Spotting Boundary & Condition Errors

0 / 2 marks

An array scores <- [10, 20, 5, 15] contains four values. State whether each algorithm below correctly calculates the total of all four values (Yes or No). (2 marks)

Algorithm Pseudo-code Correct?
Algorithm 1 total <- 0, FOR i <- 0 TO LEN(scores) - 1, total <- total + scores[i], ENDFOR
Algorithm 2 total <- 0, i <- 0, WHILE i > 4, total <- total + scores[i], i <- i + 1, ENDWHILE
Algorithm 3 total <- 0, FOR i <- 1 TO 4, total <- total + scores[i], ENDFOR
Select Yes or No for all three algorithms and click "Check Audit Decisions".
Skill 04 · 9 Marks Total

Standard Searching & Sorting: Bubble Sort, Merge Sort & Binary Search

0 / 9 marks
Practice Question 4A · Bubble Sort Swap-by-Swap Table

Ascending Bubble Sort on [34, 12, 50, 25, 18]

0 / 3 marks

A list of numbers [34, 12, 50, 25, 18] is sorted into ascending order using a bubble sort. Record the new list order every time the order changes during Pass 1 (the first three swaps; use the visualiser below to inspect all 6 swaps to completion). (3 marks)

Interactive Bubble Sort Swap Visualiser
Initial list: [34, 12, 50, 25, 18] (Swap 0 of 6)
Practice Question 4B · Merge Phase of Merge Sort

Merging Single-Item Sublists

0 / 3 marks

Show the steps involved in the merge part of a merge sort algorithm starting from the separated single-item lists [34], [12], [50], [25], [18] until they form the final sorted list [12, 18, 25, 34, 50]. (3 marks)

Interactive Merge Sort Phase Stepper
Stage 0 (Split Sublists): [34] [12] [50] [25] [18]
Practice Question 4C · Algorithm Comparisons

Efficiency & Binary Search Preconditions

0 / 3 marks
  1. State one advantage of Merge Sort compared to Bubble Sort when sorting a very large dataset. (1 mark)
  2. A library has an array of 10,000 book ISBN numbers stored in random (unsorted) order. Explain why a programmer cannot immediately use a Binary Search on this array. (2 marks)
Skill 05 · 7 Marks Total

Subroutines, Parameters & Structured Programming

0 / 7 marks
Practice Question 5A · Subroutine Inspection

Analysing checkVal(score) with MOD 5

0 / 7 marks
Figure A · Pseudo-code
SUBROUTINE checkVal(score)
    OUTPUT score
    rem <- score MOD 5
    OUTPUT rem
    IF rem = 0 THEN
        RETURN True
    ELSE
        RETURN False
    ENDIF
ENDSUBROUTINE
  1. Describe the purpose of the subroutine checkVal. (1 mark)
  2. The subroutine is called using checkVal(17). State the two values that will be output. (2 marks)
  3. The subroutine is called using checkVal(20). State the value returned. (1 mark)
  4. State the identifier of the parameter in Figure A. (1 mark)
  5. State two advantages of dividing a large program into subroutines (the structured approach). (2 marks)
Interactive Subroutine Tester: OUTPUT vs RETURN
Console OUTPUT Statements
Line 1: 17 Line 2: 2 (17 MOD 5 = 2)
RETURN Value to Caller
False (rem is 2, not 0)
Skill 06 · 11 Marks Total

Validation Loops, Test Data & Flowcharts

0 / 11 marks
Practice Question 6A · Validation Loop & Boundary Test Data

Username Length Validation (4–10 Characters)

0 / 8 marks

A website requires users to choose a username that has at least 4 characters and no more than 10 characters (more than 3 and fewer than 11 characters).

  1. Write a Python program that gets the user to enter a username, outputs "Username valid" or "Username invalid", and repeats until a valid username is entered. (6 marks)
  2. Complete the test plan for Test 2 (Boundary — Valid) and Test 3 (Boundary — Invalid) by stating a valid character length for each. (2 marks)
Interactive Username & Boundary Test Simulator
Length: 6 chars | Test Type: Normal | Output: "Username valid"
Test Input / Length Type of Test Data Expected Result
Test 1"Alex12" (6 chars)Normal"Username valid"
Test 2[ ? ] charsBoundary"Username valid"
Test 3[ ? ] charsBoundary"Username invalid"
Practice Question 6B · Flowchart Completion

Product Code Generator Flowchart (L1–L6)

0 / 3 marks

An algorithm asks for itemName and year. If itemName has more than 4 characters, code is the first 4 characters (SUBSTRING(0, 3, itemName)) followed by year; otherwise code is full itemName followed by year. Output code. Match statements L1–L6 to the flowchart positions. (3 marks)

  • L1: code <- itemName + year
  • L2: LEN(itemName) > 4
  • L3: itemName <- USERINPUT
  • L4: code <- SUBSTRING(0, 3, itemName) + year
  • L5: OUTPUT code
  • L6: year <- USERINPUT
START Slot A (Input 1) Slot B (Input 2) Slot C (Decision) YES Slot D (Yes) NO Slot E (No) Slot F (Output) END
Assign L1–L6 to Slots A–F and click "Check Flowchart Matches".
Skill 07 · 4 Marks Total

Data Types & Pseudo-code Records

0 / 4 marks
Practice Question 7A · Data Types & Record Structures

Car Dealership Record Instantiation & Field Access

0 / 4 marks
Pseudo-code · Q7A
RECORD Car
    model : String
    doors : Integer
    engineSize : Real
ENDRECORD

car1 <- Car('Fiesta', 5, 1.2)
  1. State the Python data type that corresponds to the Real data type used for engineSize. (1 mark)
  2. Explain why the value '5' (with quotation marks) is not stored as an Integer data type. (1 mark)
  3. Write the pseudo-code statement to create a record called car2 for a 'Civic' with 3 doors and an engine size of 1.8. (1 mark)
  4. Complete the pseudo-code line to output the number of doors of car1: OUTPUT car1____________________ (1 mark)
Interactive Record Constructor & Dot-Notation Sandbox
Pseudo-code: car2 <- Car('Civic', 3, 1.8) Evaluated OUTPUT car2.model -> 'Civic' (Python type: str)