Test data can be divided into three main categories:
1. Normal – This is data input that it is likely that the program will process during a typical run.
2. Extreme – This is data input that is not typical and may occur at the boundaries of the program’s processing.
3. Exceptional – This is data input that is incorrect and will need to be validated by the program to prevent the program giving incorrect results or crashing.
Develop an algorithm for a program that will accept as input a students mark in two exams (Each exam is out of 50 marks). The program should calculate the students total mark and display a message. If the total is greater than or equal to 50 then the output should be a statement of ‘Pass’ and if it is less than 50 it should display ‘Fail’.
Normal Test Data
Extreme Test Data
Exceptional Test Data