NEW
Font size
WorksheetsISTQB-Đề 2
Total questions: 40
Worksheet time: 20mins
Which of the following could be a reason for a failure?
1. Testing fault
2. Software fault
3. Design fault
4. Environment fault
5. Documentation fault
Consider the following high level program design and assume you can provide the values for today, A, B and C:
Start;
Do until B = C
If today = Monday
set A=1
elseif today = Wednesday
Set A=2
Set B = C
Endif;
IfB<C
B=B+1
Endif;
Endloop;
End:
Which of the following sets of values will achieve 100% decision coverage with the least number of test cases (the order of the values is today, A, B, C)?
Given the following program fragment:
if day = Monday
then statement a
else statement b
end if
if day = Tuesday
then statement c
end if
What is the minimum number of test cases needed to achieve 100% statement coverage?
Evaluate the following control flow diagram and determine the statement coverage and decision coverage resulting from the execution of the following test cases: A-B-D-E-F A-B-C
The following table shows 6 test procedures (P to U) that must now be entered into a test execution schedule. Business severity is regarded as the most important element in determining the sequence of the test procedures, but other dependencies must also be taken into consideration. Regression testing can only be run once all other tests have completed. Which of the following represents the MOST effective sequence for the test execution schedule?(where the first entry in the sequence is the first procedure to be run, the second entry is the second to be run and so on)?
Given the following decision table:
What is the expected result for each of the following test cases?
P. Gold frequent flyer, travelling in Economy class
Q. Silver frequent flyer, travelling in Business class
