CPSC 2150 Exam 2
CPSC 2150 Exam 2 A _______________________________ has occurred when the observed output did not match the expected output - failure An ____________________________________________________ is when any further processing will result in the observed output not matching the expected output - erroneous state A _______________________ is the algorithmic cause of the observed output not matching the expected output. - fault In order to have a complete test case, you need to have ... - A set of specific input values and a set of specific output values A _____________________________ leads to a ____________________________ which leads to a _______________________________________ - fault, erroneous state, failure A successful test case shows... - a failure, and that a fault exists Testing is used to prove that your code has no faults. (T/F) - False Which type of testing allows you to look at the code while developing test cases? - Whitebox testing What type of testing can you use while following Test Driven Development? - Blackbox testing The best practice of breaking our system into smaller components to test individually is known as.... - Unit testing Any deviation of the observed behavior from the specified behavior - failure The system is in a state such that further processing of the system will result in a failure - erroneous state The mechanical or algorithmic cause of the erroneous state (aka a defect, bug, error, hardware failure) - fault Part of the system that can be isolated for testing - testing component A successful test shows... - a failure Any deviation of the observed results from the expected results is known as a - failure All you need for your test case is a set of inputs to use on your software. (T/F) - False Which testing type has the following characteristics? • Focus on one small part of the system at a time • Reduces complexity of the tests • Focuses the test • Easier to pinpoint faults • Independence of testing components - Unit testing Which testing type has the following characteristics? • Inputs to the software or system are divided into groups that are expected to exhibit similar behavior (ie likely to be processed in the same way) • Tests can be designed to cover all valid and invalid partitions. • It can be applied to human input, input via interfaces to a system, and interface parameters in integration testing - Equivalence Partitioning testing Which testing type has the following characteristics? • Considered an extension of equivalence partitioning
Información del documento
- Subido en
- 6 de mayo de 2024
- Número de páginas
- 34
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas