Mind map
DESIGN AND TESTING
Map content
DESIGN AND TESTING
defensive design
- Programmers try to protect their programs through defensive design. They try to: -Anticipate how users might misuse their programs. -Ensure their program code is well maintained. -Reduce the number of errors in the code through testing.
- To make sure the inputs cannot be exploited, Data Validation and Input Sanitation.
- input validation is: Checking if data meets certain criteria before passing it into the program. Input Sanitation is removing any unwanted characters before passing data through the program.
- Input validation types: -Range Check. -Presence Check -Check data -Format Check -Look-up Table -Length Check.
- input validation is: Checking if data meets certain criteria before passing it into the program. Input Sanitation is removing any unwanted characters before passing data through the program.
- To make sure the inputs cannot be exploited, Data Validation and Input Sanitation.
- Programmers try to protect their programs through defensive design. They try to: -Anticipate how users might misuse their programs. -Ensure their program code is well maintained. -Reduce the number of errors in the code through testing.
There are three different types of errors: -Syntax error -Run-time error -Logic error
- A syntax error is an error with the grammer or spelling.
- A Run-time error is an error that crashes whilst running.
- A logic error is when the code runs but not in the way you expect.
Information
- Description
- Mind Map on DESIGN AND TESTING, created by Benjamin Ainsley on 12/02/2019.
- Created by
- Benjamin Ainsley · Feb 2019
- Updated
- Feb 12, 2019
- Views
- 0
- Rating
More on Robust Programming and Testing