Evaluation - What do I need to know?


Notes & Slides


When Evaluating, it is IMPORTANT that you evaluate your own code in your own words!

Fit for Purpose

Once a program has been analysed, designed, implemented and tested it is important to evaluate the program to ensure it is fit for purpose.

Evaluating allows us to ensure the program does the job it was designed to do and think about any improvements that could be made.

When evaluating a program we should ensure that the program:

  • Is it a completed solution (fully solves the problem). Revisit the Analysis stage andthe problem statement
  • Meets the design/specification given
  • Example Answer

    Efficiency of code

    Removing unnecessary code, arriving at the final output in the quickest way and use of the correct variables, data types and programming concepts allows for an efficient program.

    It is important to consider the following when creating code:

    Example Answer

    Readability of code

    It is important for programs to be written in a readable fashion so that they can be easily understood. Imagine if you (or someone else) wanted to make changes to a program that you wrote a year ago or more. If you didn't take care to make sure that it could be easily understood then it will probably take a long time to make the changes.

    Some methods of making a program readable are:

    Example Answer

    Robustness of code

    A program is robust if it has the ability to cope with errors or incorrect input for the user without the program crashing.

    For example, a program has been developed to ask the user to input their age as an integer. However, a user accidentally types their age in as a string. If the program was to crash then it would not be a robust program.

    To evaluate robustness, programs should be tested using Normal, Extreme and Exceptional test data.

    Example Answer