Skip to content

AS91896 example assessment Build a playground inspection report tool for a district council

Students write a menu-driven program that loads playground inspection records from CSV files, cleans and validates them, and reports issues and issue rates for each area, a single playground's history and playgrounds that are overdue for inspection. The brief builds in collections of records, functions, string handling and file input, with real boundaries and messy data so students can show every grade step.
Level 2Internal6 credits

For AS91896: Use advanced programming techniques to develop a computer program (NCEA standard 91896).

Scenario

Pine Bay District Council is a fictional council in a coastal New Zealand district.

Suits

Year 12 Digital Technologies (programming), NCEA Level 2

In the pack

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

The task

You are going to write a program for the parks manager at Pine Bay District Council. A parks officer checks every council playground once every four weeks and records the main issue found, and the results are saved in CSV files.

The manager wants a program that loads those files, copes with the typing mistakes in them, and reports where the problems are and which playgrounds need checking. Resource 1 is the manager's brief: it is the specification your program must meet.

You will also plan and carry out testing, record every fault you find and fix, and keep your code clear enough that someone else could pick it up next year.

Part 1: Understand the brief and plan

  1. Read Resource 1. Highlight every input, output, rule and number the program must handle.
  2. Open Resource 2 and Resource 3 in a plain text editor. Note how each row is laid out and find every mistake in Resource 3.

For the teacher

  • This task assesses AS91896 version 2, Use advanced programming techniques to develop a computer program (Level 2, 6 credits, internal).
  • Version 2 was published in December 2024; NZQA's AS91896 clarification (updated February 2026) applies to it.
  • Each student builds one text-based program to a written brief and tests it.
  • The brief makes the required features come naturally: data of several types (dates, text site IDs, whole number counts, decimal rates, true/false flags), sequence, selection and iteration, input from the user and from files, and output to the screen.
More for the teacher (5)
  • It also calls for at least two advanced techniques, as the standard requires: a collection of records (a list of dictionaries or a list of lists) that the program adds to, functions with parameters and return values, and non-trivial string manipulation to clean and check site IDs, dates and issue names.
  • The priority rule, the overdue rule, the site number range and the menu give clear boundaries for Merit testing, and Resource 3 is deliberately messy so that Excellence students must handle invalid data without crashing or miscounting.
  • The council, its playgrounds and the inspection records are fictional, and the four-week check is the council's own routine in this brief, not a legal requirement.
  • Students do not visit or inspect playgrounds for this task.
  • The Ministry has announced that NCEA will be replaced by new qualifications, with the new Year 12 certificate due to roll out from 2029; check NZQA and Tāhūrangi for the last year this Level 2 standard can be assessed before you plan past 2028.

The full assessment

Student task

  • Part 1: Understand the brief and plan
  • Part 2: Write the program
  • Part 3: Plan and carry out testing
  • Part 4: Debug and improve

Resource sheets

  • Resource 1: The parks manager's brief
  • Resource 2: Spring inspection checks (checks_spring_2026.csv)
  • Resource 3: New checks with mistakes (checks_25nov2026.csv)
  • Resource 4: Test plan
  • 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 AS91896All NCEA Digital Technologies standards