ISTQB Sample Questions Set - 26



1.    Which of the following statements is MOST OFTEN true?
A.    Source-code inspections are often used in component testing.
B.    Component testing searches for defects in programs that are separately testable.
C.    Component testing is an important part of user acceptance testing.
D.   Component testing aims to expose problems in the interactions between software and hardware components.
2.    Which of the following is an objective of a pilot project for the introduction of a testing tool?
A.    Evaluate testers’ competence to use the tool.
B.    Complete the testing of a key project.
C.    Assess whether the benefits will be achieved at reasonable cost.
D.   Discover what the requirements for the tool are.
3.    Considering the following pseudo-code, calculate the MINIMUM number of test cases for statement coverage, and the MINIMUM number of test cases for decision coverage respectively.
READ A
READ B
READ C
IF C>A THEN
IF C>B THEN
PRINT "C must be smaller than at least one number"
ELSE
PRINT "Proceed to next stage"
ENDIF
ELSE
PRINT "B can be smaller than C"
ENDIF
A.    3, 3.
B.    2, 3.
C.    2, 4.
D.   3, 2.
4.    Which of the following is determined by the level of product risk identified?
A.    Extent of testing.
B.    Scope for the use of test automation.
C.    Size of the test team.
D.   Requirement for regression testing.
5.    When should testing be stopped?
A.    When all the planned tests have been run
B.    When time has run out
C.    When all faults have been fixed correctly
D.   It depends on the risks for the system being tested
6.    Which of following statements is true? Select ALL correct options Regression testing should be performed:
i Once a month
ii When a defect has been fixed
iii When the test environment has changed
iv When the software has changed
A.    ii and iv.
B.    ii, iii and iv.
C.    i, ii and iii.
D.   i and iii.
7.    The following statements are used to describe the basis for creating test cases using either black or white box techniques:
i Information about how the software is constructed.
ii Models of the system, software or components.
iii Analysis of the test basis documentation.
iv Analysis of the internal structure of the components.
Which combination of the statements describes the basis for black box techniques?
A.    ii and iii.
B.    ii and iv.
C.    i and iv.
D.   i and iii.
8.    Which of the following requirements would be tested by a functional system test?
A.    The system must be able to perform its functions for an average of 23 hours 50 mins per day.
B.    The system must perform adequately for up to 30 users.
C.    The system must allow a user to amend the address of a customer.
D.   The system must allow 12,000 new customers per year.
9.    Why are static testing and dynamic testing described as complementary?
A.    Because they share the aim of identifying defects and find the same types of defect.
B.    Because they have different aims and differ in the types of defect they find.
C.    Because they have different aims but find the same types of defect.
D.   Because they share the aim of identifying defects but differ in the types of defect they find.
10.                       Which of the following are valid objectives for incident reports?
i. Provide developers and other parties with feedback about the problem to enable identification, isolation and correction as necessary.
ii. Provide ideas for test process improvement.
iii. Provide a vehicle for assessing tester competence.
iv. Provide testers with a means of tracking the quality of the system under test.
A.    i, ii, iii.
B.    i, ii, iv.
C.    i, iii, iv.
D.   ii, iii, iv.
11.                       What is the objective of debugging?
i To localise a defect.
ii To fix a defect.
iii To show value.
iv To increase the range of testing.
A.    i, iii.
B.    ii, iii, iv.
C.    ii, iv.
D.   i, ii.
12.                       Consider the following techniques. Which are static and which are dynamic techniques?
i. Equivalence Partitioning.
ii. Use Case Testing.
iii.Data Flow Analysis.
iv.Exploratory Testing.
v. Decision Testing.
vi Inspections.
A.    i-iv are static, v-vi are dynamic.
B.    iii and vi are static, i, ii, iv and v are dynamic.
C.    ii, iii and vi are static, i, iv and v are dynamic.
D.   vi is static, i-v are dynamic.
13.                       Given the following code, which statement is true about the minimum number of test cases required for full statement and branch coverage?
Read p
Read q
IF p+q > 100 THEN
Print "Large"
ENDIF
IF p > 50 THEN
Print "p Large"
ENDIF
A.    1 test for statement coverage, 3 for branch coverage
B.    1 test for statement coverage, 2 for branch coverage
C.    1 test for statement coverage, 1 for branch coverage
D.   2 tests for statement coverage, 2 for branch coverage
14.                       Which of the following is a benefit of independent testing?
A.    Code cannot be released into production until independent testing is complete.
B.    Testing is isolated from development.
C.    Developers do not have to take as much responsibility for quality.
D.   Independent testers see other and different defects, and are unbiased.
15.                       Which activity in the fundamental test process includes evaluation of the testability of the requirements and system?
A.    Test analysis and design.
B.    Test planning and control.
C.    Test closure.
D.   Test implementation and execution.
16.                       In which of the following orders would the phases of a formal review usually occur?
A.    Planning, preparation, kick off, meeting, rework, follow up.
B.    Kick off, planning, preparation, meeting, rework, follow up.
C.    Preparation, planning, kick off, meeting, rework, follow up.
D.   Planning, kick off, preparation, meeting, rework, follow up.
17.                       For testing, which of the options below best represents the main concerns of Configuration Management?
i. All items of testware are identified and version controlled;
ii. All items of testware are used in the final acceptance test;
iii. All items of testware are stored in a common repository;
iv. All items of testware are tracked for change;
v. All items of testware are assigned to a responsible owner;
vi. All items of testware are related to each other and to development items.
A.    i, iv, vi.
B.    ii, iii, v.
C.    i, iii, iv.
D.   iv, v, vi.
18.                       Which of the following defines the scope of maintenance testing?
A. The coverage of the current regression pack.
B. The size and risk of any change(s) to the system.
C. The time since the last change was made to the system.
D. Defects found at the last regression test run.
19.                       What is typically the MOST important reason to use risk to drive testing efforts?
A. Because testing everything is not feasible.
B. Because risk-based testing is the most efficient approach to finding bugs.
C. Because risk-based testing is the most effective way to show value.
D. Because software is inherently risky.
20.                       Which of the following are valid objectives for testing?
i.To find defects.
ii.To gain confidence in the level of quality.
iii.To identify the cause of defects.
iv.To prevent defects.
A. i,ii, and iii.
B. ii, iii and iv.
C. i, ii and iv.
D. i,iii and iv.
1
2
3
4
5
6
7
8
9
10
B
C
A
A
D
B
A
C
D
B
11
12
13
14
15
16
17
18
19
20
D
B
B
D
A
D
A
B
A
C

No comments:

Post a Comment