CH11 Flashcards
Name the validity check:
Check that the input falls within a known range.
Range checks
Name the validity check:
Check that the input does not exceed some maximum size e.g.
40 characters for a name
Size checks
Name the validity check:
Check that the input does not include characters that should not
be part of its representation e.g. names do not include numerals.
Representation checks
Name the validity check:
Use information about the input to check if it is reasonable rather
than an extreme value.
Reasonableness checks
Dependabale programming validity checks include _____ checks, ______ checks, _____ checks, and ______ checks.
range, size, representation, reasonableness
T/F: A program exception is an error or some unexpected event such as a power failure.
True
For systems that involve long transactions or user interactions, you should always provide a ____________ capability.
restart
it allows the system to restart after failure without users having to redo everything that they have done.
T/F: Restart does not depend on the type of system.
False, depends.
ex: Save state periodically and restart from the saved state or keep copies of forms so that users don’t have to fill them in again if there is a problem.
__________ testing involves running the program to assess whether or not it has reached the required level of reliability.
Reliability (Statistical testing)
__________ testing is testing software for reliability rather than fault detection.
Statistical
T/F: Measuring the number of errors allows the reliability of the software to be predicted.
True.