All subjects · Computer Science · WCP02 Practical Programming and Problem-solving

Exam technique for the Unit 2 onscreen practical paper

Edexcel IAL Computer Science · WCP02 Practical Programming and Problem-solving

Unit 2 is taken on a computer: 3 hours, 80 marks, five compulsory questions, Python 3 in an IDE of your choice, with code files and the Programming Language Subset provided.

Practise this in the app: instant marking and a fix for every mistake. Free, no email needed to start.

Practise this lesson

The paper

FeatureUnit 2 (WCP02)
FormatOnscreen practical exam, externally assessed
Time and marks3 hours, 80 marks
QuestionsFive compulsory questions
LanguagePython 3 in an IDE of your choice
ProvidedPrinted question paper, digital code and data files, digital Programming Language Subset (PLS)
Weighting50% of the IAS; 25% of the full International A level
SessionsJanuary and June; first assessment June 2027

What the sample paper asked

The sample assessment's five questions show the style:

Working method

Marks for more than working code

Mark schemes credit specific lines (a correct loop header, a correct condition), the functionality of the whole program, design points such as a single pass through the data and leaving the original data unchanged, and clean code: comments, white space, consistent naming and meaningful identifiers. A partly working, readable program still earns many marks, so never leave a question blank.

Worked example

You have 3 hours for 80 marks. Roughly how long should you spend on a 20-mark question?

  1. 180 minutes / 80 marks = 2.25 minutes per mark
  2. 20 marks x 2.25 = 45.0 minutes

Answer: About 45 minutes (the sample paper suggested about an hour for its 20-mark question, which is the longest task)

Key idea: 3 hours, 80 marks, five compulsory questions in Python 3; save with the exact filenames; use supplied constants and code; make it work for any data; test it; write clean code.

Check yourself

  1. The paper is 3 hours for 80 marks. About how many minutes is that per mark? Give your answer to 2 decimal places.
    Show answer

    2.25. 180 / 80 = 2.25 minutes per mark.

  2. What should you do with the original code files provided in the exam?
    • Edit them directly and save over them
    • Leave them unchanged and save your work under the filename given in each question
    • Delete them once you have read them
    • Rename them to your candidate number
    Show answer

    Leave them unchanged and save your work under the filename given in each question. The instructions say not to overwrite the original files, and to save with the given names.

  3. In a question that asks you to correct errors in a program, what should you avoid?
    • Running the program to test it
    • Fixing logic errors as well as syntax errors
    • Keeping the original structure
    • Adding new features that were not asked for
    Show answer

    Adding new features that were not asked for. Fix the errors without changing the intended functionality or adding features.

  4. A task says the program 'must work for any number of sensors'. What does this mean for your loops?
    • Loop to the length of the data, not to a fixed number typed in the code
    • Use a while True loop
    • Copy the data into a list of fixed size 100
    • Use a separate variable for each sensor
    Show answer

    Loop to the length of the data, not to a fixed number typed in the code. Using len() (or iterating over the structure) makes the code work for any size of data.

  5. Which language is used for the Unit 2 paper?
    • Java
    • Pseudocode only
    • Python 3
    • C#
    Show answer

    Python 3. Unit 2 is assessed in Python 3, using the Programming Language Subset.

  6. Which of these earned marks in the sample mark scheme even beyond working output?
    • Informative comments and meaningful identifiers
    • Using as many global variables as possible
    • Writing the whole program in one function
    • Printing every variable at the end
    Show answer

    Informative comments and meaningful identifiers. Clean code points include comments, white space, consistent notation and meaningful identifiers.

Practise with instant feedback

Sources

Last updated 8 November 2026. Spotted a mistake? Tell us.