You are on page 1of 6

12/3/2019 exam4.

html

01. Which of the following are conclusions you could draw from the principles? A. Safety critical systems
are tested exhaustively B. The testing coverage required in one organization may not be appropriate in
another organizations C. Risk assessment is required to understand how much testing is enough for each
system D. Safety critical systems are likely to need more coverage than non-safety critical system E. Web
sites cannot be tested because of the vast number of combinations of platform, browser, internet route and
navigation options

B, D and E are reasonable conclusions, the others are not


A, D and E are reasonable conclusions, the others are not
B, C and E are reasonable conclusions, the others are not
B, C and D are reasonable conclusions, the others are not

02. You are running a written test which other testers have run previously. In addition, this test has found
bugs previously, and those bugs have been confirmed to be fixed. The test manager has encouraged you to
vary the specific way in which you run the test, such as the order of certain actions, the use of mouse
versus hot-keys, and the particular input values, based on the way users will use in the system. Which of
the following is a testing principle that could explain the test manager’s directive?

Early testing
Pesticide paradox
Absence-of-errors fallacy
Random testing

03. Ms. Lan is a tester in software development company is performing a test. She notices an unusual
amount of network access during a period when she knows the application should not be accessing the
network. Even though the test does not specify comparing actual network access to an expect result, she
decides to investigate. This is an example of what?

A tester performing maintenance testing


A tester performing exhaustive testing
A tester’s curious mindset
A tester’s effective communication with development

04. Which is a correct explanation about non-functional testing?

Non-functional testing shall not be executed in component testing, because non-functional


testing is required to integrate whole functions
Non-functional testing is a testing which requires inspirations and experiences, and has
difficulty with numeric evaluation
Non-functional testing is a testing which measure and judge various quality attributes
Non-functional testing shall be executed based on ISO/IEC 9126

05. Which of standards define the software characteristic of testing example: reliability, Efficiency,
Maintainability

IEEE829
ISO/IEC 9126
ISO 27000
BS 7925_1

06. Acceptance testing may occur at more than just a single test level. With the exception of:

file:///C:/Users/Lane Than/Desktop/exam4.html 1/6


12/3/2019 exam4.html

Acceptance testing after a change has been released to the user community
A COTS software product may be acceptance tested when it is installed or integrated
Acceptance testing of the usability of a component may be done during component testing
Acceptance testing of a new functional enhancement may come before system testing

07. What is the Cyclomatic Complexity of the code below? public void ProcessPages() { while(nextPage
!=true) { if((lineCount<=linesPerPage) && (status != Status.Cancelled) && (morePages == true)) { //….
}}}

4
5
6
8

08. Which is a correct relation between test conditions and test cases ?...[K2]

Test conditions explain procedures to execute of test case.


Test cases are designed to fill test conditions.
Test conditions are designed to fill certain test cases.
Test conditions are equivalent to certain test cases.

09. Which is correct combination to achieve 100% branch coverage following code? [K3] Public void
foo(int x, int y) { If (x!0) { Y = y/x; If (y>0) { Y = y – 1; } } }

(x=1, y=1), (x=0, y=0),


(x=1, y=1), (x=1, y=-1), (x=1, y=0)
(x=1, y=1), (x=0, y=0), (x=1, y=0)
(x=1, y=1)

10. In below specification, How many different valid combinations of inputs exist for computing the
price? [K4] [Specification] Vietnam Railway company runs a train from HCM City to Hanoi City. This
train has four different kinds of accommodation with different ticket prices: “Hard seat”, “Soft seat”,
“Hard sleeper”, “Soft sleeper”. For “hard sleeper”, there are different price for lower and upper berth. For
“Soft sleeper”, there is a different price for lower, middle and upper berth. For sleeping accommodation,
different for compartments with own bathroom and air condition. High-speed trains exist, but have only
hard and soft seat, and they have another price than “Normal” trains.

18
24
36
48

11. Which of following is NOT true about Condition Determination Testing and Coverage?... [K3]

100% decision condition coverage implies 100% condition determination coverage


A white box test design technique in which test cases are independently affect a decision
outcome that have been exercised by a test case suite.
The percentage of all signle condition outcomes that independently affect a decision outcome
that heve been exxercised by a test case suite
The possible combinations of true/false conditions that can affect decisions are identified.

12. Which of following is NOT true about multiple condition coverage? … [K3]

file:///C:/Users/Lane Than/Desktop/exam4.html 2/6


12/3/2019 exam4.html

100% multiple condition coverage implies 100% determination coverage


In this coverage, all possible combinations of true/false conditions are identified
White box test design technique
The percentage of combinations of all multi condition outcomes within one statement that have
been exercised by a test suite

13. How many rows will this table have?... [K3]

2
4
6
8

14. Dynamic and _____________ approaches, such as exploratory testing where testing is more reactive
to events than pre-planned, and where execition and evaluation are concurrent tasks? [K3]

Exploratory
Regression-averse
Analytical
Heuristic

15. Which is a correct explanation about product risk?... [K1]

Due to shortage of budgets, tessting members cannot be assigned to a tessting team as planned
Due to delay of development phase, period of test phase get to be shortened
Due to delay of development phase, period of test phase get to be shortened
Delivery of software which may include some easy bugs

16. When conducting reviews, psychological sensitivity is required. Which mistakes often occurs when
conducting reviews and may lead to interpersonal problems within harms? [K2]

Testers and reviewers expect that defects in the software product are already found and fixed by
the developers.
file:///C:/Users/Lane Than/Desktop/exam4.html 3/6
12/3/2019 exam4.html

Due to time constraints, testers and reviewers do not believe they can afford enough time to find
failures.
Testers and reviewers communicate defects as criticism against humans instead of against the
software product.
Testers and reviewers are not sufficiently trained to accurately identify failure and faults in the
item under review.

17. An estimate of resources should be made so that an organization can create a schedule for testing.
Which of the following approaches can be used for creating an estimate? I. A skills-based approach, in
which the estimate is based on all the testers’ skills. II. An expert-based approach, in which the owner or
other expert creates the estimate. III. E metrics-based approach, in which the estimate is based on previous
testing effort. IV. A bottom-up approach, in which each tester estimates their work and all estimates are
integrated.

II, III, and IV


I, III, and IV
I and IV
II and III

18. Which of the following answers reflect characteristics of test management tools? [K2] A. Logging of
test results and generation of progress reports B. Improve the efficiency of testing activities by automating
repetitive tasks. C. Independent version control or interface with an external configuration management
tool D. Assignment of actions to people (e.g. fix or confirmation test)

B, C & D
A, B & D
A&C
B&D

19. Which is a wrong explanation about static analysis tools? [K1]

Static analysis tools measure a source codes coverage and an effectiveness of static testing.
Static analysis tools measure level of accordance with coding rules.
Static analysis tools find defects of certain patterns of source codes.
Static analysis tools measure a complexity of source codes.

20. lT.Company ABC is going to provide their employees with a bonus which will be based on the
employee's length of service in the company. The bonus calculation will be zero if they have been with the
company for less than two years, 10% of their salary for more than two but less than five years, and 25%
for five to ten years, 35% for ten years or more. The interface will not allow a negative value to be input,
but it will allow a zero to be input. How many equivalence partitions are needed to test the calculation of
the bonus?...[K3]

Two equivalence partitions.


Three equivalence partitions
Four equivalence partitions
Five equivalence partitions

21. Which of the following statements about functional testing is TRUE?...tK21

Control flow models and menu structure models are used primarily in functional testing.
Functional testing is primarily concerned with "what" a system does rather than "how" it does it.

file:///C:/Users/Lane Than/Desktop/exam4.html 4/6


12/3/2019 exam4.html

Functional testing includes, but is not limited to, load testing, stress testing and reliability
testing.
Functional testing is often referred to as "structural" testing by testers and developers

22. Atest case has the following elements:...[K1]

A test environment description, and test instructions


A test plan, test inputs, and logging instructions
A set of inputs, execution preconditions, and expected outcomes developed
Execution instructions, and a function description to help decide if the outcome is correct

23. You are testing an e-commerce system that sells cooking supplier 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 expensive items). Regardless of the units, the smallest valid order amount is
0.5 units (e.g.,half a gram of cardamom pods,) and the largest valid order amount is 25.0 units (e.g., 25
kilograms of sugar). The precision of the units field is 0.1 units. Which of the following is a set of input
values that cover the equivalence partitions for this field?

12.3
0.4,0.5,25.0,25.1
10.0,28.0
0.2,0.9,29.5

24. The following rule must be followed when using the equivalence class partioning method:

The representatives of the valid equivalence classes of the actual parameters can be combined
The representatives of one invalid equivalence classes shall be combined with another
representative of another invalid equivalence class.
The representatives of the invalid equivalence classes of the actual parameters shall be
combined
The representatives of the invalid equivalence classes of the actual parameters must be
combined pair wise

25. Which of the following are included as part of static testing?

Inspection of work products and analysis of software artifacts using tools.


Inspections, execution of the software, and walkthroughs.
Inspections, walkthroughs, and comparison of expected to actual results
Walkthroughs, simulation, and defect tracking

26. Which of the following statements are true for Review?..[K1] A. Meeting is led by author B. Main
purpose is to review inexpensive way to get some benefit. C. Main purpose is to discuss problems and
check conformance to specifications and standard D. Formal process based on rules and checklists with
entry and exit criteria. T. Informal U. Walkthrough V. Technical Review W. Inspection

A and W, B and V, C and T, D and U


A and U, B and T, C andV, D and W
A and T, B andU, C and V, D and W
A andU, B and T, C and W, D and V

27. Which of the following is true of acceptance testing?

A goal of acceptance testing is to stress-test the system.


file:///C:/Users/Lane Than/Desktop/exam4.html 5/6
12/3/2019 exam4.html

Acceptance testing is performed by technical staff.


Acceptance testing is only used to address functionality issues within the system.
A goal of acceptance testing is to establish confidence in the system

28. Which of the following is NOT classified as a Non-Functional Testing?...[K1]

Performance Testing
Usability testing
Structural Testing
Reliability testing

29. Integration testing has this fundamental purpose:...

Testing the new system together with the systems existing before.
Testing components together in a hierarchical, incremental way like top-down or bottom-up.
Testing interfaces between components, interactions between different parts of the system, as
well as interfaces between systems.
Testing the client part together with the different other layers of the software (like for example,
application server code, database server code etc.)

30. In any software development life cycle (SDLC) model, which of the following are characteristics of
good testing? I. Providing complete test coverage of all branches of the system code II. Having a
corresponding testing activity for each development activity. III. Testers should be involved in reviewing
documents as soon as drafts are available IV. Each test level has test objectives specific to that level.

I and III
I and II
II, III and IV
I, III and IV

31. Which of the following are NOT a reasonable conclusions you could draw from the test principles?...
[K1]

The testing coverage required in one organization may not be appropriate in another
organization.
Risk assessment is required to understand how much testing is enough for each system.
Safety critical systems are tested exhaustively
Safety critical systems are likely to need more coverage than non-safety critical system.

file:///C:/Users/Lane Than/Desktop/exam4.html 6/6

You might also like