2022 2023
2022 2023
A. Because the team tends to align their plans with the objectives set by management
B. Because coverage must be measured against test objectives
C. Because the level of product risk is determined by the test objectives
D. Because identifying test objectives is a major task in the test planning activity
I. Early testing
II. Exploring testing
III. Defect clustering
IV. Defect masking
V. Pesticide paradox
A. I, III, and V
B. I, II, III, and V
C. II, and IV
D. III and V
4. Consider the following scenario. You are testing a product and have found 100 defects.
Two-thirds of those defects are in the user interface and the access control modules, while
the remaining 33 defects are spread across six other modules. Which of the following is
the testing principle that most applies to this scenario?
A. Defect clustering
B. Absence-of-errors fallacy
C. Exhaustive testing is impossible
D. Testing is context dependent
5. Fahmi is a software tester who has worked as a mobile application tester for five years.
He has a lot of experience in testing mobile applications and always achieves good results
in less time than others. In a recent project, he used existing automated test cases without
updating or adding new test cases. He found that the defects found were fewer and fewer
when performing tests. What principle of testing did Fahmi not observe?
1
TTTE3503
B. Absence-of-errors fallacy
C. Exhaustive testing is impossible
C. Pesticide Paradox
D. Defect clustering
6. Which of the following statements correctly describes the difference between testing and
debugging?
A. Testing identifies the source of defects; debugging analyzes the defects and proposes
prevention activities
B. Dynamic testing shows failures caused by defects; debugging eliminates the defects,
which are the source of failures
C. Testing does not remove faults, but debugging removes defects that cause the faults
D. Dynamic testing prevents the causes of failures; debugging removes the failures
• Using this technique, test cases are designed to test different system transitions.
• This technique helps to analyze the behavior of an application for different input
conditions.
• This technique is used when we have a sequence of events that occur and associated
conditions that apply to those events
9. Given that the testing being performed has the following attributes:
2
TTTE3503
A. Integration testing
B. Acceptance testing
C. System testing
D. Component testing
10. You are running a performance test intending to find possible network bottlenecks in
interfaces between system components. Which of the following statements describes this
test?
12. Consider the following types of defects that a test level might focus on:
Which of the following lists correctly matches test levels from the Foundation syllabus with
the defect focus options given above?
13. You have developed an Android-based mobile application. You then find that there are
users who use mobile devices based on IOS and SymbianOS. Since they also want to use
your application, then you need to do another test. What kind of tests should you do?
A. Performance test
B. Regression test
C. Functional test
D. Portability test
3
TTTE3503
A. When time pressure requires speeding up the execution of tests already specified
B. When the system is developed incrementally and no test charter is available
C. When testers are available who have enough knowledge of similar applications and
technologies
D. When advanced knowledge of the system already exists, and evidence is to be provided
that it should be tested intensively
15. In a formal review, which role usually is responsible for documenting all the open issues?
A. The facilitator
B. The author
C. The scribe
D. The manager
16. Which of the following tasks is part of the test planning activity?
18. You are participating in a role-based review session. Your assigned role is that of a senior
citizen. The product is an online banking application targeted for use on smartphones.
You are currently reviewing the product's user interface with a prototype that works on
iPhones. Which of the following is an area that you should review?
4
TTTE3503
20. Consider the following four types of tests for an e-commerce application:
22. Customers are complaining that your company website is too slow. You have been asked
to manage the testing portion of a project that is charged with reducing the incidence of
such problems for the e-commerce portion (online store) of your company site.
Therefore, your work on this project is likely to include one of the following.
A. You can find defects that might be missed by more formal techniques
B. You can test for defects that only experienced users would encounter
C. You can target the developer’s efforts to the areas that users will be more likely to use
D. It is supported by solid tools and can be automated
5
TTTE3503
A. Large
B. Small
C. Difficult to write
D. Difficult to test
25. Which of the following is a characteristic of good testing in any project, at any test level,
regardless of lifecycle model?
26. Which test type is typically more important during maintenance testing as compared to
testing an entirely new application?
A. Performance testing
B. Functional testing
C. Regression testing
D. Security testing
27. Which of the following activities is to track the number of test cases executed?
A. Planning
B. Designing
C. Execution
D. Reporting
28. Who is normally responsible for creating and updating a test plan for a project?
6
TTTE3503
30. Which of the following has the highest level of independence in which test cases are
designed?
A. Test cases designed by persons who write the software under test
B. Test cases designed by a person from a different section
C. Test cases designed by a person from a different organization
D. Test cases designed by peers
A. Spelling checker that detects defects in the documents (spelling and to a certain degree
grammar mistakes)
B. A defect tracking tool
C. A test automation tool
D. A tool that helps design test cases for security testing
A. re-testing is running a test again; regression testing looks for unexpected side effects
B. re-testing looks for unexpected side effects; regression testing is repeating those tests
C. re-testing is done after faults are fixed; regression testing is done earlier
D. re-testing uses different environments, regression testing uses the same environment
A. Error guessing
B. Automated regression testing
C. Run the system and examine the outputs
D. Code review
35. What is the main difference between static and dynamic testing?
7
TTTE3503
A. A flaw in a component or system that can cause the component or system to fail to
perform its required function
B. Any event occurring that requires investigation
C. Deviation of the component or system from its expected delivery, service or result
D. The physical or functional manifestation of a failure
40. What process is missing if the developers are releasing code for testing that is not version-
controlled?
A. Configuration management
B. Debugging
C. Test design
D. Risk analysis
8
TTTE3503
42. Given the following statements about the relationships between software development
activities and test activities in the software development lifecycle:
Which of the following correctly shows which are true and false?
I. A project manager
II. A user
III. An operator
IV. A development manager
V. A developer
Which of the following statements is most true about project team members in the role
of testers?
44. A field representing the quantity of an item to be purchased accepts an integer input
between 1 and 99. Consider the following numbers:
I. 0
II. -7
III. 1
IV. 52
V. 99
VI. 100
VII. 129
9
TTTE3503
A. II, IV, and VII are boundary values, while I, III, V, and VI are invalid members of
equivalence partitions
B. I, III, V, and VI are boundary values, while II, IV, and VII are members of the invalid
equivalence partitions
C. All seven values are boundary values and members of one of the three equivalence
partitions
D. Only I, III, V, and VI are members of one of the three equivalence partitions
45. Water in the tank should have a temperature between 300C and 600C. The heater turns
on when the temperature drops below 300C. The heater turns off when the temperature
rises to 600C. The heater will also turn off when the water in the tank drops below the
minimum level.
What is the minimum number of test cases required to cover all valid equivalence
partitions for calculating the bonus?
A. 1
B. 2
C. 3
D. 4
46. A speed control and reporting system have the following characteristics:
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?
47. You are testing an e-commerce system that sells cooking supplies such as spices, flour,
and other items in bulk. The units in which the items are sold are either grams (for spices
and other expensive items) or kilograms (for flour and other inexpensive items).
Regardless of the units, the smallest valid order amount is 0.5 units and the largest valid
order amount is 25.0 units. The precision of the unit’s field is 0.1 units.
10
TTTE3503
Which of the following is a set of input values that cover the equivalence partitions for
this field?
48. You are testing a machine that scores exam papers and assigns grades. Based on the score
achieved, the grades are as follows: 1-49 = F, 50-59 = D-, 60-69 = D, 70-79 = C, 80-89
= B, 90-100=A. If you apply two-value boundary value analysis, how many test cases
will you need to achieve minimum test coverage?
A. 8
B. 10
C. 12
D. 14
49. You are testing an e-commerce system for purchasing books online. An excerpt of the
requirements specification states as follows:
“The customer shall be able to order from 1 to 99 copies of any book which is in stock
and for which sufficient copies are in stock to fulfil the quantity ordered”
Other portions of the requirements specification deal with handling invalid order
amounts, including orders which exceed the stock available.
Which of the following is a well-written test case for the requirements specification
excerpt given?
A. Order 0 books
B. Order 100 books; expect an error message
C. Order 1 book which is in stock; expect order acceptance
D. Order 1 book which is in stock
50. You are testing a thermostat for a heating/air conditioning system. You have been given
the following requirements:
Which of the following is the minimum set of test temperature values to achieve 100%
two-value boundary value analysis coverage?
11
TTTE3503
A. 70, 75
B. 65, 72, 80
C. 69, 70, 75, 76
D. 70, 71, 74, 75, 76
51. You have been given the following requirements: A user must log in to the system with
a valid username and password. If they fail to enter the correct combination three times,
they will receive an error and will have to wait 10 minutes before trying again. The test
terminates when the user successfully logs in. How many test cases are needed to provide
100% state transition coverage?
A. 1
B. 2
C. 4
D. 5
52. You are testing an e-commerce transaction that has the following states and transitions:
A. 4
B. 6
C. 8
D. 16
i. We use explicit knowledge of the internal workings of the item being tested to
select the test data.
ii. Uses specific knowledge of programming code to examine outputs and assumes
that the tester knows the path of logic in a unit or a program.
iii. Checking for the performance of the application
iv. Also checks for functionality.
12
TTTE3503
Assume that you have a test harness that will allow you to input test values to the interest
function above and check the values it returns, rounded to the nearest cent. Which of the
following test cases achieves 100% statement coverage with the minimum number of
tests? (The first two numbers are the input and the third number of each set is the output).
55. What are the minimum tests required for Statement Coverage and Branch Coverage for
the following code?
Read A
Read B
If A+B > 100 then
Print "the total is more than 100"
End if
If A > 50 then
Print “A is more than 50"
End if
56. One of the test goals for your project is to have 100% decision coverage. The following
three tests have been executed for the control flow graph below.
13
TTTE3503
B C
E F
Which of the following statements related to the decision coverage goal is TRUE?
57. You are testing a banking subsystem that provides overdraft protection for customers
who have this feature for their checking accounts. Overdraft protection allows the
customer to temporarily overdraft their account balance, within some predefined credit
limit, without having checks returned unpaid. A portion of the decision table describing
that feature is shown below.
Conditions
Actions
14
TTTE3503
How many tests would you design to cover the decision table?
A. 3
B. 2
C. 5
D. 15
58. You are testing an e-commerce system. To pay for a purchase, the system accepts four
different types of credit cards, each of which has its own rules for valid and invalid card
numbers. A portion of the decision table for handling orders reads as follows:
Conditions
Actions
Notice that the combination of Invalid card numbers and Purchase approved conditions cannot
occur. Assume that you want to test in a way that fully covers combinations of the equivalence
partitions for the card types and the rules shown in this portion of the decision table. How many
tests do you need?
A. 3
B. 8
C. 9
D. 12
A. Test inputs
B. Expected output
C. Procedure steps
D. Test conditions
15
TTTE3503
61. In which of the following situations must you rely more heavily on experienced-based
techniques than specification-based techniques?
A. You are given requirements and design specifications and adequate time to prepare
B. You do not have any written documentation on how the product should work
C. You are leading a team of people new to the business domain and technology of the
project
D. You have been told to prevent defects through up-front test planning, analysis and
design
63. You have been appointed to lead a test team for an upcoming project. You are currently
assembling the test team for the component level of testing. Of the following people, who
would be best qualified to work as testers at this level?
A. Business analysts
B. Developers
C. Expert users
D. Operators
16
TTTE3503
66. Which of the following statements are true about the Equivalence Partitioning test
technique?
I. Equivalence Partitioning testing divides possible inputs into classes where all
elements are expected to cause the same behavior.
II. Equivalence Partitioning testing uses both valid and invalid partitions.
III. Equivalence Partitioning testing must include at least two values from every
equivalence partition.
IV. Equivalence Partitioning testing can be used only for testing equivalence partition
inputs from a Graphical User Interface.
68. You are testing a banking application that allows a customer to withdraw 20, 100, or 500
dollars in a single transaction. The values are chosen from a drop-down list and no other
values may be entered. How many equivalence partitions need to be tested to achieve
100% equivalence partition coverage?
A. 7
B. 2
C. 3
D. 4
69. Which of the following statements is correct about test types and test levels?
A. Functional and non-functional testing can be performed at system and acceptance test
levels, while white-box testing is restricted to component and integration testing
B. Functional testing can be performed at any test level, while white-box testing is
restricted to component testing
C. It is possible to perform functional, non-functional and white-box testing at any test
level
D. Functional and non-functional testing can be performed at any test level, while white-
box testing is restricted to component and integration testing
17
TTTE3503
70. Which of the following statements is correct about the use of checklists in a formal
review?
A. As part of the review planning, the reviewers create the checklists needed for the
review
B. As part of the issue communication, the reviewers fill in the checklists provided for the
review
C. As part of the review meeting, the reviewers create defect reports based on the
checklists provided for the review
D. As part of the review initiation, the reviewers receive the checklists needed for the
review
71. Which of the following correctly matches the tool and testing type?
I. Loadrunneer
II. JUNIT
III. Eclipse
IV. Selenium
72. Which of the following correctly matches the roles and responsibilities in a formal
review?
A. Test design
B. Test implementation
C. Test execution
D. Test completion
18
TTTE3503
Which of the following best matches the activities with the tasks?
74. The reviews being used in your organization have the following attributes:
A. Informal Review
B. Walkthrough
C. Technical Review
D. Inspection
75. 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 behaviours
performed by the system under test in collaboration with actors
B. Test cases are derived by identifying the components included in the use case and
creating integration tests that exercise the interactions of these components
C. Test cases are generated by analysing the interactions of the actors with the system to
ensure the user interfaces are easy to use
D. Test cases are derived to exercise each of the decision points in the business process
flows of the use case, to achieve 100% decision coverage of these flows
76. Which of the following best matches the descriptions with the different categories of test
techniques?
19
TTTE3503
A. Measuring the system behavior for increasing system loads (e.g., the number of users
that work simultaneously, number of transactions)
B. Measuring the processing speed and response time for particular use cases, usually
dependent on increasing load
C. Observation of the system behavior dependent on the amount of data (e.g., processing of
very large files)
D. Observation of the system behavior when the system is overloaded
I. Load testing
II. Usability testing
III. Compatibility testing
IV. Control Flow testing
V. State transition testing
79. You are working as a test manager on a large project. You need a tool that will support
traceability of tests, test results, and bugs to the test basis. What kind of tool do you need?
20
TTTE3503
80. Consider the following state transition diagram for a credit card only, unattended gasoline
pump.
Assume that you want to develop the minimum number of tests to cover each transition
in the state transition diagram. Assume further that each test must start and end at the
beginning state “Waiting for customer”. How many tests do you need?
A. 4
B. 7
C. 1
D. Infinite
ANSWER:
1. A
2. A
3. C
4. A
5. C
6. B
7. B
8. A
9. A
10. B
11. D
12. C
13. D
14. C
15. C
16. A
17. D
21
TTTE3503
18. C
19. C
20. B
21. A
22. B
23. A
24. D
25. C
26. C
27. C
28. B
29. A
30. C
31. A
32. A
33. D
34. A
35. D
36. C
37. D
38. B
39. B
40. A
41. B
42. D
43. C
44. B
45. C
46. D
47. A
48. D
49. C
50. C
51. B
52. C
53. A
54. A
55. C
56. A
57. A
58. D
59. D
60. C
61. B
62. D
63. B
64. C
65. D
66. D
67. D
22
TTTE3503
68. D
69. C
70. D
71. A
72. A
73. A
74. B
75. A
76. A
77. D
78. A
79. B
80. A
23