Designs and Testing Flashcards
what 4 things can you do to make your program easy to maintain
comments
indentation
correctly named variables
subprograms
what is defensive design
when programmers try to anticipate how users will misuse their program
what is input validation
checking if data meets certain criteria before passing it into the program
what are the 5 validation checks
range
presence
format
look-up table
length
what is authentication
confirming the identity of a user before they are allowed access to data
what are the 2 types of errors
logic errors
syntax errors
what are the 2 types of testing
iterative
final/terminal
what is iterative testing
when the program is tested while it is being developed
what is terminal testing
testing the program at the end of development
what is iterative testing used for
to identify small errors which will prevent larger and more difficult errors from arising later
what is a test plan
a plan that will outline exactly what you are going to test and how
what is a feature of a good test plant
will anticipate all the potential issues
what are the 4 types of test data
normal data
boundary data
invalid data
erroneous data
what is boundary data
data that is on the limits of what the program should be able to handle
what is invalid data
inputs that are of the correct data type that should be rejected