Prévia do material em texto
Page 1 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
Advanced Test Analyst Mock Exam
As of July 1, 2008, the ISTQB has directed its National Boards and Exam Boards
to transition to exams based on the new Advanced Syllabus 2007. This mock
exam is based on the new Advanced Syllabus 2007. However, the ISTQB has not
yet released exam guidelines that National Boards and Exam Boards must follow
for generation of the exams. Therefore, this mock exam follows the exam
guidelines in force as of the transition to the new Advanced Syllabus 2007 exam
on July 1, 2008.
On such an exam, you will have 90 minutes to work through about 30 questions
of approximately the same difficulty mix and syllabus distribution as shown in
the following mock exam. After you have taken this mock exam, check your
answers with the answer key.
1. You are doing compatibility testing of a browser-based application. On the
client side, it runs on three operating systems: Windows 2000 (W2K),
Windows 2003 (W23) and Windows XP Pro (WXP). It works within four
browsers: Firefox (FF), Internet Explorer 5.x (IE5), Internet Explorer 6.x
(IE6), and Opera (O). It supports five connection speeds: Local Area
Network (LAN), Cable (Cab), DSL (DSL), High-speed dial-up (D56) and
Low-speed dial-up (D33).
The following figure shows the classification tree for these configuration
options.
Design a set of test environment configurations to cover the classification
tree with the minimum combinations. How many configurations are
required?
A. 3
B. 5
C. 20
D. 60
ISTQB Advanced Test Analyst: Mock Exam
2. Which of the following is the primary test basis for acceptance
testing?
A. High-level design specification
B. Low-level design specification
C. Requirements specification
D. Defect reports from earlier releases
3. Assume that the failure of a particular on-board computer software
application on an airplane can cause a catastrophic failure of the airplane
itself. Which level of code coverage is required under DO-178B standard?
A. None
B. Statement
C. Decision and statement
D. Modified condition/decision, decision, and statement
Page 2 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
4. Assume you are testing a maintenance release which will add a new
supported model to a browser-based application that allows car dealers to
order custom-configured cars from the maker. The following three
sentences appear in the requirements specification:
Version 2.7B is the monthly maintenance release for this application. It
adds support for the Racinax 917, which comes in two models, a base
model and the 917X with a turbo charged version of the engine. Racinax
vehicles are available in Pearl Grey (PG), Ninja Black (NB), Midnight Violet
(MV), and Electric Blue (EB).
Selection of model numbers and colors are via pull-down lists on a screen.
You want to develop a set of test cases that cover these requirements.
Which is an adequate set of test cases based on equivalence partitioning of
the model variants and the colors?
A. All pairwise combinations of valid models and colors, plus one
invalid color and one invalid model.
B. All pairwise combinations of valid and invalid models and colors.
C. (917, PG, accept), (917, NB, accept), (917X, MV, accept), (917X, EB,
accept), and (invalid model, invalid color, reject)
D. (917, PG, accept), (917, NB, accept), (917X, MV, accept), (917X, EB,
accept), (invalid model, PG, reject), and (917X, invalid color, reject)
5. Assume you are testing a browser-based application that helps individuals
track and manage their investment portfolios. Each user’s data is stored in
a central repository, and users log in to authenticate themselves prior to
accessing their portfolio information. Assume you are looking for bugs
related to the accuracy of the investment performance calculations the
application performs. Which of the following attacks would be most likely
to find such bugs?
A. Input very long strings and SQL commands into input fields
B. Perform calculations with very small numbers, very large numbers,
and zero
C. Search the system registry for user names and passwords
D. Attempt to use the application on a system with minimum memory
and CPU capabilities
Page 3 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
6. You are participating in a review meeting for a project plan during the
beginning of a project. The author, the project manager, is leading the
meeting. He is leading the team sequentially through the sections of the
plan. This meeting would be considered what type of review?
A. Pair programming
B. Audit
C. Inspection
D. Walkthrough
7. Consider the following documents that might be produced during a typical
project:
I. Requirements specification
II. Project plan
III. Test plan
IV. Design specification
V. Defect report
Which of these items could benefit from a review?
A. Items I, II, and IV
B. Items III and V
C. Items I, II, and III
D. Items I, II, III, IV, and V
Page 4 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
8. What is the difference between designing tests with three boundary values
per boundary and designing boundary value tests with two boundary
values per boundary?
A. Use of three boundary values per boundary results in one valid
value and two invalid values per boundary, while with two
boundary values per boundary, there is one valid value and one
invalid value
B. Use of three boundary values per boundary results in two valid
values and one invalid values per boundary, while with two
boundary values per boundary, there is one valid value and one
invalid value
C. With three boundary values per boundary, the boundary itself is
considered a possible value, while with two boundary values per
boundary, the boundary lies between two adjacent possible values
D. With three boundary values per boundary, you are guaranteed to
test the two equivalence partitions on each side of the boundary,
while with two boundary values per boundary you might not test
the two equivalence partitions on each side of the boundary
Page 5 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
9. A point-of-sales system for pharmacies is implementing a change based on
legal restrictions related to the sale of over-the-counter decongestant
medicines that can be used to create illegal narcotics such as
methamphetamine. The law restricts the purchase of these so-called
“precursor” medications to 24 pills of these decongestants per day. The
pharmacies sell these pills in packages of 6 (6-pack), 10 (10-pack), 12 (12-
pack), and 24 (24-pack). The point-of-sales system should reject any
transaction that violates the law.
In the following, a test case consists of description of the transaction in
terms of the collection of packages of decongestant the customer wants to
purchase, followed by an expected result. Which of the following covers
the boundary values for decongestant pills purchased with the minimum
number of test cases?
A. None, accept; 6-pack, accept; 12-pack, accept; two 12-packs, accept.
B. 6-pack, accept; 12-pack, accept; two 12-packs, accept; two 12-packs
and one 6-pack, reject.
C. None, accept; 6-pack, accept; two 12-packs, accept; two 10-packs and
one 6-pack, reject.
D. None, accept; 6-pack, accept; 12-pack, accept; two 10-packs accept;
two 10-packs and one 6-pack, reject.
Page 6 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
10. An on-line shoe-selling e-commerce Web site stocks the following options
for men’s loafers:
Tassel: Tassel (T) or non-tassel (~T)
Color: Black (B), cordovan (C), or white (W)
Size: all full and halfsizes from 8 to 14 (S=n)
The store is overstocked with tasseled loafers of all sizes and colors, along
with white loafers in all sizes, and cordovan loafers in sizes 13, 13 ½, and
14. As a result, they are offering a 10% discount (10%) and free shipping
(FS) on these items. The following cause/effect graph shows the interaction
of these conditions and actions.
Design a full decision table that shows all combinations of conditions, then
collapse that table by using don’t care (“-“) notation where one or two
conditions cannot influence the action. Which of the following statements
is true about these two tables?
A. The full table has 8 rules; the collapsed table has 5.
B. The full table has 12 rules; the collapsed table has 7.
C. The full table has 12 rules; the collapsed table has 5.
D. Both tables have 12 rules, as no combinations can collapse.
Page 7 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
11. You are involved in managing all the testing activities at all levels of
testing, including unit testing, integration testing, and system testing.
(There is no acceptance testing planned for this mass-market product.) A
requirements specification, high-level design specification, and a low-level
design specification will be written. You are currently writing the test plan,
and deciding which test techniques should be applied to each level of
testing. Which of the following statements is true?
A. Functional testing techniques are useful in all three levels of testing.
B. Structural testing techniques are useful only in unit testing.
C. Functional testing techniques are useful only in integration and
system testing.
D. Structural testing techniques are useful only in integration and
system testing.
12. On a project to develop an accounting system for large business customers,
the following people participate in an inspection of a module that creates
end-of-year financial reports:
• The author of the code module being reviewed
• Three fellow programmers
• A marketing manager with a computer science degree
• A tester who previously worked as a programmer
During the review, the author and the tester disagree on whether a
particular method of calculation is error prone. Which of the following
statements is true?
A. The participants must resolve the disagreement before the meeting
proceeds.
B. The author has the last word such decisions, as inspection input is
only advisory.
C. The participants may note the disagreement and continue with the
meeting.
D. To avoid being disruptive influences in inspections, testers should
only observe, not comment.
Page 8 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
13. You are testing a computerized gas pump that allows users to pay using
credit cards. The pump is initially in the waiting-for-customer state. A
transaction is initiated when a customer first inserts a credit card. Four
types of cards are accepted: Visa, MasterCard, Discover, and American
Express. The pump will reject any other type of card. If given an accepted
credit card, the pump validates the card. If the card is valid, the pump is
turned on and the customer is told to begin pumping gas. The pump
remains on until the transaction ends. The transaction ends when one of the
following events occurs:
• Pump handle is returned to pump
• Amount reaches transaction limit for card
• No gas is pumped within two minutes of validation of card
• The station attendant throws the emergency shut-off switch
Once the transaction ends, the pump processes the transaction, charging the
credit card and producing a receipt. It then returns to the waiting-for-
customer state.
The following state transition diagram applies for the pump.
Assume a test always starts and may only end in the waiting-for-customer
state, a test must end after a transaction-ending event, and a test input
consists of (initial state, event[condition], next state, event[condition], …,
event[condition], initial state). Design tests covering every unique
sequence of up to four states/three events. How many tests are needed for
this level of coverage?
A. 2
B. 7
C. 14
D. 26
Page 9 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
14. You are testing a print server whose state-based responses to various events
is shown by the following state transition diagram.
You want to design tests that cover both the state/ event[condition]
combinations shown above and along with various state/event=[condition]
combinations not shown above. To do so, you create a state transition table
based on this diagram that shows all such combinations, one combination
per row. How many rows does this table contain?
A. 5
B. 7
C. 12
D. 35
Page 10 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
15. You are testing the check-out feature of an e-commerce application. The
payment screen gathers the following information: credit card number and
type, credit card expiration date, card verification number (CVV), and
name on credit card. A previous screen calculated the amount to be
charged based on the final shopping cart contents. When the data gathered
by the payment screen (at the customer’s browser) is processed, the
following decision table determines the action to be taken on the
transaction. Note that the expiration, CVV, and name must match the card
number. Note also that a negative amount triggers a “bad amount”
message.
Condition 1 2 3 4 5 6 7 8
Number/type valid N Y Y Y Y Y Y Y
Card expired - Y N N N N N N
Expiration match - - N Y Y Y Y Y
CVV match - - - N Y Y Y Y
Name match - - - - N Y Y Y
Amount positive - - - - - N Y Y
Amount authorized - - - - - - N Y
Action
Reenter message Y N Y Y Y N N N
Expired message N Y N N N N N N
Bad amount message N N N N N Y N N
Amount reject message N N N N N N Y N
Email confirmation N N N N N N N Y
Process purchase N N N N N N N Y
You are creating a set of tests for this transaction processing. In addition to
covering the decision table, you also want to ensure that both positive
(amount authorized) and negative (amount not authorized) tests are run for
each of the four types of credit cards accepted, American Express, Discover,
Master Card, and Visa.
Design a set of tests to achieve this level of coverage, where each test
consists of seven conditions and six expected actions. Which of the
following gives the number of tests you will need?
A. 8
B. 10
C. 13
D. 14
Page 11 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
16. Which of the following is the strongest (i.e., most test coverage) coverage
criteria that can apply to a classification tree?
A. All partitions covered at least once
B. All partitions combined with one another
C. All possible pairs of combinations of partitions
D. All possible triples of combinations of partitions
17. Consider the following program that accepts a request for a Fibonacci series
of a certain size and prints that series.
main()
{
int i, n, pp, p, c;
printf("Enter element count: ");
scanf("%d", &n);
if (n < 0) {
printf("No %d series!\n", n);
n = -1;
} else {
printf("{ ");
pp = 0;
p = 1;
for (i=0; i < n; i++) {
c = pp + p;
printf("%d ", c);
pp = p;
p = c;
}
printf("} \n");
}
exit(n);
}
Assume that you test with an input value of –1 and 7. Which of the
following statements correctly describes the level of code coverage
achieved?
A. No level of coverage is achieved.
B. Statement coverage is achieved.
C. Branch coverage is achieved.
D. Complete path coverage is achieved.
Page 12 of 22 Copyright (c) 2006-2008 RBCSAll Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
18. You are responsible for system testing a safety-critical medical device that
uses embedded software. A failure in the software may result in
catastrophic failure of the device and patient death. Which of the following
describes the best use of exploratory testing and bug-based attacks in your
overall testing strategy?
A. Do not use these techniques for safety-critical systems, as they are
likely to miss important bugs.
B. Only use these techniques at the very end of system test, as they are
unlikely to find important bugs.
C. Use these techniques throughout system test, as they are likely to
find some bugs that systematic techniques miss.
D. Use these techniques exclusively, as they are more efficient than
systematic techniques and find all important bugs.
19. You are performing an exploratory testing session for a browser-based
personal-finance application running on a PC. The charter of this testing
session is to test check-printing capabilities for various supported printer
types, check formats, operating systems, and browsers. Since there are over
750 supported combinations, you are considering using a classification tree
to identify all possible pairs of options. Which statement is correct?
A. You should use the classification tree because exploratory testing
always relies on structured test design techniques.
B. You should not use the classification tree because exploratory testing
never relies on structured test design techniques.
C. You should not use exploratory testing for tests of compatibility and
configuration, as it only applies to testing functionality.
D. You should use the classification tree because exploratory testing
promotes the use of any available skills and techniques.
Page 13 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
20. Your company’s Chief Information Officer manager returns from a
conference where she learned the economic and schedule benefits of
reviews. She directs you, the quality assurance manager, to institute
reviews immediately across all current and future projects. You are given
a budget to bring in training in the review process. You are instructed to
gather metrics on defects found and effort expended in reviews so that
return on investment can be calculated.
Which of the following is a success factors for review introduction which is
missing?
A. Management support
B. Pilot projects
C. Ability to measure return on investment
D. Provision for training in the review process
Page 14 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
21. You are involved in testing a software component that gathers and analyzes
various kinds of sensor input. This software will be sold to a customer that
will integrate it into their systems, which are subject to government
regulations. You have determined that a particular standard that requires
statement and decision coverage as well as 100% requirements specification
coverage applies to this software. In addition, the contract specifies a
particular set of acceptance criteria that will determine whether they must
pay for the software upon delivery.
Which of the following statements describes the best way to select test
techniques for this project?
A. Select techniques that provide coverage of the acceptance criteria
with the minimum number of tests, assuming the customer will test
for standards compliance.
B. Select techniques that provide coverage to the mandated standard,
assuming the customer will run acceptance tests based on the
acceptance criteria.
C. Select techniques that provide coverage of those areas that are felt to
be the most risky by technical contributors, as doing so will
necessarily cover the standards and acceptance criteria, too.
D. Select techniques that provide coverage to the mandated standard,
augment those with techniques needed to cover the acceptance
criteria, and address any remaining coverage gaps through
appropriate techniques.
22. Which of the following statements is true?
A. MISRA Report 6 recommends use of decision tables
B. MISRA Report 6 does not address requirements coverage
C. MISRA Report 6 recommends testing errors and out-of-range
conditions
D. MISRA Report 6 recommends testing as the only quality assurance
technique
Page 15 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
23. You are managing the testing effort for a new software application. In a
meeting with the project manager, you recommend that requirements,
designs, and code undergo reviews. The project manager says, “That
sounds like a lot of work. What is the benefit?” Which of the following is a
good response that will answer the project manager’s question and address
the big picture concerns that she would have?
A. Bugs are much cheaper to find and remove early in the lifecycle.
B. Finding too many bugs during system testing makes the test team’s
life difficult.
C. Holding review meetings for these items can slow down changes in
the system.
D. We can use the review sessions to brainstorm new features and
design decisions.
24. Which of the following is NOT a possible outcome of a review?
A. Declaring the item under review complete
B. Declaring the item under review complete if certain changes are
made
C. Declaring the item under review as needing major changes followed
by a re-review
D. Changing the person responsible for writing the item under review
25. A programmer working in the Czech Republic writes a new object to be
included in an existing system. He sends the files out for review via e-mail
to some other people working on the same project, including a fellow
programmer in India, a senior programmer in her office, and two test
engineers in Austin. He asks for comments back via e-mail within three
days. What would this type of review be called?
A. Informal
B. Inspection
C. Walkthrough
D. Technical review
Page 16 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
26. During a walkthrough meeting for a high-level design, a tester who is
participating as a reviewer asks the system architect who created the
document why only physical network connections are supported in the
design, rather than also supporting wireless connections. The designer
replies that they did not have time to address the security concerns raised
by wireless access to the system. The tester accepts that answer and the
review proceeds.
Which of the following is an objective of a review that was achieved in that
exchange?
A. Increased reviewer understanding
B. Early detection of a defect
C. Correction of a defect
D. Analysis of system design
27. Which of the following statements is true?
A. To make the review meeting efficient, reviewers should bring points
for discussion to a technical review.
B. To keep an open mind, reviewers should not read the item under
review prior to a technical review.
C. To make problem resolution faster, reviewers should bring problems
and solutions to a technical review.
D. To keep the review meeting under two hours, reviewers should
avoid discussion of controversial points in a technical review.
Page 17 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
28. Your organization instituted requirements and design reviews for all
projects 18 months ago. Reviews are still happening, are effective when
they do occur, and data from the reviews is being used to locate other
process improvement opportunities. However, you notice that only less
critical projects manage to hold reviews for requirements and design
documents. Ironically, the more business-critical projectsare skipping
some or all reviews and losing out on the schedule and quality benefits.
Typically, as the schedule pressures build up on a project, fewer reviews
are carried out, compounding schedule problems later when more bugs are
discovered during system test.
Which of the following common causes of review failure is most likely at
work in this scenario?
A. Insufficient training for the reviewers.
B. No continuous improvement from reviews.
C. Resistance by staff to the chosen review procedures.
D. Insufficient time scheduled for reviews in critical projects.
Page 18 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
29. You are testing a computerized gas pump that allows users to pay using
credit cards. Four types of cards are accepted: Visa, Mastercard, Discover,
and American Express. The pump will reject any other type of card. If
given an accepted credit card, the pump validates the card. If the card is
valid, the pump is turned on and the customer is told to begin pumping
gas. The pump remains on until the transaction ends. The transaction ends
when one of the following events occurs:
• Pump handle is returned to pump
• Amount reaches transaction limit for card
• No gas is pumped within two minutes of validation of card
• Emergency shut-off switch is thrown by the station attendant
Assume that a test is consists of a triple set of values, (card type, card
validity, transaction ending). Design the minimum number of tests needed
to cover all the equivalence partitions for each card brand, including both
valid and invalid cards of each accepted type, along with covering each
equivalence partition for transaction endings.
How many tests do you need?
A. 4
B. 5
C. 9
D. 17
30. What is a review?
A. An evaluation of a product or project status to ascertain
discrepancies from planned results and to recommend
improvements.
B. An independent evaluation of software products or processes to
ascertain compliance to standards, guidelines, specifications, and/or
procedures.
C. Testing of software or specification by manual simulation of its
execution.
D. A systematic evaluation of software acquisition, supply,
development, operation, or maintenance process, performed by or
on behalf of management.
Page 19 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
[This page deliberately blank.]
Page 20 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
ISTQB Advanced Test Analyst: Mock Exam
Page 21 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved
Answer Key
1. B
2. C
3. D
4. D
5. B
6. D
7. D
8. C
9. C
10. C
11. A
12. C
13. D
14. D
15. D
16. B
17. B
18. C
19. D
20. B
21. D
22. C
23. A
24. D
25. A
26. A
27. A
28. D
29. C
30. A
ISTQB Advanced Test Analyst: Mock Exam
[This page deliberately blank.]
Page 22 of 22 Copyright (c) 2006-2008 RBCS All Rights Reserved