ISTQB Foundation Level Exam Questions
With Correct Answers
What is the test basis?
| | | |
a. The point during software development when testing should start
| | | | | | | | |
b. The body of knowledge used for test analysis and design
| | | | | | | | | |
c. The source to determine the actual results from a set of tests
| | | | | | | | | | | |
d. The method used to systematically devise test conditions - CORRECT
| | | | | | | | | | |
ANSWER✔✔-B
(B is correct. Per the glossary, the test basis is "a source to determine
| | | | | | | | | | | | | |
expected results to compare with the actual result of the system under
| | | | | | | | | | | |
test". A is not correct because this is usually defined as the moment of
| | | | | | | | | | | | | |
involvement for testing. C is not correct because this is the test oracle. D
| | | | | | | | | | | | |
|is not correct because the test basis is not a method)
| | | | | | | | | |
When the tester verifies the test basis while designing tests early in the
| | | | | | | | | | | | |
lifecycle, which common test| | |
objective is being achieved? | | |
a. Gaining confidence
| |
b. Finding defects
| |
c. Preventing defects
| |
,d. Providing information for decision making - CORRECT ANSWER✔✔-C
| | | | | | | |
(C is correct per the syllabus. The other three are achieved primarily by
| | | | | | | | | | | | |
doing dynamic testing. This is a bit tricky because you are very likely to
| | | | | | | | | | | | | |
find defects while doing this analysis and this may lead to either gaining
| | | | | | | | | | | | |
or destroying confidence and needing to supply information to the
| | | | | | | | | |
decision makers. However, the wording of the question matches the
| | | | | | | | | |
wording in the syllabus that defines preventing defects.)
| | | | | | |
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 - CORRECT ANSWER✔✔-D
| | | | | | |
(D is correct. Control occurs throughout the
| | | | | |
project to ensure that it is staying on track based
| | | | | | | | |
on the plan and to take any corrective steps that
| | | | | | | | |
may be necessary. The monitoring information is
| | | | | |
used to determine if control actions are needed.)
| | | | | | |
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 introduced 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 - CORRECT ANSWER✔✔-A
| | | | | | | | |
(A is correct. The developer makes a mistake/error which causes a
| | | | | | | | | | |
defect/fault/bug which may cause a failure when the code is | | | | | | | | | |
dynamically tested or executed. B is incorrect because fault and failure
| | | | | | | | | | |
are reversed. C is incorrect because failure and mistake are reversed. D
| | | | | | | | | | | |
is incorrect because it's a failure that's seen during execution, not the
| | | | | | | | | | | |
defect itself. The failure is a symptom of the defect.)
| | | | | | | | |
Which of the following is an example of debugging?
| | | | | | | |
a. A tester finds a defect and reports it
| | | | | | | |
b. A tester retests a fix from the developer and finds a regression
| | | | | | | | | | | |
c. A developer finds and fixes a defect
| | | | | | |
d. A developer performs unit testing - CORRECT ANSWER✔✔-C
| | | | | | | |
(C is correct. Debugging is what the developer
| | | | | | |
does to identify the cause of the defect, analyze
| | | | | | | |
it and fix it. D may involve debugging, if the
| | | | | | | | |
developer finds a defect, but the act of unit | | | | | | | |
testing is not the same as debugging.)
| | | | | |
, 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 -
| | | | | | | | | | | | |
CORRECT ANSWER✔✔-B |
(B is correct. Exhaustive testing, all combinations
| | | | | |
of inputs and preconditions, is not feasible unless
| | | | | | |
the software is trivially simple.Otherwise it would
| | | | | |
take too long and might not even be possible.)
| | | | | | | |
A new retail product was released to production by your company.
| | | | | | | | | | |
Shortly after the release it was | | | | |
apparent that there were numerous problems with the point of sale
| | | | | | | | | | |
application. This resulted in a | | | |
number of customer complaints and negative postings on social media
| | | | | | | | | |
encouraging people to take their | | | |
business to your competitor. You have investigated the problems and
| | | | | | | | | |
have discovered that the
| | |
production point of sale equipment is a later model than the model
| | | | | | | | | | | |
used in testing. The software
| | | |
functions correctly on the old version, but fails on the later model.
| | | | | | | | | | |
With Correct Answers
What is the test basis?
| | | |
a. The point during software development when testing should start
| | | | | | | | |
b. The body of knowledge used for test analysis and design
| | | | | | | | | |
c. The source to determine the actual results from a set of tests
| | | | | | | | | | | |
d. The method used to systematically devise test conditions - CORRECT
| | | | | | | | | | |
ANSWER✔✔-B
(B is correct. Per the glossary, the test basis is "a source to determine
| | | | | | | | | | | | | |
expected results to compare with the actual result of the system under
| | | | | | | | | | | |
test". A is not correct because this is usually defined as the moment of
| | | | | | | | | | | | | |
involvement for testing. C is not correct because this is the test oracle. D
| | | | | | | | | | | | |
|is not correct because the test basis is not a method)
| | | | | | | | | |
When the tester verifies the test basis while designing tests early in the
| | | | | | | | | | | | |
lifecycle, which common test| | |
objective is being achieved? | | |
a. Gaining confidence
| |
b. Finding defects
| |
c. Preventing defects
| |
,d. Providing information for decision making - CORRECT ANSWER✔✔-C
| | | | | | | |
(C is correct per the syllabus. The other three are achieved primarily by
| | | | | | | | | | | | |
doing dynamic testing. This is a bit tricky because you are very likely to
| | | | | | | | | | | | | |
find defects while doing this analysis and this may lead to either gaining
| | | | | | | | | | | | |
or destroying confidence and needing to supply information to the
| | | | | | | | | |
decision makers. However, the wording of the question matches the
| | | | | | | | | |
wording in the syllabus that defines preventing defects.)
| | | | | | |
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 - CORRECT ANSWER✔✔-D
| | | | | | |
(D is correct. Control occurs throughout the
| | | | | |
project to ensure that it is staying on track based
| | | | | | | | |
on the plan and to take any corrective steps that
| | | | | | | | |
may be necessary. The monitoring information is
| | | | | |
used to determine if control actions are needed.)
| | | | | | |
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 introduced 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 - CORRECT ANSWER✔✔-A
| | | | | | | | |
(A is correct. The developer makes a mistake/error which causes a
| | | | | | | | | | |
defect/fault/bug which may cause a failure when the code is | | | | | | | | | |
dynamically tested or executed. B is incorrect because fault and failure
| | | | | | | | | | |
are reversed. C is incorrect because failure and mistake are reversed. D
| | | | | | | | | | | |
is incorrect because it's a failure that's seen during execution, not the
| | | | | | | | | | | |
defect itself. The failure is a symptom of the defect.)
| | | | | | | | |
Which of the following is an example of debugging?
| | | | | | | |
a. A tester finds a defect and reports it
| | | | | | | |
b. A tester retests a fix from the developer and finds a regression
| | | | | | | | | | | |
c. A developer finds and fixes a defect
| | | | | | |
d. A developer performs unit testing - CORRECT ANSWER✔✔-C
| | | | | | | |
(C is correct. Debugging is what the developer
| | | | | | |
does to identify the cause of the defect, analyze
| | | | | | | |
it and fix it. D may involve debugging, if the
| | | | | | | | |
developer finds a defect, but the act of unit | | | | | | | |
testing is not the same as debugging.)
| | | | | |
, 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 -
| | | | | | | | | | | | |
CORRECT ANSWER✔✔-B |
(B is correct. Exhaustive testing, all combinations
| | | | | |
of inputs and preconditions, is not feasible unless
| | | | | | |
the software is trivially simple.Otherwise it would
| | | | | |
take too long and might not even be possible.)
| | | | | | | |
A new retail product was released to production by your company.
| | | | | | | | | | |
Shortly after the release it was | | | | |
apparent that there were numerous problems with the point of sale
| | | | | | | | | | |
application. This resulted in a | | | |
number of customer complaints and negative postings on social media
| | | | | | | | | |
encouraging people to take their | | | |
business to your competitor. You have investigated the problems and
| | | | | | | | | |
have discovered that the
| | |
production point of sale equipment is a later model than the model
| | | | | | | | | | | |
used in testing. The software
| | | |
functions correctly on the old version, but fails on the later model.
| | | | | | | | | | |