and Answers
True or False: Testing is the same as debugging. - answer- False. Testing is the
systematic attempt to break a program, while debugging is the process of fixing and
removing errors.
True or False: Testing can take upwards of 40 percent of total development time. -
answer- True. It is not unusual for developers to spend 40% of the total project time
on testing.
• For life-critical software (e.g. flight control, reactor monitoring), testing can cost 3 to
5
times as much as all other activities combined.
True or False: Testing can prove the absence of errors. - answer- False, testing
cannot show (or prove!) the absence of defects -- it can only show that software
defects are present.
Testing - answer- The process of executing a program with the intent of finding an
error.
A ____ test case is one that has a high probability of finding an as yet undiscovered
error. - answer- Good
A __________ test is one that uncovers an as yet undiscovered error. - answer-
Successful
Testing should systematically uncover _________ _______
of errors in a minimum amount of time and with a minimum amount of effort. -
answer- Different Classes
• A secondary benefit of testing is that it demonstrates that the software appears to
be
working as stated in the specification.
• The data collected through testing can also provide an indication of the software's
reliability and quality.
Typographical errors are ______. - answer- Random
Logic errors and incorrect assumptions are _________ ____________ to the
probability that a program path will be executed. - answer- Inversely Proportional
• General processing tends to be well understood, while special case processing
tends to be prone to errors.
• However, we often believe that a logical path is not likely to be executed when in