AS 91906 Annotated exemplars

Use complex programming techniques to develop a computer program

Digital Technologies | Level 3
More about this standard

Download all exemplars

Commentary

This annotated exemplar is intended for teacher use only. Annotated exemplars are extracts of student evidence, with commentary, that explain key parts of a standard. These help teachers make assessment judgements at the grade boundaries.

Download all exemplars and commentary

TKI Digital Technologies assessment resources (external link)

Excellence

Commentary

For Excellence, the student needs to use complex programming techniques to develop a refined computer program.

This involves:

  • ensuring that the program is a well-structured, logical response to the task
  • making the program flexible and robust
  • comprehensively testing and debugging the program. 

Full samples of student evidence are available in our online Learning Management System, Pūtake.

The student has ensured that the program is a well-structured, logical response to the task by using:

  • abstractions where appropriate
  • functions to avoid repeated code
  • constants as required when a value never changes
  • variables of appropriate scope.

The student has made the program flexible and robust. For example:

  • The code works for expected, unexpected, and boundary values.
  • It is easy to extend the functionality of the code (e.g. a function has been used to check the menu choices, so it would be easy to update the menu to add another level or path).
  • Derived values have been used to iterate through a collection, instead of using hard-coded values.
  • They have used the GUI to limit invalid input or used other appropriate techniques such as try/except to check for validity.
  • Derived values are returned properties or are calculated from other values.

The student has comprehensively tested and debugged the program. For example, they have:

  • Supplied test plans and/or annotated screenshots showing that the program components and final program have been tested to ensure that they work correctly for expected cases, boundary cases, and unexpected or invalid cases.
  • Used others to test their program throughout the development process and refined the final program based upon testing. 

There is no student work attached to this commentary. Assessors can see student work examples in the Level 3 Making Assessor Judgements course on Pūtake.

Enrol for Digital Technologies courses (external link) - Pūtake

Merit

Commentary

For Merit, the student needs to use complex programming techniques to develop an informed computer program.

This involves:

  • documenting the program with appropriate variable/module names and organised comments that describe code function and behaviour
  • following conventions for the chosen programming language
  • testing and debugging the program in an organised way to ensure that it works on a sample of both expected cases and boundary cases.

Full samples of student evidence are available in our online Learning Management System, Pūtake. 

The student has documented the program with variable/module names and organised comments that describe code function and behaviour. For example:

  • They use descriptive variable and module names, e.g. the menu module has been called ‘display menu’, the list holding the ingredients of the planned menu ‘planned ingredient list.’
  • The code has comments at key points that describe code function and behaviour, e.g. ‘#function to display menu choices selected for the week—called from update choices or new week.’

The student has followed common conventions for the chosen programming language. For example:

  • They used all lowercase variable names and CapWords for classes for code written in Python.
  • Function definitions are placed before or after the main function, as per the programming language.
  • Layout conventions are followed, e.g. whitespace between definitions.
  • Indentation and/or bracketing conventions are followed as per the programming language.
  • The student has used an automated tool to check that their code follows common conventions.

The student has tested and debugged the program effectively to ensure that it works on a sample of both expected and t boundary cases. The program should provide the opportunity to test boundary cases. For example: 

  • They have provided evidence of testing components (or the complete program) to confirm that it works correctly on a range of boundary cases, e.g. the upper and lower bounds of the number of servings required.
  • The testing methodology is effective within the context of the problem.

There is no student work attached to this commentary. Assessors can see student work examples in the Level 3 Making Assessor Judgements course on Pūtake.

Enrol for Digital Technologies courses (external link) - Pūtake

Achieved

Commentary

For Achieved, the student needs to use complex programming techniques to develop a computer program. 

This involves:

  • writing code for a program that performs a specified task
  • using complex techniques in a suitable programming language
  • setting out the program code clearly and documenting the program with comments
  • testing and debugging the program to ensure that it works on a sample of expected cases.

Full samples of student evidence are available in our online Learning Management System, Pūtake.

The student has written code for a program that performs a specified task. 

For example, the program meets all the specified task requirements for a menu planning system and allows users to enter typical data and outputs expected results.

The student has used complex techniques in a suitable programming language.

For example, for a menu planning program:

  • variables that store two different data types (e.g. string for ingredients and integer for quantity)
  • iteration control structure (e.g. a loop that repeats the entry prompt)
  • selection (e.g. condition based on meal type)
  • input from the user and output of the menus
  • and two or more complex techniques from Explanatory Note 5, such as:
    • programming or writing code for a graphical user interface (GUI)
    • reading from, or writing to, files or other persistent storage
    • object-oriented programming using class(es) and objects defined by the student
    • using types defined by the student
    • using third-party or non-core API, library, or framework
    • using complex data structures (e.g., stacks, queues, trees).

The student has set out the program code clearly and documented the program with comments. For example, most of the variable names are clear and sensible, and the code includes some comments stating what the code does.

The student has tested and debugged the program to ensure that it works on a sample of expected cases. They have also provided evidence of testing their program. The program works on expected input but may crash on boundary or invalid input.

There is no student work attached to this commentary. Assessors can see student work examples in the Level 3 Making Assessor Judgements course on Pūtake.

Enrol for Digital Technologies courses (external link) - Pūtake

See all Digital Technologies assessment resources