ISTQB Sample Questions Set - 19



1.    A program with high cyclometic complexity is almost likely to be:
A.    Large
B.    Small
C.    Difficult to write
D.   Difficult to test
2.    Which of the following is the odd one out?
A.    White box
B.    Glass box
C.    Structural
D.   Functional
3.    Which of the following techniques are black box techniques?
A.    State transition testing, code testing, agile testing
B.    Equivalence partitioning, state transition testing, decision table testing
C.    System testing, acceptance testing, equivalence partitioning
D.   System integration testing, system testing, decision table testing
4.    A number of critical bugs are fixed in software. All the bugs are in one module, related to reports. The test manager decides to do regression testing only on the reports module.
A.    The test manager should do only automated regression testing.
B.    The test manager is justified in her decision because no bug has been fixed in other modules
C.    The test manager should only do confirmation testing. There is no need to do regression testing
D.   Regression testing should be done on other modules as well because fixing one module may affect other modules
5.    Which of the following statements contains a valid goal for a functional test set?
A.    A goal is that no more failures will result from the remaining defects
B.    A goal is to find as many failures as possible so that the cause of the failures can be identified and fixed
C.    A goal is to eliminate as much as possible the causes of defects
D.   A goal is to fulfil all requirements for testing that are defined in the project plan.
6.    What makes an inspection different from other review types?
A.    It is led by a trained leader, uses formal entry and exit criteria and checklists
B.    It is led by the author of the document to be inspected
C.    It can only be used for reviewing design and code
D.   It is led by the author, uses checklists, and collects data for improvement
7.    Why does the boundary value analysis provide good test cases?
A.    Because it is an industry standard
B.    Because errors are frequently made during programming of the different cases near the ‘edges’ of the range of values
C.    Because only equivalence classes that are equal from a functional point of view are considered in the test cases
D.   Because the test object is tested under maximal load up to its performance limits
8.    If a program is tested and 100% branch coverage is achieved, which of the following coverage criteria is then guaranteed to be achieved?
A.    100% Equivalence class coverage
B.    100% Condition coverage and 100% Statement coverage
C.    100% Statement coverage
D.   100% Multiple condition coverage
9.    A defect management system shall keep track of the status of every defect registered and enforce the rules about changing these states. If your task is to test the status tracking, which method would be best?
A.    Logic-based testing
B.    Use-case-based testing
C.    State transition testing
D.   Systematic testing according to the V-model
10.                       In system testing...
A.    Both functional and non-functional requirements are to be tested
B.    Only functional requirements are tested; non-functional requirements are validated in a review
C.    Only non-functional requirements are tested; functional requirements are validated in a review
D.   Only requirements which are listed in the specification document are to be tested
11.                       Integration testing has following characteristics
I. It can be done in incremental manner
II. It is always done after system testing
III. It includes functional tests
IV. It includes non-functional tests
A.    I, II and III are correct
B.    I is correct
C.    I, III and IV are correct
12.                       Which of the following activities differentiate a walkthrough from a formal review?
A.    A walkthrough does not follow a defined process
B.    For a walkthrough individual preparation by the reviewers is optional
C.    A walkthrough requires meeting
D.   A walkthrough finds the causes of failures, while formal review finds the failures
13.                       Why is testing necessary?
A.    Because testing is good method to make there are not defects in the software
B.    Because verification and validation are not enough to get to know the quality of the software
C.    Because testing measures the quality of the software system and helps to increase the quality
D.   Because testing finds more defects than reviews and inspections.
E.    I, II and IV are correct
14.                       In foundation level syllabus you will find the main basic principles of testing. Which of the following sentences describes one of these basic principles?
A.    Complete testing of software is attainable if you have enough resources and test tools
B.    With automated testing you can make statements with more confidence about the quality of a product than with manual testing
C.    For a software system, it is not possible, under normal conditions, to test all input and output combinations.
D.   A goal of testing is to show that the software is defect free.
15.                       Which of the following is true
A.    Testing is the same as quality assurance
B.    Testing is a part of quality assurance
C.    Testing is not a part of quality assurance
D.   Testing is same as debugging
16.                       This part of a program is given:
WHILE (condition A) Do B
END WHILE
How many decisions should be tested in this code in order to achieve 100% decision coverage?
A.    2
B.    Indefinite
C.    1
D.   4
17.                       In a flight reservation system, the number of available seats in each plane model is an input. A plane may have any positive number of available seats, up to the given capacity of the plane. Using Boundary Value analysis, a list of available – seat values were generated. Which of the following lists is correct?
A.    1, 2, capacity -1, capacity, capacity plus 1
B.    0, 1, capacity, capacity plus 1
C.    0, 1, 2, capacity plus 1, a very large number
D.   0, 1, 10, 100, capacity, capacity plus one
18.                       Which of the following is a valid collection of equivalence classes for the following problem: An integer field shall contain values from and including 1 to and including 15
A.    Less than 1, 1 through 15, more than 15
B.    Negative numbers, 1 through 15, above 15
C.    Less than 1, 1 through 14, more than 15
D.   Less than 0, 1 through 14, 15 and more
19.                       Which of the following is correct about static analysis tools
A.    They help you find defects rather than failures
B. They are used by developers only
B.    They require compilation of code
C.    They are useful only for regulated industries
20.                       Which of the following is most often considered as components interface bug?
A.    For two components exchanging data, one component used metric units, the other one used British units
B.    The system is difficult to use due to a too complicated terminal input structure
C.    The messages for user input errors are misleading and not helpful for understanding the input error cause
D.   Under high load, the system does not provide enough open ports to connect to
1
2
3
4
5
6
7
8
9
10
D
D
B
D
B
A
B
B
C
A
11
12
13
14
15
16
17
18
19
20
C
B
C
C
B
A
B
A
A
A

No comments:

Post a Comment