ISTQB Sample Questions Set - 34



1.    What is the main difference between a walkthrough and an inspection?
A.    An inspection is led by the authors, whilst a walkthrough is led by a trained moderator.
B.    An inspection has a trained leader, whilst a walkthrough has no leader.
C.    Authors are not present during inspections, whilst they are during walkthroughs.
D.   A walkthrough is led by the author, whilst an inspection is led by a trained moderator.
2.    Which of the following characteristics and types of review processes belong together?
1)     Led by the author
2)     Undocumented
3)     No management participation
4)     Led by a trained moderator or leader
5)     Uses entry and exit criteria
s.      Inspection
t.       Technical review
u.    Informal review
v.      Walkthrough
A.    s = 4, t = 3, u = 2 and 5, v = 1
B.    s = 4 and 5, t = 3, u = 2, v = 1
C.    s = 1 and 5, t = 3, u = 2, v = 4
D.   s = 5, t = 4, u = 3, v = 1 and 2
3.    What statement about static analysis is true?
A.    With static analysis, defects can be found that are difficult to find with dynamic testing.
B.    Compiling is not a form of static analysis.
C.    When properly performed, static analysis makes functional testing redundant.
D.   Static analysis finds all faults.
4.    Which of the following statements about early test design are true and which are false?
1)     Defects found during early test design are more expensive to fix.
2)     Early test design can find defects.
3)     Early test design can cause changes to the requirements.
4)     Early test design takes more effort.
A.    1 and 3 are true. 2 and 4 are false.
B.    2 is true. 1, 3 and 4 are false.
C.    2 and 3 are true. 1 and 4 are false.
D.   2, 3 and 4 are true. 1 is false.
5.    Static code analysis typically identifies all but one of the following problems. Which is it?
A.    Unreachable code
B.    Undeclared variables
C.    Faults in the requirements
D.   Too few comments
6.     In which document described in IEEE 829 would you find instructions for the steps to be taken for a test including set-up, logging, environment and measurement?
A.    Test plan
B.    Test design specification
C.    Test case specification
D.   Test procedure specification
7.    With a highly experienced tester with a good business background, which approach to defining test procedures would be effective and most efficient for a project under severe time pressure?
A.    A high-level outline of the test conditions and general steps to take.
B.    Every step in the test spelled out in detail.
C.    A high-level outline of the test conditions with the steps to take discussed in detail with another experienced tester.
D.   Detailed documentation of all test cases and careful records of each step taken in the testing.
8.    Put the test cases that implement the following test conditions into the best order for the test execution schedule, for a test that is checking modifications of customers on a database.
1)     Print modified customer record.
2)     Change customer address: house number and street name.
3)     Capture and print the on-screen error message.
4)     Change customer address: postal code.
5)     Confirm existing customer is on the database by opening that record.
6)     Close the customer record and close the database.
7)     Try to add a new customer with no details at all.
A.    5, 4, 2, 1, 3, 7, 6
B.    4, 2, 5,1, 6, 7, 3
C.    5, 4, 2, 1, 7, 3, 6
D.   5,1, 2, 3, 4, 7, 6
9.    Why are both specification-based and structure-based testing techniques useful?
A.    They find different types of defect.
B.    Using more techniques is always better.
C.    Both find the same types of defect.
D.   Because specifications tend to be unstructured.
10.                       What is a key characteristic of structure-based testing techniques?
A.    They are mainly used to assess the structure of a specification.
B.    They are used both to measure coverage and to design tests to increase coverage.
C.    They are based on the skills and experience of the tester.
D.   They use a formal or informal model of the software or component.
11.                       Which of the following would be an example of decision-table testing for a financial application applied at the system-test level?
A.    A table containing rules for combinations of inputs to two fields on a screen.
B.    A table containing rules for interfaces between components.
C.    A table containing rules for mortgage applications.
D.   A table containing rules for chess.
12.                       Which of the following could be a coverage measure for state transition testing?
V.    V. All states have been reached.
W.  The response time for each transaction is adequate.
X.    Every transition has been exercised.
Y.     All boundaries have been exercised.
Z.     Specific sequences of transitions have been exercised.
A.    X, Y and Z
B.    V, X, Y and Z
C.    W,X and Y
D.   V, X and Z
13.                       Postal rates for 'light letters' are 25p up to 10g, 35p up to 50g plus an extra 10p for each additional 25g up to 100g. Which test inputs (in grams) would be selected using equivalence partitioning?
A.    8, 42, 82, 102
B.    4, 15, 65, 92, 159
C.    10, 50, 75, 100
D.   5, 20, 40, 60, 80
14.                       Which of the following could be used to assess the coverage achieved for specification based (black-box) test techniques?
V.    Decision outcomes exercised
W.  Partitions exercised
X.    Boundaries exercised
Y.     State transitions exercised
Z.     Statements exercised
A.    Y, W, Y, or Z
B.    W, X or Y
C.    V, X or Z
D.   W, X, Y or Z
15.                       Which of the following would structure-based test design techniques be most likely to be applied to?
1)     Boundaries between mortgage interest rate bands.
2)     An invalid transition between two different arrears statuses.
3)     The business process flow for mortgage approval.
4)     Control flow of the program to calculate repayments.
A.    2, 3 and 4
B.    2 and 4
C.    3 and 4
D.   1,2 and 3
16.                       Use case testing is useful for which of the following?
P.     Designing acceptance tests with users or customers.
Q.   Making sure that the mainstream business processes are tested.
R.    Finding defects in the interaction between components.
S.    Identifying the maximum and minimum values for every input field.
T.     Identifying the percentage of statements exercised by a sets of tests.
A.    P, Q and R
B.    Q, S and T
C.    P,Q and S
D.   R, S and T
17.                       Which of the following statements about the relationship between statement coverage and decision coverage is correct?
A.    100% decision coverage is achieved if statement coverage is greater than 90%.
B.    100% statement coverage is achieved if decision coverage is greater than 90%.
C.    100% decision coverage always means 100% statement coverage.
D.   100% statement coverage always means 100% decision coverage.
18.                       If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you hold a gold card in the airline's frequent flier program. If you don't hold a gold card, there is a possibility that you will get 'bumped' off the flight if it is full and you check in late. This is shown in following Figure. Note that each box (i.e. statement) has been numbered.

Three tests have been run:
Test 1: Gold card holder who gets upgraded to business class
Test 2: Non-gold card holder who stays in economy
Test 3: A person who is bumped from the flight
What is the statement coverage of these three tests?
A.    60%
B.    70%
C.    80%
D.   90%
19.                       Why are error guessing and exploratory testing good to do?
A.    They can find defects missed by specification-based and structure-based techniques.
B.    They don't require any training to be as effective as formal techniques.
C.    They can be used most effectively when there are good specifications.
D.   They will ensure that all of the code or system is tested.
20.                       How do experience-based techniques differ from specification-based techniques?
A.    They depend on the tester's understanding of the way the system is structured rather than on a documented record of what the system should do.
B.    They depend on having older testers rather than younger testers.
C.    They depend on a documented record of what the system should do rather than on an individual's personal view.
D.   They depend on an individual's personal view rather than on a documented record of what the system should do.
1
2
3
4
5
6
7
8
9
10
D
B
A
C
C
D
A
C
A
B
11
12
13
14
15
16
17
18
19
20
C
D
B
B
C
A
C
C
A
D

No comments:

Post a Comment