Tutorial 4 - 1866027742
Tutorial 4 - 1866027742
Part A.
The ABC Company requires a program that will process the weekly wages of its employees.
Processing:
validate the input (see Table 1); display error messages for invalid input
calculate the weekly pay where the input is valid (see Table 2); pay rate is R500 per hour
Table 1
input to be valid:
employee number in the range 100 to 400 inclusive
hours worked >0 and <= 70
Table 2
hours worked calculation
normal time (<= 40 hours) hours worked * pay rate
overtime (> 40 hours) hours worked * pay rate for <= 40 hours; hours worked * pay rate * 1.5
for hours worked above 40 hours
REQUIRED: Produce the Test Plan, IPO chart, Method Outline, and the Deskcheck of at least 1 valid example
and 1 invalid example, for this problem. You should pass parameters as appropriate. This solution should be
typed using the templates given on the following pages.
You should submit the completed work (in a Word document) into Tut 4 in Ulwazi, by 23h59 on 9 September.
Part B.
For this submission, you should write 1 thing that you would like Linda to Start doing, 1 thing you would like
Linda to Stop doing, and 1 thing you would like Linda to Continue doing. This should be answered in the survey
called SSC in Ulwazi by 23h59 on 9 September. Note that this is an ad hoc submission.
TEST PLAN
Objective: to test the program as thoroughly as possible
Constraints: time; validation rules
Assumptions: hours worked is numeric
Strategy
Input employee number; hours worked
Expected 1. " Employee number is invalid"; " invalid number of hours worked"
Results. 2. 100
3. 30750
IPO CHART