ISTQB Software Testing Quiz 3

6 Questions

Settings
ISTQB Quizzes & Trivia

ISTQB software testing questions.


Questions and Answers
  • 1. 
    An input field takes a year of birth between 1900 and 2004 inclusive.  The boundary values for testing this field are:
    • A. 

      0, 1900, 2004, 2005

    • B. 

      1900, 2004

    • C. 

      1899, 1900, 2004, 2005

    • D. 

      1899, 1900, 1901, 2003, 2004, 2005

  • 2. 
    To test a function during component (i.e. unit) testing, the programmer has to write a _________, which calls the function to be tested and passes it test data.
    • A. 

      Stub

    • B. 

      Driver

    • C. 

      Proxy

    • D. 

      Harness

  • 3. 
    A key reason why developers have difficulty testing their own work is:
    • A. 

      Lack of technical documentation

    • B. 

      Lack of test tools on the market for developers

    • C. 

      Lack of training

    • D. 

      Lack of objectivity

  • 4. 
    During the software development process, at what point can the test process start?
    • A. 

      When the code is complete.

    • B. 

      When the design is complete.

    • C. 

      When the software requirements have been approved.

    • D. 

      When the first code module is ready for unit testing.

  • 5. 
    What is the Cyclomatic Complexity of this program fragment? IF X < Y    THEN Statement 1;    ELSE        IF Y >= Z            THEN Statement 2;END
    • A. 

      2

    • B. 

      3

    • C. 

      4

    • D. 

      5

  • 6. 
    Statement coverage will not check for the following:
    • A. 

      Missing statements

    • B. 

      Unused branches

    • C. 

      Dead code

    • D. 

      Unused statements