Which type of testing takes place when all components are completed?
- Terminal testing
- Active testing
- Boolean testing
- Iterative testing
A system stores UK telephone numbers (e.g. 07321 123456). Which data type should be used?
- Float
- Integer
- String
- Boolean
Which type of test data is outside the limits of valid data
- Normal data
- Boundary data
- Invalid data
- Erroneous data
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
What is authentication?
- Verifying the role of a user using permissions, roles, or groups.
- Verifying the location of a user using GPS, IP address, or cookies.
- Verifying the time of a user using clocks, timers, or timestamps.
- Verifying the identity of a user using passwords, tokens, or biometrics.
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 input validation is commonly used to verify the length of a password or username?
- Range check
- Format check
- Length check
- Presence check
A system stores a user's age (e.g. 14). Which data type should be used?
- Float
- Integer
- String
- Boolean
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 programming practice contributes to improved code maintainability?
- Writing overly complex and lengthy functions
- Avoiding the use of comments in the code
- Following a consistent coding style and naming conventions
- Ignoring code documentation