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

Do we really use database normalisation in the real world?

Database normalisation keeps data consistent and tidy, but in the real world, speed often wins over strict rules. Discover how companies like Twitter balance correctness with performance.

26 August 2026

Why do batteries get worse over time?

Ever wondered why your phone battery doesn’t last like it used to? Lithium-ion batteries degrade over time due to stress, heat, and chemical reactions, slowly reducing their charge capacity.

24 August 2026

Why does a weak signal drain your phone battery so fast?

Ever wondered why your phone battery drains so fast when the signal’s weak? It’s not the battery’s fault—your handset is panicking, shouting at towers, and retransmitting data nonstop.

21 August 2026

Why September nerves can be a good thing.

For many teachers, the final week of the summer holiday brings a strange mix of excitement and nerves. But with the right preparation, organisation and routines, those September jitters can become a positive force. Find out how to start the new academic year feeling more confident, organised and in control.

What is refactoring?

Refactoring is the process of improving your code without changing what it does. Discover why every professional programmer loves a good refactor and how it keeps your code efficient, readable, and ready for the future.

19 August 2026

Every teacher has a superpower, but do you know yours?

Every teacher has a superpower – but what is yours? We explore the qualities, skills and passion that make great teachers, and why recognising your own strengths can make all the difference in the classroom.

17 August 2026

A new direction for Key Stage 3 Computing

Craig’n’Dave’s new Key Stage 3 curriculum is more than a collection of lessons – it’s a carefully designed approach to preparing students for the future. Discover how careers, curiosity, resilience and reduced workload shape the new KS3 Resource Centre.

Why your bluetooth audio always seems a little delayed?

Ever wondered why your Bluetooth headphones lag behind the action on screen? It’s not the signal — it’s all the behind-the-scenes “paperwork” your audio has to go through before it reaches your ears.

How does optical disc burning work?

Discover what really happens when you “burn” a CD or DVD—it’s not fire, it’s a laser precisely encoding your data onto the disc. From pits and lands to rewritable mood-ring discs, here’s how your files get stored.

14 August 2026