ISTQB Sample Question Papers-Part 1
ISTQB Sample Question Papers-Part 1
ISTQB Sample Question Papers-Part 1
All rights reserved. No part of this material may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system,
without prior permission from the owner. Contact the owner for the information on foreign rights.
Question Paper 1:
1. An input field takes the year of birth between 1900 and 2004
The boundary values for testing this field are
a. 0,1900,2004,2005
b. 1900, 2004
c. 1899,1900,2004,2005
d. 1899, 1900, 1901,2003,2004,2005
5. Which of the following is not a quality characteristic listed in ISO 9126 Standard?
a. Functionality
b. Usability
c. Supportability
d. Maintainability
6. To test a function, the programmer has to write a _________, which calls the
function to be tested and passes it test data.
a. Stub
b. Driver
c. Proxy
d. None of the above
9. Fault Masking is
a. Error condition hiding another error condition
b. Creating a test case which does not reveal a fault
c. Masking a fault by developer
d. Masking a fault by a tester
10. One Key reason why developers have difficulty testing their own work is :
a. Lack of technical documentation
b. Lack of test tools on the market for developers
c. Lack of training
d. Lack of Objectivity
11. During the software development process, at what point can the test process start?
a. When the code is complete.
b. When the design is complete.
c. When the software requirements have been approved.
d. When the first code module is ready for unit testing
14. How many test cases are necessary to cover all the possible sequences of
statements (paths) for the following program fragment? Assume that the two
conditions are independent of each other : -
…………
if (Condition 1)
then statement 1
else statement 2
fi
if (Condition 2)
then statement 3
fi
…………
a. Test Cases
b. 3 Test Cases
c. 4 Test Cases
d. Not achievable
Q1 A deviation from the specified or expected behaviour that is visible to end-users is called:
a) an error
b) a fault
c) a failure
d) a defect
v) every week
w) after the software has changed
x) as often as possible
y) when the environment has changed
z) when the project manager says
Q3 IEEE 829 test plan documentation standard contains all of the following except
a) test items
b) test deliverables
c) test tasks
d) test specifications
Q5
Order numbers on a stock control system can range between 10000 and 99999 inclusive. Which
of the following inputs might be a result of designing tests for only valid equivalence classes and
valid boundaries?
Q9
Which of the following is the main purpose of the integration strategy for integration testing in the
small?
Read p
Read q
IF p+q > 100 THEN
Print "Large"
ENDIF
IF p > 50 THEN
Print "p Large"
ENDIF
a) requirements
b) documentation
c) test cases
d) improvements suggested by users
Q16 Which of the following items would not come under Configuration Management?
a) operating systems
b) test documentation
c) live data
d) user requirement documents
Q17 Maintenance testing is:
Q21 Given the following types of tool, which tools would typically be used by developers, and which by
an independent system test team?
i. static analysis
ii. performance testing
iii. test management
iv. dynamic analysis
a) developers would typically use i and iv; test team ii and iii
b) developers would typically use i and iii; test team ii and iv
c) developers would typically use ii and iv; test team i and iii
d) developers would typically use i, iii and iv; test team ii
a) black box test design techniques all have an associated test measurement technique
b) white box test design techniques all have an associated test measurement technique
c) cyclomatic complexity is not a test measurement technique
d) black box test measurement techniques all have an associated test design technique
Q25 A typical commercial test execution tool would be able to perform all of the following, EXCEPT:
a) re-testing ensures the original fault has been removed; regression testing looks for
unexpected side-effects
b) re-testing looks for unexpected side-effects; regression testing ensures the original fault has
been removed
c) re-testing is done after faults are fixed; regression testing is done earlier
d) re-testing is done by developers; regression testing is done by independent testers
Q28 What type of review requires formal entry and exit criteria, including metrics:
a) walkthrough
b) inspection
c) management review
d) post project review
a) component testing
b) non-functional system testing
c) user acceptance testing
d) maintenance testing
Q30 What is NOT included in typical costs for an inspection process?
Q32 Which expression best matches the following characteristics of the review processes:
s) inspection
t) peer review
u) informal review
v) walkthrough
a) s = 4 and 5, t = 3, u = 2, v = 1
b) s = 4, t = 3, u = 2 and 5, v = 1
c) s = 1 and 5, t = 3, u = 2, v = 4
d) s = 4 and 5, t = 1, u= 2, v = 3
a) ISO/IEC 12207
b) BS 7925-1
c) ANSI/IEEE 829
d) ANSI/IEEE 729
Q36 The cost of fixing a fault:
a) is not important
b) increases the later a fault is found
c) decreases the later a fault is found
d) can never be determined
Q37 Which of the following is NOT included in the Test Plan document of the Test Documentation
Standard?
1. What is failure?
14. Which tool will be used to test the flag memory leaks and
unassigned pointers
A. Dynamic analysis tool
B. Static Analysis tool.
C. Maintenance tool.
D. Configuration tool.
27. Which of the following is NOT part of a high level test plan?
A. Functions not to be tested.
B. Environmental requirements.
C. Analysis of Specifications.
D. Entry and Exit criteria.
36 The following text will be used in Q.37 and Q.38. In a system designed to
work out the tax to be paid:
38. Which of these groups of numbers would fall into the same
equivalence class?
A. $5800; $28000; $32000
B. $0; $200; $4200
C. $5200; $5500; $28000
D. $28001; $32000; $35000
2 Which of the following is likely to benefit most from the use of test tools providing test
capture and replay facilities?
a) Regression testing
b) Integration testing
c) System testing
d) User acceptance testing
a) v-3,w-2,x-1,y-5,z-4
b) v-2,w-5,x-1,y-4,z-3
c) v-3,w-4,x-1,y-5,z-2
d) v-2,w-1,x-4,y-3,z-5
10 Which one of the following statements about system testing is NOT true?
a) System tests are often performed by independent teams.
b) Functional testing is used more than structural testing.
c) Faults found during system tests can be very expensive to fix.
d) End-users should be involved in system tests.
16 Which one of the following statements, about capture-replay tools, is NOT correct?
a) They are used to support multi-user testing.
b) They are used to capture and animate user requirements.
c) They are the most frequently purchased types of CAST tool.
d) They capture aspects of user behaviour.
23 Which of the following would NOT normally form part of a test plan?
a) Features to be tested
b) Incident reports
c) Risks
d) Schedule
24 Which of these activities provides the biggest potential cost saving from the use of
CAST?
a) Test management
b) Test design
c) Test execution
d) Test planning
29 Which of the following is the best source of Expected Outcomes for User Acceptance
Test scripts?
a) Actual results
b) Program specification
c) User requirements
d) System specification
31 Which one of the following describes the major benefit of verification early in the life
cycle?
a) It allows the identification of changes in user requirements.
b) It facilitates timely set up of the test environment.
c) It reduces defect multiplication.
d) It allows testers to become involved early in the project.
35 A failure is:
a) found in the software; the result of an error.
b) departure from specified behaviour.
c) an incorrect step, process or data definition in a computer program.
d) a human action that produces an incorrect result.
37 The most important thing about early test design is that it:
a) makes test preparation easier.
b) means inspections are not required.
c) can prevent fault multiplication.
d) will find all faults.
3.What is the main reason for testing software before releasing it?
a. performance testing can be done during unit testing as well as during the testing of
whole system
b. The acceptance test does not necessarily include a regression test
c. Verification activities should not involve testers (reviews, inspections etc)
d. Test environments should be as similar to production environments as possible
7. The later in the development life cycle a fault is discovered, the more expensive it is to
fix. why?
a. the documentation is poor, so it takes longer to find out what the software is doing.
b. wages are rising
c. the fault has been built into more documentation,code,tests, etc
d. none of the above
12. Increasing the quality of the software, by better development methods, will affect the
time needed for testing (the test phases) by:
a. Component testing should be black box, system testing should be white box.
b. if u find a lot of bugs in testing, you should not be very confident about the quality of
software
c. the fewer bugs you find,the better your testing was
d. the more tests you run, the more bugs you will find.
16. What is the important criterion in deciding what testing technique to use?
17. If the pseudocode below were a programming language ,how many tests are required
to achieve 100% statement coverage?
1. If x=3 then
2. Display_messageX;
3. If y=2 then
4. Display_messageY;
5. Else
6. Display_messageZ;
7. Else
8. Display_messageZ;
a. 1
b. 2
c. 3
d. 4
18. Using the same code example as question 17,how many tests are required to achieve
100% branch/decision coverage?
a. 1
b. 2
c. 3
d. 4
a. State-Transition
b. Usability
c. Performance
d. Security
20. Which of the following tools would you use to detect a memory leak?
a. State analysis
b. Coverage analysis
c. Dynamic analysis
d. Memory analysis
a. IEEE829
b. IEEE610
c. BS7925-1
d. BS7925-2
a. IEEE 829
b. IEEE 610
c. BS7925-1
d. BS7925-2
a. Design based
b. Big-bang
c. Bottom-up
d. Top-down
a. statement testing
b. equivalence partitioning
c. error- guessing
d. usability testing
a. Large
b. Small
c. Difficult to write
d. Difficult to test
a. code inspection
b. coverage analysis
c. usability assessment
d. installation test
a. white box
b. glass box
c. structural
d. functional
values less than 10 are rejected, values between 10 and 21 are accepted, values greater
than or equal to 22 are rejected
which of the following input values cover all of the equivalence partitions?
a. 10,11,21
b. 3,20,21
c. 3,10,22
d. 10,21,22
30. Using the same specifications as question 29, which of the following covers the
MOST boundary values?
a. 9,10,11,22
b. 9,10,21,22
c. 10,11,21,22
d. 10,11,20,21
Question Paper 6:
1 When what is visible to end-users is a deviation from the specific or expected behavior,
this is called:
a) an error
b) a fault
c) a failure
d) a defect
e) a mistake
3 IEEE 829 test plan documentation standard contains all of the following except:
a) test items
b) test deliverables
c) test tasks
d) test environment
e) test specification
5 Order numbers on a stock control system can range between 10000 and 99999
inclusive. Which of the following inputs might be a result of designing tests for only
valid equivalence classes and valid boundaries:
a) 1000, 5000, 99999
b) 9999, 50000, 100000
c) 10000, 50000, 9999
d) 10000, 99999
e) 9999, 10000, 50000, 99999, 10000
6 Consider the following statements about early test design:
i. early test design can prevent fault multiplication
ii. faults found during early test design are more expensive to fix
iii. early test design can find faults
iv. early test design can cause changes to the requirements
v. early test design takes more effort
9 Which of the following is the main purpose of the integration strategy for integration
testing in the small?
a) to ensure that all of the small modules are tested adequately
b) to ensure that the system interfaces to other systems and networks
c) to specify which modules to combine when and how many at once
d) to ensure that the integration testing can be performed by a small team
e) to specify how the software should be divided into modules
12 Given the following code, which is true about the minimum number of test cases
required for full statement and branch coverage:
Read P
Read Q
IF P+Q > 100 THEN
Print “Large”
ENDIF
If P > 50 THEN
Print “P Large”
ENDIF
a) SC = 1 and DC = 1
b) SC = 1 and DC = 2
c) SC = 1 and DC = 3
d) SC = 2 and DC = 2
e) SC = 2 and DC = 3
21 Given the following types of tool, which tools would typically be used by developers
and which by an independent test team:
i. static analysis
ii. performance testing
iii. test management
iv. dynamic analysis
v. test running
vi. test data preparation
a) developers would typically use i, iv and vi; test team ii, iii and v
b) developers would typically use i and iv; test team ii, iii, v and vi
c) developers would typically use i, ii, iii and iv; test team v and vi
d) developers would typically use ii, iv and vi; test team I, ii and v
e) developers would typically use i, iii, iv and v; test team ii and vi
23 Which of the following statements about the component testing standard is false:
a) black box design techniques all have an associated measurement technique
b) white box design techniques all have an associated measurement technique
c) cyclomatic complexity is not a test measurement technique
d) black box measurement techniques all have an associated test design technique
e) white box measurement techniques all have an associated test design technique
25 A typical commercial test execution tool would be able to perform all of the following
EXCEPT:
a) generating expected outputs
b) replaying inputs according to a programmed script
c) comparison of expected outcomes with actual outcomes
d) recording test inputs
e) reading test values from a data file
s) inspection
t) peer review
u) informal review
v) walkthrough
a) s = 4, t = 3, u = 2 and 5, v = 1
b) s = 4 and 5, t = 3, u = 2, v = 1
c) s = 1 and 5, t = 3, u = 2, v = 4
d) s = 5, t = 4, u = 3, v = 1 and 2
e) s = 4 and 5, t = 1, u = 2, v = 3
37 Which of the following is NOT included in the Test Plan document of the Test
Documentation Standard:
a) Test items (i.e. software versions)
b) What is not to be tested
c) Test environments
d) Quality plans
e) Schedules and deadlines
a) an error
b) a fault
c) a failure
d) a defect
v) every week
w) after the software has changed
x) as often as possible
y) when the environment has changed
z) when the project manager says
Q3 IEEE 829 test plan documentation standard contains all of the following except
a) test items
b) test deliverables
c) test tasks
d) test specifications
Q5 Order numbers on a stock control system can range between 10000 and 99999
inclusive. Which of the following inputs might be a result of designing tests for only
valid equivalence classes and valid boundaries?
Q9 Which of the following is the main purpose of the integration strategy for integration
testing in the small?
Q12 Given the following code, which statement is true about the minimum number of
test cases required for full statement and branch coverage?
Read p
Read q
IF p+q > 100 THEN
Print "Large"
ENDIF
IF p > 50 THEN
Print "p Large"
ENDIF
Q16 Which of the following items would not come under Configuration Management?
a) operating systems
b) test documentation
c) live data
d) user requirement documents
i. static analysis
ii. performance testing
iii. test management
iv. dynamic analysis
a) developers would typically use i and iv; test team ii and iii
b) developers would typically use i and iii; test team ii and iv
c) developers would typically use ii and iv; test team i and iii
d) developers would typically use i, iii and iv; test team ii
a) black box test design techniques all have an associated test measurement technique
b) white box test design techniques all have an associated test measurement technique
c) cyclomatic complexity is not a test measurement technique
d) black box test measurement techniques all have an associated test design technique
Q25 A typical commercial test execution tool would be able to perform all of the
following, EXCEPT:
a) re-testing ensures the original fault has been removed; regression testing looks for
unexpected side-effects
b) re-testing looks for unexpected side-effects; regression testing ensures the original
fault has been removed
c) re-testing is done after faults are fixed; regression testing is done earlier
d) re-testing is done by developers; regression testing is done by independent testers
Q27 Expected results are:
Q28 What type of review requires formal entry and exit criteria, including metrics:
a) walkthrough
b) inspection
c) management review
d) post project review
a) component testing
b) non-functional system testing
c) user acceptance testing
d) maintenance testing
Q32 Which expression best matches the following characteristics of the review
processes:
s) inspection
t) peer review
u) informal review
v) walkthrough
a) s = 4 and 5, t = 3, u = 2, v = 1
b) s = 4, t = 3, u = 2 and 5, v = 1
c) s = 1 and 5, t = 3, u = 2, v = 4
d) s = 4 and 5, t = 1, u= 2, v = 3
a) ISO/IEC 12207
b) BS 7925-1
c) ANSI/IEEE 829
d) ANSI/IEEE 729
a) is not important
b) increases the later a fault is found
c) decreases the later a fault is found
d) can never be determined
Q37 Which of the following is NOT included in the Test Plan document of the Test
Documentation Standard?
1 c
2 d
3 c
4 b
5 c
6 b
7 b
8 c
9 a
10 d
11 c
12 b
13 b
14 c
15 a
16 c
17 a
18 a
19 d
20 c
1. A
2. B
3. C
4. D
5. B
6. B
7. D
8. A
9. D
10. C
11. B
12. C
13. C
14. A
15. D
16. A
17. D
18. D
19. D
20. C
21. C
22. A
23. C
24. D
25. C
26. B
27. C
28. B
29. D
30. A
31. A
32. C
33. C
34. A
35. B
36. C
37. D
38. A
39. A
40. B
1A
2A
3D
4C
5A
6A
7C
8B
9C
10 D
11 A
12 B
13 A
14 C
15 B
16 B
17 D
18 D
19 B
20 A
21 D
22 A
23 B
24 C
25 D
26 C
27 C
28 A
29 C
30 D
31 C
32 B
33 C
34 C
35 B
36 D
37 C
38 D
39 D
40 B
1.d
2.b
3.d
4.c
5.d
6.a
7.c
8.b
9.a
10.a
11.c
12.a
13.b
14.c
15.b
16.b
17.c
18.c
19.a
20.c
21.b
22.d
23.c
24.a
25.b
26.d
27.a
28.d
29.c
30.b
1C
2C
3E
4E
5C
6A
7B
8B
9C
10 E
11 B
12 B
13 B
14 B
15 E
16 C
17 B
18 C
19 C
20 A
21 B
22 D
23 A
24 D
25 A
26 A
27 D
28 C
29 A
30 E
31 E
32 B
33 E
34 A
35 B
36 B
37 D
38 D
39 C
40 B