wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

ISTQB-Đề 2

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.
When test cases are designed early in the lifecycle, verifying the test basis via the test design, which common test objective is being achieved?
a)
Gaining confidence
b)
Finding defects
c)
Preventing defects
d)
Providing information for decision making
2.
When following the fundamental test process, when should the test control activity take place?
a)
During the planning activities
b)
During the implementation and execution activities
c)
During the monitoring activities
d)
During all the activities
3.
Designing and prioritizing high level test cases occurs during which activity in the fundamental test process?
a)
Test planning
b)
Test analysis and design
c)
Test implementation and execution
d)
Evaluating exit criteria
4.

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

a)
2 is a valid reason; 1,3,4 & 5 are not
b)
1,2,3,4 are valid reasons; 5 is not
c)
1,2,3 are valid reasons; 4 & 5 are not
d)
All of them are valid reasons for failure
5.
Which of the following is a correct statement?
a)
A developer makes a mistake which causes a defect that may be seen as a failure during dynamic testing
b)
A developer makes an error which results in a failure that may be seen as a fault when the software is executed
c)
A developer has a failure which results in a defect that may be seen as a mistake during dynamic testing
d)
A developer makes a mistake which causes a bug that may be seen as a defect when the software is executed
6.
In what way does root cause analysis contribute to process improvement?
a)
Helps to better identify and correct the root cause of defects
b)
Outlines how development teams can code faster
c)
Specifies the desired root causes to be achieved by other teams
d)
Contributes to the justification of future project funding
7.
Which of the following is a true statement about exhaustive testing?
a)
It is a form of stress testing
b)
It is not feasible except in the case of trivial software
c)
It is commonly done with test automation
d)
It is normally the responsibility of the developer during unit testing
8.
When should the testers start reviewing project documents?
a)
When they have been base lined and approved
b)
After the first revision
c)
As soon as a draft is available
d)
When the developers have started coding
9.
Which of the following is most correct regarding when functional/non-functional tests may be executed?
a)
Unit and integration
b)
Integration and system
c)
System and acceptance
d)
All levels
10.
Which of the following is the correct list of the triggers for maintenance testing?
a)
A component in production is modified, migrated or retired
b)
A fix has been received for a product that is in development
c)
A regression has been discovered in a set of fixes just received from the developer
d)
A new requirement has been received for the software that is currently under test that may result in an architectural change
11.
In a V-model lifecycle, what should testers be doing when the design documents are available?
a)
Preparing unit test code
b)
Preparing functional and non-functional test cases
c)
Reviewing the high-level requirements documents
d)
Preparing system acceptance tests
12.
Usability testing is an example of which type of testing?
a)
Functional
b)
Non-functional
c)
Structural
d)
Change-related
13.
In a formal review, which role is normally responsible for documenting all the open issues?
a)
The moderator
b)
The author
c)
The scribe
d)
The manager
14.
Which of the following is a type of issue that is best found in static analysis?
a)
An inaccurate formula
b)
A memory leak
c)
A piece of dead code
d)
A problem with the code not matching the requirements
15.
If test cases are derived from looking at the code, what type of test design technique is being used?
a)
Black-box
b)
White-box
c)
Specification-based
d)
Behavior-based
16.
Which document specifies the inputs and outputs for a test?
a)
Test design specification
b)
Test case specification
c)
Test procedure specification
d)
Test plan
17.
If you are using error guessing to target your testing, which type of testing are you doing?
a)
Specification-based
b)
Structure-based
c)
Experience-based
d)
Reference-based
18.
Which of the test cases below will cover the following series of state transitions SS–S1–S2–S1–S2–ES?
a)
A, B, E, B, F
b)
A, B, C, D
c)
A, B, E, B, C, D
d)
A, B, F
19.
What would be the best order for execution to achieve both goals (risk priority + dependencies)?
a)
4, 6, 1, 3, 2, 5, 7
b)
1, 2, 5, 6, 7, 1, 3, 4, 6, 7
c)
1, 2, 3, 4, 6, 2, 5, 6, 7
d)
1, 3, 2, 4, 5, 6, 7
20.
Which of the following would result in a change of state to S2 with an action of R6?
a)
From state S1, input A
b)
From state S2, input B
c)
From state S3, input C
d)
From state S4, input D
21.
If you apply equivalence partitioning, how many test cases will you need to achieve minimum test coverage?
a)
6
b)
8
c)
10
d)
12
22.
If you apply boundary value analysis, how many test cases will you need to achieve minimum test coverage?
a)
8
b)
10
c)
12
d)
14
23.

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)?

a)
Monday, 1, 3; Monday 3, 2, 4; Wednesday, 1, 2, 3; Tuesday, 5, 4, 3
b)
Monday, 1, 2, 4; Wednesday 1, 2, 4
c)
Monday, 5, 1; Tuesday, 5, 1, 2; Wednesday, 5, 1, 2
d)
Monday, 5, 3, 2; Monday, 5, 1, 1; Monday 5, 2, 3; Tuesday, 4, 4, 3; Wednesday, 1, 2, 3
24.

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?

a)
1
b)
2
c)
3
d)
4
25.
Which of the following is a task that a test leader would be expected to do?
a)
Write a test strategy
b)
Set up a test environment
c)
Prepare test data
d)
Automate tests
26.
A metric that tracks the number of test cases executed is gathered during which activity in the test process?
a)
Planning
b)
Implementation
c)
Execution
d)
Reporting
27.
Which of the following is a true statement about test planning?
a)
It should be done at the beginning of the project
b)
It should be a continuous activity throughout the project
c)
It should be started during design and finished before execution
d)
It should be used as input for the test strategy
28.

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

a)
33% statement, 100% decision
b)
50% statement, 50% decision
c)
100% statement, 75% decision
d)
100% statement, 100% decision
29.
Level of risk is determined by which of the following?
a)
Likelihood and impact
b)
Priority and risk rating
c)
Probability and practicality
d)
Risk identification and mitigation
30.
Which of the following is a project risk?
a)
A defect that is causing a performance issue
b)
A duplicate requirement
c)
An issue with a data conversion procedure
d)
A schedule that requires work during Christmas shutdown
31.
What is the biggest problem with a developer testing his own code?
a)
Developers are not good testers
b)
Developers are not quality focused
c)
Developers are not objective about their own code
d)
Developers do not have time to test their own code
32.
Which of the following is a drawback with having independent testing done by independent testers?
a)
The testers may be seen as bottlenecks in the release process
b)
The developers will have to do most of the testing anyway
c)
The testers will provide a quality-focused perspective
d)
The developers will have to spend significant time training the testers
33.
Which of the IEEE 829 documents may refine the test approach?
a)
The test plan
b)
The test design specification
c)
The test procedure specification
d)
The test case specification
34.
Which of the following is a project risk?
a)
A module that performs incorrect calculations due to a defect in a formula
b)
A failed performance test
c)
An issue with the interface between the system under test and a peripheral device
d)
A problem with the development manager which is resulting in his rejecting all defect reports
35.
You have been given the following set of test cases to run. You have been instructed to run them in order by risk and to accomplish the testing as quickly as possible to provide feedback to the developers as soon as possible. Given this information, what is the best order in which to run these tests?
a)
2, 4, 5, 6, 1, 3
b)
4, 3, 2, 5, 6, 1
c)
2, 5, 6, 4, 1, 3
d)
6, 1, 3, 2, 4, 5
36.

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)?

a)
R, Q, S, T, U, P
b)
S, R, P, U, Q, T
c)
Q, R, S, T, P, U
d)
S, R, U, P, Q, T
37.
Which of the following is a true statement about test automation scripts that are captured using a capture/replay tool?
a)
The scripts are easy to maintain
b)
The scripts are data-driven
c)
The scripts may be unstable
d)
The scripts are created by experienced automators
38.

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

a)
P. Offer free upgrade to Business and discounted upgrade to First. Q. Offer discounted upgrade to First
b)
P. Offer free upgrade to Business but cannot upgrade to First. Q. Offer discounted upgrade to First
c)
P. Offer free upgrade to First. Q. Cannot upgrade to First
d)
P. Offer discounted upgrade to First. Q. Offer free upgrade to First
39.
An automated air-conditioner is programmed to turn its heating unit on when the temperature falls below 17°C and to turn its refrigeration unit on when the temperature exceeds 26°C. The air-conditioner is designed to operate at temperatures between -10°C and +40°C. Which of the following sets of values shows that the equivalence partition test design technique has been used correctly?
a)
-11°C, -1°C, 18°C, 27°C, 51°C
b)
-11°C, -1°C, 12°C, 18°C, 27°C, 51°C
c)
-11°C, 18°C, 51°C
d)
-1°C, 12°C, 18°C, 27°C
40.
If a test tool is causing a probe effect, what does this mean?
a)
The outcome of the test may be influenced by the use of the tool
b)
The tool is used to continuously probe the software for defects
c)
The tool is used primarily to assist with exploratory testing
d)
The tester will require special training to be able to effectively use the tool