ISTQB Sample Questions Set - 2



1.    Given the following decision table: Which of the following test cases and expected results is VALID?

Rule 1
Rule 2
Rule 3
Rule 4
Conditions




Age
<21 yrs
21-29 yrs
30-50yrs
> 50yrs
Insurance
Class

A
A or B
B. C or D
C or D
Actions




Premium
£100
£90
£70
£70
Excess
£2,500
£2,500
£500
£1000
A.    23 year old in insurance class A Premium is 0 and excess is,500.
B.    51 year old in insurance class C Premium is 0 and excess is 00.
C.    31 year old in insurance class B Premium is 0 and excess is ,500.
D.   43 year old in insurance class C Premium is 0 and excess is ,000.
2.    When should configuration management procedures be implemented?
A.    During test planning.
B.    During test analysis.
C.    During test execution.
D.   When evaluating exit criteria
3.     Which of the following are characteristic of regression testing ?

i) Regression testing is run ONLY once
ii) Regression testing is used after fixes have been made
iii) Regression testing is often automated
iv) Regression tests need not be maintained

Options:
A.    ii, iv.
B.    ii, iii.
C.    i, iii, iv.
D.   iii.
4.     A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ordered. Which of the following groups contain three test inputs that would be generated using Boundary Value Analysis?

A. 5, 6, 20
B. 4, 5, 80
C. 4, 5, 99
D. 1, 20, 100

5.     Which of the following activities should be performed during the selection and implementation of a testing tool?

i) Investigate the organisation's test process.
ii) Conduct a proof of concept.
iii) Implement the selected tool on a project behind schedule to save time.
iv) Identify coaching and mentoring requirements for the use of the selected tool.

Options:
A.    i, ii, iii.
B.    ii, iii, iv.
C.    i, iii, iv.
D.   i, ii, iv.
6.     What is the MAIN benefit of designing tests early in the life cycle?
A.    It is cheaper than designing tests during the test phases.
B.    It helps prevent defects from being introduced into the code.
C.    Tests designed early are more effective than tests designed later.
D.   It saves time during the testing phases when testers are busy.
7.     Which of the following benefits are MOST likely to be achieved by using test tools?

i) Easy to access information about tests and testing.
ii) Reduced maintenance of testware.
iii) Easy and cheap to implement.
iv) Greater consistency of tests.

Options:
A.    ii and iv
B.    ii and iii
C.    i and iv
D.   i and iii
8.     What is the KEY difference between preventative and reactive approaches to testing?
A.    Preventative tests and reactive tests are designed as early as possible.
B.    Preventative tests are designed early; reactive tests are designed after the software has been produced.
C.    Preventative testing is always analytical; reactive testing is always heuristic.
D.   Preventative tests are designed after the software has been produced; reactive tests are designed early in response to review comments.
9.    What is the purpose of exit criteria?
A.    To define when a test level is complete.
B.    To determine when a test has completed.
C.    To identify when a software system should be retired.
D.   To determine whether a test has passed.
10.                        What determines the level of risk?
A.    The cost of dealing with an adverse event if it occurs.
B.    The probability that an adverse event will occur.
C.    The amount of testing planned before release of a system.
D.   The likelihood of an adverse event and the impact of the event.
11.                        With which of the following categories is a test comparator tool USUALLY associated?
A.    Tool support for performance and monitoring.
B.    Tool support for static testing.
C.    Tool support for test execution and logging.
D.   Tool support for the management of testing and tests.
12.                        Which activities form part of test planning?
i) Developing test cases.
ii) Defining the overall approach to testing.
iii) Assigning resources.
iv) Building the test environment
v) Writing test conditions.
A.    i, ii & iv are true, iii & v are false.
B.    ii & iii are true, i, iv & v are false.
C.    iv & v are true, i, ii & iii are false.
D.   i, ii & iii are true iv & v are false.
13.                        Match the following terms and statements.
1)     1.Decision Table Testing
2)     Decision Testing
3)     State Transition Testing
4)     Exploratory Testing
W.  Testing carried out w boxes to achieve specific test objectives, possibly to complement structured testing.
X.    A test technique used which may be used to verify different system re depending on current conditions or previous history.
Y.     A test technique which combines combinations of inputs that might not otherwise have been exercised during testing.
Z.     A form of control flow testing based on decision outcomes.

Options:

A.    1Y, 2Z, 3X, 4W.
B.    1X ,2W, 3Z, 4Y.
C.    1Z, 2X, 3W, 4Y.
D.   1Z, 2Y, 3X, 4W.
14.                       Which type of test design techniques does the following statement best describe a procedure to derive test cases based on the specification of a component?
                                                          A.      ack Box Techniques.
                                                          B.      White Box Techniques.
                                                          C.      Glass Box Techniques.
                                                         D.      Experience Based Techniques.
15.                       For which of the following would a static analysis tool be MOST useful?
A.    Supporting reviews.
B.    Validating models of the software.
C.    Testing code executed in a special test harness.
D.   Enforcement of coding standards.
16.                        Which of the following types of defects is use case testing MOST LIKELY to uncover?

i) Defects in the process flows during real-world use of the system.
ii) Defects in the interface parameters in integration testing.
iii) Integration defects caused by the interaction and interference of different components.
iv) Defects in the system as it transitions between one state and another.
A.    ii, iii.
B.    i, iii.
C.    iii, iv.
D.   i, ii
17.                       Which of the following is MOST important in the selection of a test approach?
A.    Availability of tools to support the proposed techniques.
B.    The budget allowed for training in proposed techniques.
C.    Available skills and experience in the proposed techniques.
D.   The willingness of the test team to learn new techniques.
18.                       Which of the following is a benefit of test independence?
A.    It does not require familiarity with the code.
B.    It is cheaper than using developers to test their own code.
C.    It avoids author bias in defining effective tests.
D.   Testers are better at finding defects than developers.
19.                        The above diagram represents the following paths through the code.

A. vwy
B. vwz
C. vxy
D. vxz
What is the MINIMUM combination of paths required to provide full statement coverage?
Exhibit:


A.    A
B.    ABD
C.    ABCD
D.   ACD
20.                       Which of the following is MOST characteristic of specification based (black-box) techniques?
A.    Test cases can be easily automated.
B.    Test cases are independent of each other.
C.    Test cases are derived systematically from models of the system .
D.   Test cases are derived systematically from the delivered code.
1
2
3
4
5
6
7
8
9
10
A
A
B
C
D
B
C
B
A
D
11
12
13
14
15
16
17
18
19
20
C
B
A
A
D
B
C
C
A
C

No comments:

Post a Comment