What is considered when creating a secure and robust program?
What is anticipating misuse?
Planning ahead to take steps against potential misuse
What is input sanitisation?
Cleaning up data that has been input by removing non-standard characters
What is validation?
Checking whether input data follows specific criteria to be accepted
What is verification?
Checking whether data that has been entered is correct
What is authentication?
Ensuring only authorised users can gain access to a system
What is maintainable code?
Code that is readable for other programmers
What should be considered when creating maintainable code?
What is the purpose of testing?
To check that:
- Program works correctly no matter what input has been entered
- To check there are no errors
- User requirements met
- Acceptable performance and usability
- Unauthorised access prevented
What is iterative testing?
The testing of modules repetitively throughout development
What is terminal/final testing?
Testing that all modules work together (integration testing) at the end of development
What is a syntax error?
A grammatical mistake or a mistake in the rules of the programming language that means a program can’t run
What is a logic error?
A mistake by the programmer where the program runs but will display an incorrect or unexpected output
What are the four types of test data?
What is normal data?
Data that the program should accept without causing errors because it is within the validation limit
What is boundary data?
Data of the correct type which is on the edge of accepted validation limits.
What is invalid data?
Data of the correct data type that does not meet the validation rules and shouldn’t be accepted
What is erroneous data?
Data of the wrong data type that the program cannot process and should not accept