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

Can AI remember?

Why does AI feel like it forgets everything mid-conversation? Discover how new breakthroughs in long-term memory could transform AI from goldfish to genius.

27 July 2026

What is E-Ink?

From e-readers to colour screens, discover how e-ink works, why it uses so little power, and why adding colour isn’t as easy as it seems.

24 July 2026

How do drones keep balanced?

Drones don’t hover by staying still — they balance by panicking hundreds of times per second and correcting instantly. Inside, tiny sensors and smart controllers keep them upright in a constant dance with physics.

23 July 2026

Is fetch, decode, execute still a thing?

Fetch, decode, execute: the classic CPU cycle is still alive and well, just turbocharged with pipelines, out-of-order execution, and branch prediction. Modern processors may be chaotic, but underneath it all, the old three-step dance still runs the show.

22 July 2026

Key in a lock with a house keyring.

Time2Code for Python has moved to GoCodeIt and Dodona

Following the closure of Trinket, the Time2Code Python course is now hosted on the GoCodeIt and Dodona platforms. As part […]

21 July 2026

Why is RAM Suddenly So Expensive?

Why has RAM gone from bargain-bin prices to costing like a city break? It’s not your PC suddenly getting fancy — AI data centres are hoovering up memory, and a few big companies are calling the shots.

Am I really Human?

Ever wondered why ticking “I am not a robot” feels like a test of your very humanity? It turns out your human clumsiness is exactly what keeps bots at bay.

20 July 2026

Why are TVs so cheap now?

Ever wondered why you can grab a 43” 4K smart TV for just £120? It’s a mix of industrial-scale manufacturing, razor-sharp competition, and the surprising role your viewing habits play in keeping prices low.

10 July 2026

Four revision techniques that actually work

Stop wasting time on ineffective revision. Learn four proven techniques that improve recall, confidence and exam performance.

8 July 2026