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 | |
|---|---|---|
| 1Analysis: abstraction, decomposition, requirements | AOnly normal data is used, so abnormal, extreme and boundary data are missing, such as -5, 0, 100 and 101 | |
| 2Testing: normal, abnormal, extreme, boundary data | BDecide what the problem is, ignore unneeded detail, split it into sub-problems and list the inputs, processes, outputs and storage needed | |
| 3Design stage: show the solution as a plan, and plan validation and verification for input | CRun the finished program with different types of test data and compare actual results with expected results | |
| 4Coding stage: write the program from the design and test each part as you go | DThe stages are in the wrong order: requirements belong to analysis, which comes before design | |
| 5A student writes pseudocode first, then lists the requirements of the program | EWrite a loop, then run it and fix errors before adding the next part | |
| 6Testing a mark range of 0 to 100 using only the test data 50, 60 and 75 | FFlowchart or pseudocode with a range check and double entry check |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
PDLC — Program development life cycle: analysis, design, coding, testing. Apply it to a scenario by saying what is done at each stage and which methods and test data are used.// Analysis stage: abstraction, requirementsREPEAT
INPUT Age
UNTIL Age >= 1 AND Age <= 100// Boundary data for 1 to 100: 0, 1, 100, 101// Test data of abnormal type: -5, abcINPUT Age
INPUT AgeCheck
IF Age <> AgeCheck THEN