Which type of program testing takes place during development?
- Terminal testing
- Active testing
- Boolean testing
- Iterative testing
Which type of test data is of the wrong data type?
- Normal data
- Boundary data
- Invalid data
- Erroneous data
Which type of input validation should be used to check a National Insurance number?
- Range check
- Length check
- Format check
- Presence check
A system asks a user to enter a number between 1 and 100. Which of the following entries is erroneous?
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 that an email address contains an @ symbol?
- Range check
- Length check
- Format check
- Presence check
Which type of test data is outside the limits of valid data
- Normal data
- Boundary data
- Invalid data
- Erroneous data
In a try - except block, where should the code that may raise an exception be placed?
- In the
except block - Outside both
try and except blocks - In the
finally block - Inside the
try block
A system processes postcodes. What type of validation should be used?
- Range check
- Length check
- Format check
- Presence check
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.