ISTQB Foundation Sample Question Paper No. 2

40 Questions | Total Attempts: 126

SettingsSettingsSettings
ISTQB Quizzes & Trivia

Quiz based on: http://istqbquestionbank. Blogspot. Ca/2012/01/istqb-foundation-sample-qu estion-paper_09. Html


Questions and Answers
  • 1. 
    When what is visible to end-users is a deviation from the specific or expected behavior, this is called:
    • A. 

      An error

    • B. 

      A fault

    • C. 

      A failure

    • D. 

      A defect

    • E. 

      A mistake

  • 2. 
    Regression testing should be performed:
    • A. 

      Every week

    • B. 

      After the software has changed

    • C. 

      As often as possible

    • D. 

      When the environment has changed

    • E. 

      When the project manager says

  • 3. 
    IEEE 829 test plan documentation standard contains all of the following except:
    • A. 

      Test items

    • B. 

      Test deliverables

    • C. 

      Test tasks

    • D. 

      Test environment

    • E. 

      Test specification

  • 4. 
    Testing should be stopped when:
    • A. 

      All the planned tests have been run

    • B. 

      Time has run out

    • C. 

      All faults have been fixed correctly

    • D. 

      All the planned tests have been run and all faults have been fixed correctly

    • E. 

      It depends on the risks for the system being tested

  • 5. 
    Order numbers on a stock control system can range between 10000 and 99999 inclusive. Which of the following inputs might be a result of designing tests for only valid equivalence classes and valid boundaries:
    • A. 

      1000, 5000, 99999

    • B. 

      9999, 50000, 100000

    • C. 

      10000, 50000, 99999

    • D. 

      10000, 99999

    • E. 

      9999, 10000, 50000, 99999, 10000

  • 6. 
    Consider the following statements about early test design:   i. early test design can prevent fault multiplication ii. faults found during early test design are more expensive to fix iii. early test design can find faults iv. early test design can cause changes to the requirements v. early test design takes more effort
    • A. 

      I, iii & iv are true. Ii & v are false

    • B. 

      Iii is true, I, ii, iv & v are false

    • C. 

      Iii & iv are true. i, ii & v are false

    • D. 

      I, iii, iv & v are true, ii us false

    • E. 

      I & iii are true, ii, iv & v are false

  • 7. 
    Non-functional system testing includes:
    • A. 

      Testing to see where the system does not function properly

    • B. 

      Testing quality attributes of the system including performance and usability

    • C. 

      Testing a system feature using only the software required for that action

    • D. 

      Testing a system feature using only the software required for that function

    • E. 

      Testing for functions that should not exist

  • 8. 
    Which of the following is NOT part of configuration management?
    • A. 

      Status accounting of configuration items

    • B. 

      Auditing conformance to ISO9001

    • C. 

      Identification of test versions

    • D. 

      Record of changes to documentation over time

    • E. 

      Controlled library access

  • 9. 
    Which of the following is the main purpose of the integration strategy for integration testing in the small?
    • A. 

      To ensure that all of the small modules are tested adequately

    • B. 

      To ensure that the system interfaces to other systems and networks

    • C. 

      To specify which modules to combine when and how many at once

    • D. 

      To ensure that the integration testing can be performed by a small team

    • E. 

      To specify how the software should be divided into modules

  • 10. 
    What is the purpose of test completion criteria in a test plan:
    • A. 

      To know when a specific test has finished its execution

    • B. 

      To ensure that the test case specification is complete

    • C. 

      To set the criteria used in generating test inputs

    • D. 

      To know when test planning is complete

    • E. 

      To plan when to stop testing

  • 11. 
    Consider the following statements:   i. an incident may be closed without being fixed ii. incidents may not be raised against documentation iii. the final stage of incident tracking is fixing iv. the incident record does not include information on test environments v. incidents should be raised when someone other than the author of the software performs the test
    • A. 

      Ii and v are true, I, iii and iv are false

    • B. 

      I and v are true, ii, iii and iv are false

    • C. 

      I, iv and v are true, ii and iii are false

    • D. 

      I and ii are true, iii, iv and v are false

    • E. 

      I is true, ii, iii, iv and v are false

  • 12. 
    Given the following code, which 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, 3 for branch coverage

    • E. 

      2 tests for statement coverage, 2 for branch coverage

  • 13. 
    Given the following:   Switch PC on Start “outlook” IF outlook appears THEN Send an email Close outlook
    • A. 

      1 test for statement coverage, 1 for branch coverage

    • B. 

      1 test for statement coverage, 2 for branch coverage

    • C. 

      1 test for statement coverage. 3 for branch coverage

    • D. 

      2 tests for statement coverage, 2 for branch coverage

    • E. 

      2 tests for statement coverage, 3 for branch coverage

  • 14. 
    14. Given the following code, which is true:   IF A > B THEN C = A – B ELSE C = A + B ENDIF Read D IF C = D Then Print “Error” ENDIF
    • A. 

      1 test for statement coverage, 3 for branch coverage

    • B. 

      2 tests for statement coverage, 2 for branch coverage

    • C. 

      2 tests for statement coverage. 3 for branch coverage

    • D. 

      3 tests for statement coverage, 3 for branch coverage

    • E. 

      3 tests for statement coverage, 2 for branch coverage

  • 15. 
    Consider the following:   Pick up and read the newspaper Look at what is on television If there is a program that you are interested in watching then switch the the television on and watch the program Otherwise Continue reading the newspaper If there is a crossword in the newspaper then try and complete the crossword
    • A. 

      SC = 1 and DC = 1

    • B. 

      SC = 1 and DC = 2

    • C. 

      SC = 1 and DC = 3

    • D. 

      SC = 2 and DC = 2

    • E. 

      SC = 2 and DC = 3

  • 16. 
    The place to start if you want a (new) test tool is:
    • A. 

      Attend a tool exhibition

    • B. 

      Invite a vendor to give a demo

    • C. 

      Analyse your needs and requirements

    • D. 

      Find out what your budget would be for the tool

    • E. 

      Search the internet

  • 17. 
    When a new testing tool is purchased, it should be used first by:
    • A. 

      A small team to establish the best way to use the tool

    • B. 

      Everyone who may eventually have some use for the tool

    • C. 

      The independent testing team

    • D. 

      The managers to see what projects it should be used in

    • E. 

      The vendor contractor to write the initial scripts

  • 18. 
    What can static analysis NOT find?
    • A. 

      The use of a variable before it has been defined

    • B. 

      Unreachable (“dead”) code

    • C. 

      Whether the value stored in a variable is correct

    • D. 

      The re-definition of a variable before it has been used

    • E. 

      Array bound violations

  • 19. 
    Which of the following is NOT a black box technique:
    • A. 

      Equivalence partitioning

    • B. 

      State transition testing

    • C. 

      LCSAJ

    • D. 

      Syntax testing

    • E. 

      Boundary value analysis

  • 20. 
    Beta testing is:
    • A. 

      Performed by customers at their own site

    • B. 

      Performed by customers at their software developer’s site

    • C. 

      Performed by an independent test team

    • D. 

      Useful to test bespoke software

    • E. 

      Performed as early as possible in the lifecycle

  • 21. 
    Given the following types of tool, which tools would typically be used by developers and which by an independent test team:   i. static analysis ii. performance testing iii. test management iv. dynamic analysis v. test running vi. test data preparation
    • A. 

      Developers would typically use i, iv and vi; test team ii, iii and v

    • B. 

      Developers would typically use i and iv; test team ii, iii, v and vi

    • C. 

      Developers would typically use i, ii, iii and iv; test team v and vi

    • D. 

      Developers would typically use ii, iv and vi; test team I, ii and v

    • E. 

      Developers would typically use i, iii, iv and v; test team ii and vi

  • 22. 
    The main focus of acceptance testing is:
    • A. 

      Finding faults in the system

    • B. 

      Ensuring that the system is acceptable to all users

    • C. 

      Testing the system with other systems

    • D. 

      Testing for a business perspective

    • E. 

      Testing by an independent test team

  • 23. 
    Which of the following statements about the component testing standard is false:
    • A. 

      Black box design techniques all have an associated measurement technique

    • B. 

      White box design techniques all have an associated measurement technique

    • C. 

      Cyclomatic complexity is not a test measurement technique

    • D. 

      Black box measurement techniques all have an associated test design technique

    • E. 

      White box measurement techniques all have an associated test design technique

  • 24. 
    Which of the following statements is NOT true:
    • A. 

      Inspection is the most formal review process

    • B. 

      Inspections should be led by a trained leader

    • C. 

      Managers can perform inspections on management documents

    • D. 

      Inspection is appropriate even when there are no written documents

    • E. 

      Inspection compares documents with predecessor (source) documents

  • 25. 
    A typical commercial test execution tool would be able to perform all of the following EXCEPT:
    • A. 

      Generating expected outputs

    • B. 

      Replaying inputs according to a programmed script

    • C. 

      Comparison of expected outcomes with actual outcomes

    • D. 

      Recording test inputs

    • E. 

      Reading test values from a data file

Back to Top Back to top