WorksheetsChapter 4 Test Techniques
Total questions: 10
Worksheet time: 10mins
With a highly experienced tester with a good business background, which approach to defining test procedures would be effective and most efficient for a project under severe time pressure?
A high-level outline of the test conditions and general steps to take.
Every step in the test spelled out in detail.
A high-level outline of the test conditions with the steps to take discussed in detail with another experienced tester.
Detailed documentation of all test cases and careful records of each step taken in the testing.
Why are both specification-based and structure-based testing techniques useful?
They find different types of defect.
Using more techniques is always better.
Both find the same types of defect.
Because specifications tend to be unstructured.
What is a key characteristic of structure-based testing techniques?
They are mainly used to assess the structure of a specification.
They are used both to measure coverage and to design tests to increase coverage.
They are based on the skills and experience of the tester.
They use a formal or informal model of the software or component.
Which of the following would be an example of decision-table testing for a financial application applied at the system-test level?
A table containing rules for combinations of inputs to two fields on a screen.
A table containing rules for interfaces between components.
A table containing rules for mortgage applications.
A table containing rules for chess.
Which of the following could be a coverage measure for state transition testing?
V: All states have been reached.
W: The response time for each transaction is adequate.
X: Every transition has been exercised.
Y: All boundaries have been exercised.
Z: Specific sequences of transitions have been exercised.
X,Y and Z
V, X, Y and Z
W,X and Y
V, X and Z
Postal rates for 'light letters' are 25p up to l0g, 35p up to 50g plus an extra l0p for each additional 25g up to l00g.
Which test inputs (in grams) would be selected using equivalence partitioning?
8,42,82,102
4,15, 65, 92,159
10,50,75,100
5, 20, 40, 60, 80
Which of the following could be used to assess the coverage achieved for specification-based (black-box) test techniques?
V: Decision outcomes exercised
W: Partitions exercised
X: Boundaries exercised
Y: State transitions exercised
Z: Statements exercised
V,W,Y or Z
W,X or Y
V,X or Z
W, X, Y or Z
In which document described in IEEE 829 would you find instructions for the steps to be taken for a test including set-up, logging, environment and measurement?
Test Plan
Test Design Specification
Test Case Specification
Test Procedure Specification
Should pre-conditions and post-conditions be part of a test case?
Yes
No
What is a black-box test design technique?
A procedure to derive and/or select test cases based on an analysis of the internal structure
An informal procedure where the tester actively controls the design of the tests as those tests are performed
A procedure to derive and/or select test cases based on an analysis of the specification
A procedure to test all combinations of input values and preconditions
