ISTQB
ISTQB
In the following we show an excerpt of the work result to be reviewed, for which you should use
the checklist above:
"After checking the customer documentation for completeness and correctness, the software
architect creates the system specification. Once the software architect has completed the
system specification, he invites testers and verifiers to the review. A checklist describes the
scope of the review. Each invited reviewer creates review comments - if necessary - and
concludes the review with an official review done-comment."
d) Point i) of the checklist has been violated because it is not clear who is providing the
checklist for the invitation to the review (It is described that a checklist is available, but who
provides the checklist?)
19. What is checklist-based testing?
c) An experience-based test technique whereby the experienced tester uses a list of items to
be noted, checked, or remembered, or a set of rules or criteria against which a product must
be verified
20. Which one of the following options is categorized as a black-box test technique?
d) A technique based on formal requirements (Black-box test techniques are based on an
analysis of the appropriate test basis (e.g., formal requirements documents, specifications,
use cases, user stories))
21. The following statement refers to decision coverage:
“When the code contains only a single ‘if’ statement and no loops or CASE statements, and its
execution is not nested within the test, any single test case we run will result in 50% decision
coverage.”
Which of the following statement is correct?
b) The statement is true. Any single test case would cause the outcome of the “if” statement
to be either true or false (Since any test case will cause the outcome of the “if” statement to
be either TRUE or FALSE, by definition we achieved 50% decision coverage)
22. Which one of the following is the description of statement coverage?
b) It is a metric, which is the percentage of statements in the source code that have been
executed (Statement testing exercises the executable statements in the code. Statement
coverage is measured as the number of statements executed by the tests divided by the
total number of executable statements in the test object, normally expressed as a
percentage)
23. Which statement about the relationship between statement coverage and decision coverage is
true?
a) 100% decision coverage also guarantees 100% statement coverage (The statement is
true. Achieving 100% decision coverage guarantees 100% statement coverage)
24. For which of the following situations is exploratory testing suitable?
c) When testers are available who have enough knowledge of similar applications and
technologies (Exploratory tests should be performed by experienced testers with knowledge
of similar applications and technologies)
25. An employee’s bonus is to be calculated. It cannot be negative, but it can be calculated down to
zero. The bonus is based on the length of employment:
• Less than or equal to 2 years
• More than 2 years but less than 5 years
• 5 to 10 years inclusively
• Longer than 10 years
What is the minimum number of test cases required to cover all valid equivalence partitions for
calculating the bonus?
d) 4 (The 4 equivalence partitions correspond to the description in the question, i.e., at least
one test case must be created for each equivalence partition:
1. Equivalence partition: 0 ≤ employment time ≤ 2
2. Equivalence partition: 2 < employment time < 5
3. Equivalence partition: 5 ≤ employment time ≤ 10
4. Equivalence partition: 10 < employment time)
26. A speed control and reporting system has the following characteristics:
• If you drive 50 km/h or less, nothing will happen.
• If you drive faster than 50 km/h, but no more than 55 km/h, you will be warned.
• If you drive faster than 55 km/h but not more than 60 km/h, you will be fined.
• If you drive faster than 60 km/h, your driving license will be suspended.
• The speed in km/h is available to the system as an integer value.
Which would be the most likely set of values (km/h) identified by applying the boundary value
analysis, where only the values on the boundaries of the equivalence classes are selected?
d) 50, 51, 55, 56, 60, 61 (The following partitions can be identified:
1. <= 50, boundary value 50
2. 51 – 55 boundary values 51, 55
3. 56 – 60 boundary values 56, 60
4. >=61 boundary value 61
Boundary value according to glossary V.3.2: A minimum or maximum value of an ordered
equivalence partition.)
27. A company's employees are paid bonuses if they work more than a year in the company and
achieve a target which is individually agreed before.
These facts can be shown in a decision table:
Test-ID T1 T2 T3 T4
Condition1 Employment for more YES NO NO YES
than 1 year?
Condition2 Agreed target? NO NO YES YES
Condition3 Achieved target? NO NO YES YES
Action Bonus payment NO NO NO YES
Which of the following test cases represents a situation that can happen in real life, and is
missing in the above decision table?
d) Condition1 = NO, Condition2 = YES, Condition3 = NO, Action= NO (The test case describes
the situation that the too short period of employment and the non-fulfilment of the agreed
target leads to nonpayment of the bonus. This situation can occur in practice but is missing
in the decision table)
28. Which of the following statements about the given state transition diagram and table of test
cases is TRUE?
b) The given test cases represent all possible valid transitions in the state transition diagram
(Proposed test case covers all five possible single valid transitions in the given state diagram
(S1->S2, S2->S1, S2->S3, S3->S2, and S3->S1).
Because all valid transitions are covered)
29. A video application has the following requirement: The application shall allow playing a video on
the following display resolution:
1. 640x480
2. 1280x720
3. 1600x1200
4. 1920x1080
Which of the following list of test cases is a result of applying the equivalence partitioning test
technique to test this requirement?
c) Verify that the application can play a video on each of the display sizes in the requirement
(4 test cases) (This is a case where the requirement gives an enumeration of discrete values.
Each enumeration value is an equivalence class by itself; therefore, each will be tested when
using equivalence partitioning test technique)
30. Which of the following statements BEST describes how tasks are divided between the test
manager and the tester?
b) The test manager plans, coordinates, and controls the testing activities, while the tester
automates the tests
31. Which of the following metrics would be MOST useful to monitor during test execution?
a) Percentage of executed test cases (Test case execution (e.g., number of test cases run/not
run, and test cases passed/failed))
32. Which of the following can affect and be part of the (initial) test planning?
a) Budget limitations (Making decisions about what to test are documented in the test plan.
This means when you are planning the test and there are budget limitations, prioritizing is
needed; what should be tested and what should be omitted)
33. Which of the following lists contains only typical exit criteria from testing?
a) Reliability measures, test coverage, schedule and status about fixing defect and remaining
risks
34. Which one of the following is NOT included in a test summary report?
a) Defining pass/fail criteria and objectives of testing (This information has been defined
earlier in the test project)
35. The project develops a "smart" heating thermostat. The control algorithms of the thermostat
were modeled as Matlab/Simulink models and run on the internet connected server. The
thermostat uses the specifications of the server to trigger the heating valves.
The test manager has defined the following test strategy/approach in the test plan:
1. The acceptance test for the whole system is executed as an experience-based test.
2. The control algorithms on the server are checked against standard of the energy saving
regulation.
3. The functional test of the thermostat is performed as risk-based testing.
4. The security tests of data / communication via the internet are executed together with
external security experts.
What four common types of test strategies/approaches did the test manager implement in the
test plan?
b) Analytical, standard-compliant, consultative, and reactive
(The possible mappings of points 1 to 4 can be justified as follows:
1. Approach 3 is analytical: Risk-based testing is an example of an analytical approach,
where tests are designed and prioritized based on the level of risk
2. Approach 2 is standard-compliant: The control algorithms is checked against industry-
specific standard of the energy saving regulation.
3. Approach 4 is consultative: This type of test strategy is driven primarily by the advice,
guidance, or instructions of stakeholders, business domain experts, or technology experts,
who may be outside the test team or outside the organization itself
4. Approach 1 is reactive: Exploratory testing is a common technique employed in reactive
strategies, whereby the explorative testing is assigned to the experience-based testing
category)
36. Which one of the following is the characteristic of a metrics-based approach for test estimation?
a) Budget which was used by a previous similar test project (The metrics-based approach:
estimating the testing effort based on metrics of former similar projects or based on typical
values)
37. As a test manager you are responsible for testing the following parts of requirements:
• R1 - Process anomalies
• R2 - Synchronization
• R3 - Approval
• R4 - Problem solving
• R5 - Financial data
• R6 - Diagram data
• R7 - Changes to the user profile
Notation: Logical requirement dependencies (A -> B means, that B depends on A):
Which one of the following options structures the test execution schedule according to the
requirement dependencies?
c) R1 ; R3 ; R2 ; R5 ; R6 ; R4 ; R7 (The tests are specified in a sequence that takes the
dependencies into account)
38. You are testing a new version of software for a coffee machine. The machine can prepare
different types of coffee based on four categories. i.e., coffee size, sugar, milk, and syrup. The
criteria are as follows:
• Coffee size (small, medium, large)
• Sugar (none, 1 unit, 2 units, 3 units, 4 units)
• Milk (yes or no)
• Coffee flavor syrup (no syrup, caramel, hazelnut, vanilla)
Now you are writing a defect report with the following information:
• Title: Low coffee temperature.
• Short summary: When you select coffee with milk, the time for preparing coffee is too long
and the temperature of the beverage is too low (less than 40 °C).
• Expected result: The temperature of coffee should be standard (about 75 °C).
• Degree of risk: Medium
• Priority: Normal
What valuable information was omitted in the above defect report?
b) Identification of the tested software version (When testing different versions of software,
identifying information is necessary)
39. Which one of the following is MOST likely to be a benefit of test execution tools?
d) It is easy to run regression tests (Reduction in repetitive manual work (e.g., running
regression tests, environment set up/tear down tasks, re-entering the same test data, and
checking against coding standards), thus saving time)
40. Which one of the following test tools is mostly suitable for developers rather than testers?
c) Static analysis tools (Static analysis tools are especially suitable for developers)
Exam B:
1. Which of the following provides the definition of the term test case?
b) A set of preconditions, inputs, actions, expected results and post conditions, developed
based on test conditions (Based on definition from Glossary)
2. Which of the following is a typical objective of testing?
a) To find defects and failures (One of the major objectives of testing)
3. Which of the following is an example of a failure in a car cruise control system?
c) The system stops maintaining a set speed when the radio volume is increased or
decreased (This is a deviation from the expected functionality - a cruise control system
should not be affected by the radio)
4. Which of the following is a defect rather than a root cause in a fitness tracker?
c) An incorrect configuration variable implemented for the GPS function could cause
location problems during daylight saving times (The incorrect configuration data represents
faulty software in the fitness tracker (a defect), that may cause failures)
5. As a result of risk analysis, more testing is being directed to those areas of the system under test
where initial testing found more defects than average.
Which of the following testing principles is being applied?
d) Defects cluster together (If clusters of defects are identified (areas of the system
containing more defects than average), then testing effort should be focused on these
areas)
6. Given the following test activities and tasks:
A. Test design
B. Test implementation
C. Test execution
D. Test completion
Which of the following BEST matches the activities with the tasks?
a) A-2, B-3, C-4, D-1
7. Which of the following BEST describes how value is added by maintaining traceability between
the test basis and test artifacts?
b) It is possible to determine if a new test case has increased coverage of the requirements
(If all test cases are linked with requirements, then whenever a new test case (with
traceability) is added, it is possible to see if any previously uncovered requirements are
covered by the new test case)
8. Which of the following qualities is MORE likely to be found in a tester’s mindset rather than in a
developer’s?
b) Ability to see what might go wrong (Developers are often more interested in designing
and building solutions than in contemplating what might be wrong with those solutions)
9. Given the following statements about the relationships between software development
activities and test activities in the software development lifecycle:
1. Each development activity should have a corresponding testing activity
2. Reviewing should start as soon as final versions of documents become available
3. The design and implementation of tests should start during the corresponding development
activity
4. Testing activities should start in the early stages of the software development lifecycle
Which of the following CORRECTLY shows which are true and false?
d) True – 1, 4; False – 2, 3
(2. Reviewing should start as soon as final versions of documents become available. FALSE –
it should start as soon as drafts are available
3. The design and implementation of tests should start during the corresponding
development activity. FALSE – the analysis and design of tests should start during the
corresponding development activity, not the implementation)
10. Given that the testing being performed has the following attributes:
• Based on interface specifications
• Focused on finding failures in communication
• The test approach uses both functional and structural test types
Librarians can:
1. Register new borrowers
2. Return books from borrowers
3. Accept fines from borrowers
4. Add new books to the system with their ISBN, author and title
5. Remove books from the system
6. Get system responses within 5 seconds
Borrowers can:
7. Borrow a maximum of 3 books at one time
8. View the history of books they have borrowed/reserved
9. Be fined for failing to return a book within 3 weeks
10. Get system responses within 3 seconds
11. Borrow a book at no cost for a maximum of 4 weeks
12. Reserve books (if they are on-loan)
You have been assigned the checklist entry that requires you to review the specification for
inconsistencies between individual requirements (i.e., conflicts between requirements).
Which of the following CORRECTLY identifies inconsistencies between pairs of requirements?
b) 6-15, 9-11
(Considering the potential inconsistencies:
• 6-10 – If librarians should get system responses within 5 seconds, it is NOT inconsistent for
borrowers to get system responses within 3 seconds.
• 6-15 - If librarians should get system responses within 5 seconds, it is inconsistent for all
users to get system responses within 3 seconds.
• 7-12 – If borrowers can borrow a maximum of 3 books at one time it is NOT inconsistent
for them to also reserve books (if they are on-loan).
• 9-11 – If a borrower can be fined for failing to return a book within 3 weeks it is
inconsistent for them to also be allowed to borrow a book at no cost for a maximum of 4
weeks – as the length of valid loans are different.
Of the potential inconsistencies, 6-15 and 9-11 are valid inconsistencies.)
19. Which of the following provides the BEST description of exploratory testing?
b) An approach to testing whereby the testers dynamically design and execute tests based
on their knowledge, exploration of the test item and the results of previous tests (Glossary
definition)
20. Which of the following BEST matches the descriptions with the different categories of test
techniques?
1. Coverage is measured based on a selected structure of the test object
2. The processing within the test object is checked
3. Tests are based on defects’ likelihood and their distribution
4. Deviations from the requirements are checked
5. User stories are used as the test basis
Using notation for the following 4 options:
Which of the following sets of test inputs would achieve the BEST equivalence partition
coverage?
d) 666, 999, 2222, 5555, 6666
22. A daily radiation recorder for plants produces a sunshine score based on a combination of the
number of hours a plant is exposed to the sun (below 3 hours, 3 to 6 hours or above 6 hours)
and the average intensity of the sunshine (very low, low, medium, high).
Given the following test cases:
What is the minimum number of additional test cases that are needed to ensure full coverage of
ALL VALID INPUT equivalence partitions?
b) 2
(The following valid input equivalence partitions can be identified:
• Hours
1. Below 3 hours
2. 3 to 6 hours
3. Above 6 hours
• Intensity
4. Very low
5. Low
6. Medium
7. High
Thus, the missing valid input equivalence partitions are: (2), (5) and (7). These can be
covered by two test cases, as (2) can be combined with either (5) or (7).)
23. A smart home app measures the average temperature in the house over the previous week and
provides feedback to the occupants on their environmental friendliness based on this
temperature.
The feedback for different average temperature ranges (to the nearest °C) should be:
Using BVA (only Min- and Max values), which of the following sets of test inputs provides the
highest level of boundary coverage?
c) 10°C, 16°C, 19°C, 22°C, 23°C
(For the input equivalence partitions given, the above used boundary value technique yields
the following 8 coverage items:
10°C, 11°C, 15°C, 16°C, 19°C, 20°C, 22°C, 23°C.)
24. Decision table testing is being performed on a speeding fine system. Two test cases have already
been generated for rules R1 and R4, which are shown below:
Rules R1 R4
Conditions Speed > 50 T F
School zone T F
Actions $250 Fine F F
Driving license withdrawal T F
Which two of the additional test cases would achieve full coverage of the complete decision
table (when combined with the test cases that have already been generated for rules R1 and
R4)?
c) DT2, DT4
(To achieve full coverage, test cases covering rules 2 and 3 are needed. DT4 satisfies the
constraints of rule 2, while DT2 satisfies the constraints of rule 3.)
25. Given the following state model of a battery charger software:
Which of the following sequences of transitions provides the highest level of transition coverage
for the model?
d) WAIT → TRICKLE → CHARGE → HIGH → CHARGE → TRICKLE → WAIT → OFF → WAIT
26. Which of the following statements BEST describes how test cases are derived from a use case?
a) Test cases are created to exercise defined basic, exceptional and error behaviors
performed by the system under test in collaboration with actors (This explains that each use
case specifies some behavior that a subject can perform in collaboration with one or more
actors. It also (later) explains that tests are designed to exercise the defined behaviors
(basic, exceptional and errors))
27. Which of the following descriptions of statement coverage is CORRECT?
b) Statement coverage is a measure of the proportion of executable statements in the
source code exercised by tests (Statement coverage is a measure of the proportion of
executable statements exercised by tests (normally presented as a percentage))
28. Which of the following descriptions of decision coverage is CORRECT?
d) Decision coverage is a measure of the proportion of decision outcomes in the source code
exercised by tests (Decision coverage is a measure of the proportion of decision outcomes
exercised (normally presented as a percentage))
29. Which of the following BEST describes the concept behind error guessing?
c) Error guessing involves using your knowledge and experience of defects found in the past
and typical mistakes made by developers (The basic concept behind error guessing is that
the tester tries to guess what mistakes may have been made by the developer and what
defects may be in the test object based on past-experience (and sometimes checklists))
30. Which of the following BEST explains a benefit of independent testing?
d) When specifications contain ambiguities and inconsistencies, assumptions are made on
their interpretation, and an independent tester can be useful in questioning those
assumptions and the interpretation made by the developer (Specifications are never
perfect, meaning that assumptions will have to be made by the developer. An independent
tester is useful in that they can challenge and verify the assumptions and subsequent
interpretation made by the developer)
31. Which of the following tasks is MOST LIKELY to be performed by the test manager?
a) Write test summary reports based on the information gathered during testing (One of the
typical tasks of a test manager)
32. Given the following examples of entry and exit criteria:
1. The original testing budget of $30,000 plus contingency of $7,000 has been spent
2. 96% of planned tests for the drawing package have been executed and the remaining tests
are now out of scope
3. The trading performance test environment has been designed, set-up and verified
4. Current status is no outstanding critical defects and two high-priority ones
5. The autopilot design specifications have been reviewed and reworked
6. The tax rate calculation component has passed unit testing.
Which of the following BEST categorizes them as entry and exit criteria:
d) Entry criteria – 3, 5, 6; Exit criteria – 1, 2, 4
(The correct pairings of examples to entry and exit criteria are:
• Entry criteria
o (3) The trading performance test environment has been designed, set-up and verified –
example of the need for a test environment to be ready before testing can begin
o (5) The autopilot design specifications have been reviewed and reworked – example of the
need for the test basis to be available before testing can begin
o (6) The tax rate calculation component has passed unit testing – example of the need for a
test object to have met the exit criteria for a prior level of testing before testing can begin
• Exit criteria
o (1) The original testing budget of $30,000 plus contingency of $7,000 has been spent –
example of spending the testing budget being a signal to stop testing
o (2) 96% of planned tests for the drawing package have been executed and the remaining
tests are now out of scope – example of all the planned tests being run being a signal to stop
testing (normally used alongside the exit criteria on outstanding defects remaining)
o (4) Current status is no outstanding critical defects and two high priority ones – example of
the number of outstanding defects achieving a planned limit being a signal to stop testing
(normally used alongside the exit criteria on planned tests being run).)
33. Given the following priorities and dependencies for these test cases:
Which of the following test execution schedules BEST considers the priorities and technical and
logical dependencies?
b) TC4 – TC3 – TC1 – TC2 – TC5 – TC6
(The test cases should be scheduled in priority order, but the schedule must also take
account of the dependencies.
The two highest priority test cases (TC1 and TC3) are both dependent on TC4, so the first
three test cases should be scheduled as either TC4 – TC1 – TC3 or TC4 – TC3 – TC1 (we have
no way to discriminate between TC1 and TC3).
Next, we need to consider the remaining medium priority test case, TC6. TC6 is dependent
on TC5, but TC5 is dependent on TC2, so the next two three cases must be scheduled as TC2
– TC5 – TC6.
This means there are two possible optimal schedules:
• TC4 – TC1 – TC3 – TC2 – TC5 – TC6 or
• TC4 – TC3 – TC1 – TC2 – TC5 – TC6)
34. Which of the following statements about test estimation approaches is CORRECT?
c) With the expert-based approach, the test managers responsible for the different testing
activities predict the expected testing effort (Test Managers, who will be leading testers
doing the testing, are considered experts in their respective areas and suitable for
estimating the necessary resources needed)
35. Which of the following BEST defines risk level?
c) Risk level is determined by a combination of the probability of an undesirable event and
the expected impact of that event
36. Which of the following is MOST likely to be an example of a PRODUCT risk?
a) The expected security features may not be supported by the system architecture (If the
expected security features are not supported by the system architecture, then the system
could be seriously flawed. As the system being produced is the problem here, it is a product
risk)
37. Which of the following is LEAST likely to be an example of product risk analysis CORRECTLY
influencing the testing?
b) Testing has found the quality of the network module to be higher than expected, so
additional testing will be performed in that area (As less defects than expected have been
found in the network module, the perceived risk in this area should be lower, and so less
testing should be focused on this area, NOT additional testing. Thus, product risk analysis
has NOT CORRECTLY influenced the testing in this situation)
38. You are performing system testing of a train reservation system. Based on the test cases
performed, you have noticed that the system occasionally reports that no trains are available,
although this should be the case. You have provided the developers with a summary of the
defect and the version of the tested system. They recognize the urgency of the defect and are
now waiting for you to provide further details.
In addition to the information already provided, the following additional information is given:
1. Degree of impact (severity) of the defect
2. Identification of the test object
3. Details of the test environment
4. Urgency/priority to fix
5. Actual results
6. Reference to test case specification
Which of this additional information is most useful to include in the defect report?
d) 3, 5, 6
(Considering each of the pieces of information:
1. Degree of impact (severity) of the defect – the developers are already aware of the
problem and are waiting to fix it, so this is a less important piece of information.
2. Identification of the test object – as the developers are already aware of the problem and
you are performing system testing, and you have already provided the version of the system
you are testing you can assume they know the object that was being tested, so this is a less
important piece of information.
3. Details of the test environment – the set-up of the test environment may have a
noticeable effect on the test results, and detailed information should be provided, so this is
an important piece of information.
4. Urgency/priority to fix – the developers are already aware of the problem and are waiting
to fix it, so this is a less important piece of information.
5. Actual results – the actual results may well help the developers to determine what is
going wrong with the system, so this is an important piece of information.
6. Reference to test case specification – this will show the developers the tests you ran,
including the test inputs that caused the system to fail (and expected results), so this is an
important piece of information.)
39. Given the following test activities and test tools:
1. Performance measurement and dynamic analysis
2. Test execution and logging
3. Management of testing and test ware
4. Test design