Which type of test data is at the extreme ends of a range of acceptable data?
- Normal data
- Boundary data
- Invalid data
- Erroneous data
When user input fails a validation check, what should be included in the failure message?
- Detailed technical information
- Error codes relating to source code line numbers
- Simple instructions to help the user re-try
- Nothing
Which type of error is caused by misspelling a variable name?
- Logic error
- Syntax error
- Type error
- Iterative error
Which type of input validation checks if the entered data is a valid date, email address, or phone number?
- Range validation
- Format validation
- Length validation
- Presence validation
What term describes the process of checking input data to ensure it falls within acceptable ranges or formats?
- Output verification
- Input validation
- Data encryption
- Program compilation
Which of the following is not good practice for code maintainability?
- Adding descriptive comments
- Using meaningful filenames
- Indenting code within subprograms
- Using abbreviated variable names
A user enters their age as "potato". What type of data has been entered?
- 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.
What is sanitisation?
- The process of hiding or protecting data so it cannot be seen or disclosed.
- The process of encrypting or obfuscating data so it cannot be read or understood.
- The process of compressing or summarising data so it cannot be stored or transmitted.
- The process of deleting or overwriting data so it cannot be recovered or restored.
Which type of error is caused by forgetting to close parenthesis?
- Logic error
- Syntax error
- Type error
- Iterative error