Skip to content

AS91906 example assessment Build a results program for a schools' cross country

Students write a program that reads the entry list and the finish-line timing file from an inter-school cross country, works out each runner's time and place, scores the school teams, and writes the results files the officials print and publish. The brief needs file handling and student-defined classes, and the timing file is deliberately messy, so students meet real boundary and invalid cases while they test.
Level 3Internal6 credits

For AS91906: Use complex programming techniques to develop a computer program (NCEA standard 91906).

Scenario

The Kahikatea Valley Secondary Schools' Sports Association is a fictional group of four schools that runs a cross country championship each June.

Suits

Year 13 Digital Technologies (programming), NCEA Level 3

In the pack

6 task parts, 5 resource sheets, marking schedule and teacher notes

The task

You are going to build the results program for the Kahikatea Valley Secondary Schools' cross country. On the day, a volunteer at the finish line types each runner's bib number and the clock time into a timing laptop.

Your program has to read that file and the entry list, work out every runner's time and place, score the school teams, write the results files, and tell the officials about every record it could not use. Real timing files are messy, so your program has to cope with mistakes without crashing or giving a wrong result.

Read the convenor's brief on Resource 1 carefully: it is the specification your program must meet. Your program must use at least two complex programming techniques.

In this task that means reading and writing files and classes you design yourself; a graphical interface is optional.

Part 1: Understand the brief and design the program

  1. Read Resource 1. List every input file, output file, rule and number the program must handle.
  2. Look at Resources 2 and 3 in a plain text editor. Note anything in the timing file that could break a program or give a wrong answer.

For the teacher

  • This task assesses AS91906 version 2, Use complex programming techniques to develop a computer program (Level 3, 6 credits, internal).
  • Students build one program to a written specification and test and debug it.
  • The brief has been designed so that the complex techniques come naturally: the program must read three data files and write results files (persistent storage), and the brief asks for runners, races and teams to be modelled as classes the student defines (object-oriented programming).
  • Students who want to may add a graphical interface for the officials as a third technique, but it is not needed.
More for the teacher (6)
  • Plain lists and dictionaries on their own should not be counted as a complex technique in this task.
  • If you accept a technique outside the standard's examples, record what it is and why, as NZQA's clarification asks.
  • The rules in the brief (a time limit, shared places for equal times, a minimum of four finishers for a team score, and a tie-break) create genuine boundary cases for Merit, and the timing file contains real-world mistakes (a duplicate, an unknown bib, a mistyped time, a time before the race started, stray spaces) for the comprehensive testing and robustness Excellence needs.
  • The scenario is Heapso's own and is not based on an NZQA or TKI assessment resource; the TKI Level 3 resources could not be opened when this pack was written, so check your department is not already using one with a similar context.
  • The Ministry's 2026 Level 3 Digital Technologies Conditions of Assessment could not be opened either (the TKI download returned an error), so read them before you set the task, especially what they say about generative AI.
  • The Government has announced that NCEA Level 3 will be replaced by the New Zealand Advanced Certificate of Education, rolling out from 2030, so check NZQA for transition dates before planning beyond 2029.

The full assessment

Student task

  • Part 1: Understand the brief and design the program
  • Part 2: Read the files into objects
  • Part 3: Times, places and results files
  • Part 4: Score the teams
  • Part 5: Test and debug
  • Part 6: Finish and check

Resource sheets

  • Resource 1: The results convenor's brief
  • Resource 2: entries.csv and schools.csv
  • Resource 3: finishes.csv (from the timing laptop)
  • Resource 4: Test plan template
  • Resource 5: Debugging log

Assessment schedule

  • What Achieved, Merit and Excellence look like in this task, with example evidence
  • Common reasons work isn't at Achieved yet

Teacher notes

  • Conditions and preparation
  • Keeping the work authentic
  • Other contexts the task works in
  • Resubmission

How to plan AS91906All NCEA Digital Technologies standards