Defensive design is - helps to ensure programs function properly, Defensive design involves - anticipating how users might misuse their program, ensure code is well maintained and reduce number of errors in the code when testing., Input validation is - checking if data meets certain criteria before passing it into the program, Range check - Checks data is within a specified range (min and max), Presence check - Checks data has actually been entered, Format check - Checks the data is in correct format (e.g. dd/mm/yyyy), Length check - Check data meets the correct length (e.g. at least 8 characters for a new password), Authentication - Allowing authorised users into a system confirming their identity, Verification - Ensuring the data is entered correctly, Maintainability - A number of methods to ensure high level code is understandable by other programmers, Testing is - seeing whether your code works or not, Syntax errors - when the code doesn't follow the rules of the syntax language, Logic errors - When the code runs but the program does something unexpected., Iterative testing - the program is tested whilst it is being developed, Final/terminal testing - The program is tested at the end of the development process, Normal data - Data a user is likely to input into the program., Boundary data - Min and max limits of what the program should be able to handle, Invalid data - Inputs with a correct data type that should be rejected by the program, Erroneous data - Inputs with an incorrect data type that should be rejected by the program,

Leaderboard

Visual style

Options

Switch template

Continue editing: ?