ISTQB Software Testing Quiz 3

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Tmccoy
T
Tmccoy
Community Contributor
Quizzes Created: 14 | Total Attempts: 22,775
| Attempts: 1,761 | Questions: 6
Please wait...
Question 1 / 6
0 %
0/100
Score 0/100
1. A key reason why developers have difficulty testing their own work is:

Explanation

They are too close to their work, and with their optimistic outlook are inclined to overlook things that may cause problems.

Submit
Please wait...
About This Quiz
ISTQB Quizzes & Trivia

This ISTQB Software Testing Quiz 3 assesses knowledge on boundary values, unit testing, tester objectivity, test initiation, cyclomatic complexity, and statement coverage.

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. During the software development process, at what point can the test process start?

Explanation

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

Submit
3. 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.

Explanation

This typically occurs when the system is being built incrementally and the individual functions are coded first.

Submit
4. An input field takes a year of birth between 1900 and 2004 inclusive.  The boundary values for testing this field are:

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

Submit
5. Statement coverage will not check for the following:

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

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

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.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 19, 2023 +

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
Cancel
  • All
    All (6)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
A key reason why developers have difficulty testing their own...
During the software development process, at what point can the test...
To test a function during component (i.e. unit) testing, the...
An input field takes a year of birth between 1900 and 2004...
Statement coverage will not check for the following:
What is the Cyclomatic Complexity of this program fragment? ...
Alert!

Advertisement