Test Table No Date Function Test Expected Result Actual Result Pass Problem Tested 1 9/11/11 Float User data Input (whole or Request Input & output message Requested user input. P Raw_Input decimal) & qualifying output appropriate to value Correct message output Fig IF/ELSE message (testing > value only) 1 2 11/11/11 Function Test 1 written as function Request Input & output message Requested user input. P Fig appropriate to value Correct message output 2 3 11/11/11 Time Delay Inclusion of second function using Wait for count of 15 before Output ‘counting’ 15 times in F 1 Fig While loop with count to invoke requesting next input quick succession 3 time delay of 15 (representing minutes) 3 4/12/11 Time Delay & Import time/ Request input, return qualifying Input requested correct P Fig Program Time.sleep () using seconds to statement, request reset & wait qualifying message output & 4 Loop represent minutes. Within appropriate time before time delay before restart. function & IF/ELSE statements. recommencing WHILE to restart program 4 26/12/11 Qualify User To confirm input if outside of a Query & request check & re-input Message to check and P Input specified range (based on of data if outside of parameters value expected input for program type) 6 26/12/11 Sentinel Inclusion of sentinel to quit out of On entry of specified character Did not recognise command F 2 program program ends 6 26/12/11 Sentinel Inclusion of sentinel to quit out of On entry of specified character Program ran through loop F 3 program program ends twice before ending 8 4/1/12 Sentinel Inclusion of sentinel & break On entry of specified character On entry of specified P command to quit out of program program ends character program ended
Test Table No Date Function Tested Test Expected Result Actual Result Problem 1 Fig 1 9/11/11 Float Raw_Input IF/ELSE User data Input (whole or decimal) & qualifying output message (testing > value only) Request Input & output message appropriate to value Requested user input. Correct message output P 2 Fig 2 11/11/11 Function Test 1 written as function Request Input & output message appropriate to value Requested user input. Correct message output P 3 Fig 3 11/11/11 Time Delay Inclusion of second function using While loop with count to invoke time delay of 15 (representing minutes) Wait for count of 15 before requesting next input Output ‘counting’ 15 times in quick succession F 1 3 Fig 4 4/12/11 Time Delay & Program Loop Import time/ Time.sleep () using seconds to represent minutes. Within function & IF/ELSE statements. WHILE to restart program Request input, return qualifying statement, request reset & wait appropriate time before recommencing Input requested correct qualifying message output & time delay before restart. P 4 26/12/11 Qualify User Input To confirm input if outside of a specified range (based on expected input for program type) Query & request check & re-input of data if outside of parameters Message to check and value P 6 26/12/11 Sentinel Inclusion of sentinel to quit out of program On entry of specified character program ends Did not recognise command F 2 6 26/12/11 Sentinel Inclusion of sentinel to quit out of program On entry of specified character program ends Program ran through loop twice before ending F 3 8 4/1/12 Sentinel Inclusion of sentinel & break command to quit out of program On entry of specified character program ends On entry of specified character program ended P Pass
exampleprogrammingassignment..docx