For which of the following would a static analysis tool be MOST useful?
A. Supporting reviews.
B. Validating models of the software.
C. Testing code executed in a special test harness.
D. Enforcement of coding standards.
Which of the following is a MAJOR task of test planning?
A. Scheduling test analysis and design tasks.
B. Initiating corrective actions.
C. Monitoring progress and test coverage.
D. Measuring and analyzing results.
Which of the following is a purpose of the review planning phase?
A. Log defects.
B. Explain the documents to the participants.
C. Gather metrics.
D. Allocate the individual roles.
Given the following fragment of code, how many tests are required for 100% decision coverage?
discount = 0 order_quantity=0 real order_quantity if order_quantity >=20 then discount = 0.05 if order_quantity >=100 then discount = 0.1 end_if end_if
A. 3.
B. 4.
C. 5.
D. 2.
What is the KEY difference between preventative and reactive approaches to testing?
A. Preventative tests and reactive tests are designed as early as possible.
B. Preventative tests are designed early; reactive tests are designed after the software has been produced.
C. Preventative testing is always analytical; reactive testing is always heuristic.
D. Preventative tests are designed after the software has been produced; reactive tests are designed early in response to review comments.
Given the following state transition table Which of the test cases below will cover the following series of state transitions?
A. D, A, B, C.
B. A, B, C, D.
C. D, A, B.
D. A, B, C.
Exhibit:
Please refer to the exhibit. Which activities form part of test planning?
A. i, ii and iv are true, iii and v are false.
B. ii and iii are true, i, iv and v are false.
C. iv and v are true, i, ii and iii are false.
D. i, ii, and iii are true iv and v are false.
You have designed test cases to provide 100% statement and 100% decision coverage for the following fragment of code. If width > length then Biggest_dimension = wifth Else Biggest_dimenstion = length End_if The Following has been added to the bottom of the code fragment above. Print "biggest dimension is " and biggest_dimension Print "width:" and width Print "Length:" and length How many more test cases are required?
A. One more test case will be required for 100 % decision coverage.
B. Two more test cases will be required for 100 % statement coverage, one of which will be used to provide 100% decision coverage.
C. None, existing test cases can be used.
D. One more test case will be required for 100% statement coverage.
Which type of test design techniques does the following statement best describe? A procedure to derive test cases based on the specification of a component.
A. Black Box Techniques.
B. White Box Techniques.
C. Glass Box Techniques.
D. Experience Based Techniques.
Some tools are geared more for developer use. For the 5 tools listed, which statement BEST details those for developers.
A. i, iii. and iv. are more for developers.
B. ii. and iv. are more for developers.
C. ii, iii. and iv. are more for developers.
D. ii. and iii. are more for developers.