ISTQB Software Testing Quiz 3

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Tmccoy
T
Tmccoy
Community Contributor
Quizzes Created: 14 | Total Attempts: 22,717
Questions: 6 | Attempts: 1,753

SettingsSettingsSettings
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

    Correct Answer
    C. 1899, 1900, 2004, 2005
    Explanation
    The valid range for the birth years is from 1900 to 2004 inclusive. The boundary values are 1900 & 2004, plus the closest invalid values on each side. These are 1899 & 2005. (Note that it isn't necessary to include 1901 or 2003 because they're no different from 1900 or 2004 as far as testing is concerned).

    Rate this question:

  • 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

    Correct Answer
    B. Driver
    Explanation
    This typically occurs when the system is being built incrementally and the individual functions are coded first.

    Rate this question:

  • 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

    Correct Answer
    D. Lack of objectivity
    Explanation
    They are too close to their work, and with their optimistic outlook are inclined to overlook things that may cause problems.

    Rate this question:

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

    Correct Answer
    C. When the software requirements have been approved.
    Explanation
    While we want to get underway as early as possible, there isn't much point in starting until the requirements have been approved.

    Rate this question:

  • 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

    Correct Answer
    B. 3
    Explanation
    Cyclomatic Complexity is the number of independent paths through the program. The easiest way to calculate it is to add up the number of decisions and add 1 to the result. We have 2 IF tests (i.e. 2 decisions) plus 1 = 3.

    Rate this question:

  • 6. 

    Statement coverage will not check for the following:

    • A.

      Missing statements

    • B.

      Unused branches

    • C.

      Dead code

    • D.

      Unused statements

    Correct Answer
    A. Missing statements
    Explanation
    Statement coverage means we execute every statement in the code. Clearly it can't check for statements that aren't there (i.e. missing statements).

    Rate this question:

Quiz Review Timeline +

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

  • Current Version
  • Mar 19, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 12, 2009
    Quiz Created by
    Tmccoy
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.