ISTQB 4

17 Questions | Attempts: 417
Share

SettingsSettingsSettings
ISTQB 4 - Quiz

Test Design Techniques


Questions and Answers
  • 1. 

    In which document described in IEEE 829 would you find instructions for the stpes to be taken for a test including set-up, logging, environment and measurement?

    • A.

      Test Plane

    • B.

      Test design specification

    • C.

      Test case specification

    • D.

      Test procedure specification

    Correct Answer
    D. Test procedure specification
  • 2. 

    With a highly experienced tester with a good busniess 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 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.

    Correct Answer
    A. A high-level outline of the test conditions and general steps to take.
  • 3. 

    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

    Correct Answer
    C. 5, 4, 2, 1, 7, 3, 6
  • 4. 

    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

    Correct Answer
    A. They find different types of defect.
  • 5. 

    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.

    Correct Answer
    B. They are used both to measure coverage and to design tests to increase coverage.
  • 6. 

    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.

    Correct Answer
    C. A table containing rules for mortgage applications.
  • 7. 

    Which of the following could be a coverage measure for state transition testing? 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

    Correct Answer
    D. V, X and Z
  • 8. 

    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

    Correct Answer
    B. 4, 15, 65, 92, 159
  • 9. 

    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

    Correct Answer
    B. W, X or Y
  • 10. 

    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

    Correct Answer
    C. 3 and 4
  • 11. 

    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

    Correct Answer
    A. P, Q and R
  • 12. 

    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.

    Correct Answer
    C. 100% decision coverage always means 100% statement coverage.
  • 13. 

    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%

    Correct Answer
    C. 80%
  • 14. 

    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.

    Correct Answer
    A. They can find defects missed by specification-based and structure-based techniques.
  • 15. 

    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.

    Correct Answer
    D. They depend on an individual's personal view rather than on a documented record of what the system should do.
  • 16. 

    When choosing which technique to use in a given situation, which factors should be taken into account? V. previous experience of types of defects found in this or similar systems W. the existing knowledge of the testers X. regulatory standards that apply Y. the type of test execution tool that will be used Z. the documentation available

    • A.

      V, W, Y and Z

    • B.

      U, V, W and Y

    • C.

      U, X and Y

    • D.

      V, W and Y

    Correct Answer
    B. U, V, W and Y
  • 17. 

    Given the state diagram in following Figure, which test case is the minimum series of valid transitions to cover every state?

    • A.

      SS - S1 - S2 - S4 - S1 - S3 - ES

    • B.

      SS - S1 - S2 - S3 - S4 - S3 - S4 - ES

    • C.

      SS - S1 - S2 - S4 - S1 - S3 - S4 - S1 - S3 - ES

    • D.

      SS - S1 - S4 - S2 - S1 - S3 – ES

    Correct Answer
    A. SS - S1 - S2 - S4 - S1 - S3 - ES

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Feb 23, 2012
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 23, 2012
    Quiz Created by
    Salbhar
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.