Back

Time2Code – update to 02-02 Largest number program

23 October 2025

A lot of students are getting confused about the success criteria of the largest number program in level 2. The subprogram requires a value of 1, 2 or 3 to be returned depending on which of three input parameters is the largest. For example, the numbers 4, 6, 3 should result in 2 being returned because the second number is the largest. That is really confusing because there is no number 2!

To make the success criteria and examples easier to understand, the requirements have been changed so that the subprogram should return “first”, “second” or “third” instead. The output statement is then either:

  • The largest of the three numbers is the first number.
  • The largest of the three numbers is the second number.
  • The largest of the three numbers is the third number.

The boilerplate code has not been changed because this still matches the video. The sample tests, flowcharts, Parson’s problem and model solution for teachers have all been updated.

How to get a new model solution

Related posts

Taking the next step

Teaching careers rarely follow a straight ladder, and the most valuable opportunities are often the ones that sit to the side of it. The key is understanding what each role really gives you — and whether that’s career progression, professional growth, or both.

22 May 2026

Cambridge OCR: Supporting Teachers, Inspiring Students & at this year’s Festival of Computing

Cambridge OCR, a leader in UK Computing education, is sponsoring this year’s Festival of Computing —bringing expert insight, CPD, and a passion for supporting teachers. Discover how they’re shaping the future of qualifications and why you won’t want to miss connecting with them at the event.

15 May 2026

Would we do it again?

As May edges closer to its final days, many teachers find themselves staring at the same date every year: 31 […]

8 May 2026

AQA at the Festival of Computing 2026

AQA, the UK’s largest exam board and education charity, joins the Craig’n’Dave Festival of Computing 2026 as Headline Sponsor, bringing expert insight, CPD sessions and curriculum expertise to support secondary Computer Science teachers.

7 May 2026

How a GCSE in computer science can shape your students’ future careers

A GCSE in Computer Science isn’t just a qualification—it’s a launchpad to exciting careers in tech, from gaming and robotics to cyber security and AI.
By connecting classroom learning to real-world pathways, teachers can inspire students to see the true value and future potential of their skills.

1 May 2026

How a GCSE in Computer Science can shape your future career

A GCSE in Computer Science opens the door to careers in gaming, robotics, cyber security, and beyond.
Discover how this subject can lead to exciting degrees and future opportunities in the tech world.

29 April 2026

Do we need government AI copyright laws?

AI is transforming creativity — but are we protecting the people behind the art? We explore the UK’s heated debate over AI copyright laws and what they mean for creators and innovation.

8 April 2026

How Do Map Apps Work?

Discover how your map app uses graph theory and clever algorithms to find the fastest route, even before you spot the traffic jam. It’s the smart tech behind every turn and reroute you trust.

What is Chip Binning?

Chip binning is how manufacturers sort silicon chips based on their performance, turning some into high-speed processors and others into more modest models. It’s like baking cookies—some come out perfect, others just good enough.