What is another name for final testing?
- Terminal testing
- Active testing
- Boolean testing
- Iterative testing
What is the purpose of range validation?
- Checking the input is within specific boundaries
- Verifying the format of the input
- Ensuring the input is not empty
- Encrypting the input data
Which type of error is caused by forgetting to close parenthesis?
- Logic error
- Syntax error
- Type error
- Iterative error
Which type of test data is outside the limits of valid data
- Normal data
- Boundary data
- Invalid data
- Erroneous data
What is the purpose of defensive design?
- To ensure that a program runs correctly and continues to run no matter what actions a user takes.
- To ensure that a program runs quickly and efficiently.
- To ensure that a program runs on any platform or device.
- To ensure that a program runs without any errors or bugs.
Which type of input validation should be used to check a National Insurance number?
- Range check
- Length check
- Format check
- Presence check
What is the primary purpose of the try - except block in Python?
- To define a function
- To handle exceptions
- To create a loop structure
- To declare variables
Which type of test data is at the extreme ends of a range of acceptable data?
- Normal data
- Boundary data
- Invalid data
- Erroneous data
What is the main purpose of performing a presence check?
- Checking if the input is within a specified range
- Verifying the format of the input
- Ensuring the input is not empty
- Encrypting the input data
A system stores UK telephone numbers (e.g. 07321 123456). Which data type should be used?
- Float
- Integer
- String
- Boolean