Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Expected result: 45, Actual result: 54 | AChecking that a requirement is met by running the program with test data | |
| 2Requirement: Accept marks from 0 to 100. Test: enter 101 and check it is rejected | BTesting -> error found -> Coding -> Testing | |
| 3Testing is the final stage of the PDLC, where the finished program is run to see if it works correctly | CErrors found in testing must go back to coding to be fixed. There is no stage after testing to hide them in. | |
| 4When testing finds an error, the program goes back to the coding stage to be fixed and then tested again | DAnalysis -> Design -> Coding -> Testing | |
| 5The program is tested only on one line of code, so it must work | EThe results do not match, so an error has been found and must be fixed | |
| 6Test result is different from expected, so skip it and move on to the next stage | FTesting means running the whole finished program, not just one part. Other parts could still contain errors. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Testing stage — The final PDLC stage: run the finished program with test data, compare results with expected results, check every requirement is met, and send any errors back to coding.// The final stage of the PDLC is testingIF Actual = Expected THEN
OUTPUT "Pass"
ENDIFIF Actual <> Expected THEN
OUTPUT "Fail"
ENDIFIF RequirementsMet = TRUE THEN
OUTPUT "Testing complete"
ENDIFOUTPUT "Errors found: return to coding"