chapter 8 Flashcards
why does software fail?
wrong reqs missing reqs impossible reqs faulty design faulty code bad implementation
what is the objective of testing?
discover faults and fixing them.
what is fault identification?
determining what fault caused a failure.
what is fault correction?
making changes to remove faults.
Name the seven types of faults.
- algorithmic fault.
- precision fault (formula implementation is wrong)
- documentation fault. (docs incorrectly describe prog)
- capacity or boundary. (system performance)
- timing or coordination faults. idk
- performance faults. (not operating at prescribed speed.)
- standard and procedure faults.
What is an algorithmic fault?
algorithm does not produce desired results.
page 8.
idk
What are the different types of test (in order).
- unit testing.
- integration testing.
- functional testing.
- performance testing.
- acceptance testing.
- installation testing.
What is egoless programming?
there is not individual tie or ownership to any program.
Who performs the tests?
independent test team.
What is closed or black-box testing?
assertion testing with a wide rage of inputs.
advantage: free of internal constraints.
disadvantage: cannot test all inputs.
What is clear or white-box testing?
test cases that execute all statements or all control paths.
What factors to consider when choosing tests?
Number of possible logical paths.
Nature of the input.
Amount of computation.
Complexity of algorithms.
What is code walkthrough (code review)?
present code and documentation to review team for comments.
informal process.
What is code inspection (code review)?
more formal process than code walkthrough.