ISTQB- All Chapters Exam7

40 Questions | Attempts: 407
Share

SettingsSettingsSettings
ISTQB- All Chapters Exam7 - Quiz

.


Questions and Answers
  • 1. 
    1.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 arrear 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

  • 2. 
    What is the USUAL sequence for performing the following activities during the Fundamental Test Process?  a. Analyze the test basis documents. b. Define the expected results. c. Create the test execution schedule. d. Establish the tracebility of the test conditions 
    • A. 

      D, a, c, b

    • B. 

      A, d, b, c

    • C. 

      A, b, c, d

    • D. 

      A, b, d, c

  • 3. 
    Which of these statements about functional testing is true?
    • A. 

      Structural testing is more important than functional testing as it addresses the code.

    • B. 

      Functional testing is useful throughout the life cycle and can be applied by business analysts, testers, developers and users.

    • C. 

      Functional testing is more powerful than static testing as you actually run the system and see what happens.

    • D. 

      Inspection is a form of functional testing.

  • 4. 
    Which test approaches or strategies are characterized by the descriptions below? S. Process-compliant approaches T. Heuristic approaches U. Consultative approaches V. Regression-averse approaches 1. Includes reuse of existing test material 2. Listens to suggestions from technology experts 3. Adheres to industry-specific standards 4. Runs test execution and evaluation concurrently
    • A. 

      S4, T3, U2, V1

    • B. 

      S1, T2, U3, V4

    • C. 

      S2, T3, U1, V4

    • D. 

      S3, T4, U2, V1

  • 5. 
    How is the scope of maintenance testing assessed?
    • A. 

      Scope is related to the risk, size of the changes and size of the system under test

    • B. 

      Scope is defined by the size and type of system being changed

    • C. 

      Scope is dependent on the amount of regression testing already performed

    • D. 

      Scope is related to the number of system users affected by the change

  • 6. 
    For the code fragment given below, which answer correctly represents minimum tests required for statement and branch coverage respectively? Discount rate=1; Fare = 1000; If ((person == 'senior citizen') and ('travel month = January')) Bonuspoints = 100+Bonuspoints If (class=='first') discountRate = 5; Fare = fare * discountRate;
    • A. 

      Statement Coverage = 1, Branch Coverage = 2

    • B. 

      Statement Coverage = 2, Branch Coverage = 2

    • C. 

      Statement Coverage = 1, Branch Coverage = 3

    • D. 

      Statement Coverage = 2, Branch Coverage = 4

  • 7. 
    Which of the following activities would NORMALLY be undertaken during test planning?  a. Scheduling test analysis and design.  b. Designing Test Conditions.  c. Monitoring test progress.  d. Identifying the objectives of testing.  e. Evaluating test tools.  f. Selecting test metrics for monitoring and control. 
    • A. 

      B, c and d

    • B. 

      A, d and f

    • C. 

      A, d and e

    • D. 

      B, c and f

  • 8. 
    What should be taken into account to determine when to stop testing? I. Technical risk  II. Business risk III Project constraints  IV Product documentation   
    • A. 

      I and II are true. III and N are false

    • B. 

      III is true, I, II, and IV are false

    • C. 

      I, II, and IV are true; III is false

    • D. 

      I, II, and III are true, IV is false.

  • 9. 
    One of the differences between the Modified Condition Decision Coverage and the Condition Coverage is:
    • A. 

      The Condition Coverage ensures all paths through a module are executed whereas the Modified Condition Decision Coverage ensures each path in a decision can independently affect the outcome.

    • B. 

      The Modified Condition Decision Coverage ensures all alternative paths are executed whereas the Condition Coverage ensure all main paths are executed.

    • C. 

      The Condition Coverage ensures each condition takes all possible outcomes at lease once whereas the Modified Condition Decision Coverage requires both maximum and minimum values within each field.

    • D. 

      The Modified Condition Decision Coverage relies on the tester’s skill and past experience whereas the Condition Coverage relies on the way in which the system moves from one condition to another.

  • 10. 
    Which testing technique do you prefer for the following situations? 1. Severe time pressure 2. Inadequate specification  
    • A. 

      Decision testing

    • B. 

      Error guessing.

    • C. 

      Statement testing

    • D. 

      Exploratory testing

  • 11. 
    Which of the following statements describe why exploratory testing is a useful test design technique?     a. It can help derive test cases based on the internal structure of systems.     b. It is useful when there are limited specification documents available.     c. It is useful when there testing is constrained due to time pressures.     d. It is a cheaper alternative to more formal test design techniques.   
    • A. 

       b and c

    • B. 

      A and c

    • C. 

      B and d

    • D. 

      C and d

  • 12. 
    Which of the following could be a reason for a failure  1) Testing fault  2) Software fault  3) Design fault  4) Environment Fault  5) Documentation Fault 
    • A. 

      2 is a valid reason; 1,3,4 & 5 are not

    • B. 

      1,2,3,4 are valid reasons; 5 is not

    • C. 

      1,2,3 are valid reasons; 4 & 5 are not

    • D. 

      All of them are valid reasons for failure.

  • 13. 
    Which of the following statements correctly describes the benefit of fault attacks?
    • A. 

      They are more effective at finding faults than formal test design techniques

    • B. 

      They are useful when there is limited experience in the test team

    • C. 

      They can evaluate the reliability of a test object by attempting to force specific failures to occur

    • D. 

      They are less structured than other experience-based techniques

  • 14. 
    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.

  • 15. 
    Which of the following is a KEY task of a tester?
    • A. 

      Reviewing tests developed by others

    • B. 

      Writing a test strategy for the project

    • C. 

      Deciding what should be automated

    • D. 

      Writing test summary reports

  • 16. 
    The following code segment contains a potential 'divide by 0' error. J=50 K=1 while (J>=10) and (N<=10) loop M [K] = J/N K = K + 1 N = N - 1 end loop Which of the following is the most effective way of detecting this error?
    • A. 

      Boundary testing

    • B. 

      Condition testing

    • C. 

      Compilation of the source code

    • D. 

      Source code inspection

  • 17. 
    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

  • 18. 
    The purpose of exit criteria is 
    • A. 

      Define when to stop testing

    • B. 

      End of test level

    • C. 

      When a set of tests has achieved a specific pre-condition

    • D. 

      All of the above

  • 19. 
    Reviewing the test Basis is a part of which phase
    • A. 

      Test Analysis and Design

    • B. 

      Test Implementation and execution

    • C. 

      Test Closure Activities

    • D. 

      Evaluating exit criteria and reporting

  • 20. 
    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

  • 21. 
    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

  • 22. 
    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 fulfill all requirements for testing that are defined in the project plan.

  • 23. 
    Test Implementation and execution has which of the following major tasks?  i. Developing and prioritizing test cases, creating test data, writing test procedures      and optionally preparing the test harnesses and writing automated test scripts.  ii. Creating the test suite from the test cases for efficient test execution.  iii. Verifying that the test environment has been set up correctly.  iv. Determining the exit criteria.
    • A. 

      I,ii,iii are true and iv is false

    • B. 

      I,iv are true and ii is false

    • C. 

      I,ii are true and iii,iv are false

    • D. 

      Ii,iii,iv are true and i is false

  • 24. 
    Equivalence partitioning consists of various activities:
    • A. 

      Ensure that test cases test each input and output equivalence class at least once

    • B. 

      Identify all inputs and all outputs

    • C. 

      Identify equivalence classes for each input

    • D. 

      All of the above

  • 25. 
    If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage? 1. If x=3 then 2. Display_messageX; 3. If y=2 then 4. Display_messageY; 5. Else 6. Display_messageZ; 7. Else 8. Display_messageZ;
    • A. 

      1

    • B. 

      2

    • C. 

      3

    • D. 

      4

Back to Top Back to top
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.