Back to Dashboard

2.3 Robust Programs Diagnostic

Definitive Diagnostic Sequence | Defensive Design Tier

Question 1 2 Marks

Define the term Input Validation and provide one example of a check.

Question 2 3 Marks

[AO2 Matrix]: Identify the type of test data for a system accepting scores between 1 and 100 (inclusive).

TestDataNormalBoundaryInvalid
50
100
101
Question 3 2 Marks

Identify two ways to improve the maintainability of a program.

Question 4 2 Marks

[Danger Zone]: Why must a WHILE loop be used for input validation instead of an IF statement?

Question 5 2 Marks

Define Iterative Testing and state when it occurs.

Question 6 2 Marks

Define Terminal Testing and state when it occurs.

Question 7 2 Marks

Contrast a Syntax Error with a Logic Error.

Question 8 2 Marks

[AO3 Scenario]: A programmer uses the variable a to store a user's age. Explain why this is poor maintainability.

Question 9 2 Marks

Identify the type of validation check that ensures a field cannot be left blank.

Question 10 2 Marks

For a password that must be 8 characters or more, identify a Boundary test value and the Expected Outcome.