SaveMyCert
Log in
5 of 5 free questions left today·for 30 a day
CTFL · Domain 3

Static Testing practice questions

Static Testing is worth 10% of the CTFL exam — the 5th-heaviest of the 6 domains. Static testing basics and its value versus dynamic testing, early stakeholder feedback, the review process, review roles, review types and success factors. Official share: 4 of 40 exam questions. 6 fully worked examples are further down this page, answers included.

Exam weight
10%
the 5th-heaviest of the 6 domains
Questions
66
across 2 topics
Free, no account
5/day
a free account allows 30 a day
Explanations
Every option
right and wrong

Build a practice session

5 free questions left today.

Domains

How many?

Mode

Ready when you are

10 fresh questions drawn across 1 of 6 domains, in Learn mode.

Focused review

Every question you answer incorrectly, and every question you flag while practising, is saved here automatically. Finish a session and you can come back to re-drill just those.

6 sample Static Testing questions, fully explained

Questions from the CTFL bank mapped to domain 3, with the answer key and the reasoning behind every option. None of them repeat the examples on the main CTFL practice page.

Question 1Static Testing

A team wants a tool to check work products for defects automatically. Which work product is BEST suited to this static analysis?

Choose one.

  • a
    A free-text summary of the interviews held with stakeholders

    Free text with no formal syntax can be reviewed by people, but a tool has little structure to check it against.

  • b
    A set of whiteboard sketches photographed after a design meeting

    Hand-drawn sketches can be discussed in a review, but they have no formal structure for a tool to analyse.

  • c
    A design model written in a notation that has a formal syntax Correct

    Static analysis needs a structure to check against, such as a model, code or text with a formal syntax.

  • d
    A narrative test charter listing the goals of an exploratory session

    A narrative charter is readable and reviewable, but its loose prose gives a tool no formal syntax to check.

The concept

Any readable work product can be reviewed, but static analysis also needs a structure against which the work product can be checked.

Why that’s the answer

Static analysis is tool-supported, so the tool needs rules to apply. Models, code and text with a formal syntax provide that structure. The interview summary, the sketches and the narrative charter are all valid review targets, which is what makes them tempting, but they lack the formal structure a tool would need.

How to reason it out
  1. Notice that the stem asks for automatic, tool-based checking.
  2. Recall that static analysis needs a formal structure to check against.
  3. Find the only work product with a formal syntax.
  4. Choose the design model.

Exam tip: Reviews need readability; static analysis needs structure.

ISTQB CTFL Static Testing Basics: Work Products, Value and Static vs Dynamic Testing — the lesson that teaches this.

Question 2Static Testing

Which statement BEST describes static testing?

Choose one.

  • a
    Executing the software with test inputs and comparing the actual results

    Running the software and comparing actual with expected results is dynamic testing.

  • b
    Running the software under load to measure its response times

    Measuring response times under load needs the software to run, so it is dynamic (performance) testing.

  • c
    Examining work products without executing the software being tested Correct

    Static testing evaluates work products such as requirements or code without running the software.

  • d
    Executing previously passed tests again after a change has been made

    Re-running tests after a change is regression testing, which executes the software.

The concept

Static testing does not execute the software under test; it relies on manual examination (reviews) or tool-supported evaluation (static analysis).

Why that’s the answer

The defining feature of static testing is that nothing is executed. Every distractor describes running the software in some way: comparing results, measuring performance or rerunning tests. Those are forms of dynamic testing.

How to reason it out
  1. Look for the option in which nothing is executed.
  2. Recall that reviews and static analysis evaluate work products directly.
  3. Rule out every option that runs the software.
  4. Choose examining work products without execution.

Exam tip: Static = no execution; dynamic = execution.

ISTQB CTFL Static Testing Basics: Work Products, Value and Static vs Dynamic Testing — the lesson that teaches this.

Question 3Static Testing

Which of the following is an objective of static testing?

Choose one.

  • a
    Measuring the response time of the system under its expected load

    Response time depends on running the system, so it is measured by dynamic testing.

  • b
    Confirming that a fixed defect no longer causes the original failure

    Checking that a fix removed the failure means rerunning the failed test, which is dynamic confirmation testing.

  • c
    Reproducing a failure that users reported from the production system

    Reproducing a reported failure requires running the software, which is dynamic testing.

  • d
    Assessing a work product's readability, completeness and testability Correct

    Static testing assesses quality characteristics of work products such as readability, completeness, correctness, testability and consistency.

The concept

The objectives of static testing include improving quality, detecting defects and assessing characteristics such as readability, completeness, correctness, testability and consistency.

Why that’s the answer

Static testing examines work products as they are written, so its objectives are about their quality characteristics and the defects they contain. The distractors all describe goals that need the software to run: measuring response time, confirming a fix and reproducing a failure.

How to reason it out
  1. Recall that static testing evaluates work products without running them.
  2. Check which goal can be met by reading a work product.
  3. Rule out goals that depend on execution.
  4. Choose assessing readability, completeness and testability.

Exam tip: Static testing assesses how good a work product is before anything runs.

ISTQB CTFL Static Testing Basics: Work Products, Value and Static vs Dynamic Testing — the lesson that teaches this.

Question 4Static Testing

Which statement about static testing is TRUE?

Choose one.

  • a
    It can be used for verification of a work product, not validation

    This is the tempting half-truth: reviews also validate, for example by checking that requirements describe the stakeholders' real needs.

  • b
    It can be used for both verification and validation of a work product Correct

    Static testing supports verification (built right) and validation (right thing built), for example when stakeholders confirm requirements reflect their needs.

  • c
    It needs test cases to be designed before a work product can be examined

    Static testing needs no test cases; static analysis in particular finds problems with less effort for that reason.

  • d
    It makes dynamic testing of the same work product unnecessary afterwards

    Static and dynamic testing are complementary; each finds defect types the other cannot.

The concept

Static testing can be used for both verification and validation, and it complements dynamic testing rather than replacing it.

Why that’s the answer

Static testing checks whether a work product meets its specification (verification) and also whether it meets stakeholders' needs (validation), for example when business representatives review requirements. The verification-only option is the near-twin: it is half right. No test cases are needed to review a document, and static testing complements rather than replaces dynamic testing.

How to reason it out
  1. Recall the two purposes static testing serves: verification and validation.
  2. Remember that reviews involving stakeholders validate requirements against real needs.
  3. Recall that static testing needs no test cases and complements dynamic testing.
  4. Choose the statement covering both verification and validation.

Exam tip: Static testing verifies and validates; it never replaces dynamic testing.

ISTQB CTFL Static Testing Basics: Work Products, Value and Static vs Dynamic Testing — the lesson that teaches this.

Question 5Static Testing

Why can static testing reduce the overall cost of fixing defects?

Choose one.

  • a
    It can detect failures in the system once it is running in production

    Observing failures in a running system is dynamic and late; it does not explain early savings.

  • b
    It allows the dynamic test levels later in the lifecycle to be skipped

    Static testing complements dynamic testing; it does not let test levels be skipped.

  • c
    It ensures that fixed defects no longer need to be retested afterwards

    Fixed defects still need confirmation testing; static testing does not change that.

  • d
    It can detect defects in the earliest phases of the development lifecycle Correct

    Static testing can be applied before any code runs, so defects are found early, when they are cheapest to fix.

The concept

Static testing can detect defects in the earliest phases of the SDLC, fulfilling the principle of early testing.

Why that’s the answer

A defect found in a requirement before design and coding starts costs far less to fix than one found after it has spread into code and tests. That is the main value of static testing for cost. The other options either describe late, dynamic activity or claim that later testing can be dropped, which the syllabus does not support.

How to reason it out
  1. Recall the early testing principle: defects found early cost less.
  2. Notice that static testing needs no running software.
  3. Rule out options that skip or remove later testing.
  4. Choose detection in the earliest phases.

Exam tip: Early defect detection is the cost case for static testing.

ISTQB CTFL Static Testing Basics: Work Products, Value and Static vs Dynamic Testing — the lesson that teaches this.

Question 6Static Testing

Which defect can static testing detect that dynamic testing is NOT able to detect?

Choose one.

  • a
    Code that can never be reached by any execution of the program Correct

    Unreachable code is never executed, so no dynamic test can reveal it; static analysis or a code review can.

  • b
    A calculation that returns a wrong total for certain input values

    A wrong total shows up as a failure when a test with those inputs is run, so dynamic testing can find it.

  • c
    A checkout that times out when many users submit at once

    A time-out under concurrent load is a failure that performance testing can reveal by running the system.

  • d
    A screen field that accepts a value outside the range it should allow

    Entering an out-of-range value in a running system reveals this failure, so dynamic testing can find it.

The concept

Some defects can only be found statically, such as unreachable code, design patterns not implemented as desired, and defects in non-executable work products.

Why that’s the answer

Dynamic testing finds defects through the failures they cause when the code runs. Unreachable code never runs, so it can never cause an observable failure; only examining the code finds it. Each distractor produces a visible failure when the right test is executed, so dynamic testing can find it.

How to reason it out
  1. Ask whether each defect can ever cause a failure during execution.
  2. Notice that unreachable code is, by definition, never executed.
  3. Recall that defects without failures can only be found by examination.
  4. Choose the unreachable code.

Exam tip: If code can never run, only static testing can find its defects.

ISTQB CTFL Static Testing Basics: Work Products, Value and Static vs Dynamic Testing — the lesson that teaches this.

What CTFL domain 3 tests, topic by topic

The official exam guide breaks Static Testing into 2 topics. The question bank follows the same split, so a weak topic shows up as a cluster of misses you can go back and read.

Published CTFL practice questions per topic in Static Testing
TopicWhat it coversQuestions
Static Testing BasicsOfficial CTFL v4.0.1 syllabus section 3.1. Learning objectives: FL-3.1.1 (K1) Recognize types of work products that can be examined by static testing; FL-3.1.2 (K2) Explain the value of static testing; FL-3.1.3 (K2) Compare and contrast static testing and dynamic testing.33
Feedback and Review ProcessOfficial CTFL v4.0.1 syllabus section 3.2. Learning objectives: FL-3.2.1 (K1) Identify the benefits of early and frequent stakeholder feedback; FL-3.2.2 (K2) Summarize the activities of the review process; FL-3.2.3 (K1) Recall which responsibilities are assigned to the principal roles when performing reviews; FL-3.2.4 (K2) Compare and contrast the different review types; FL-3.2.5 (K1) Recall the factors that contribute to a successful review.33
Total66

Revise Static Testing before you drill it

Other CTFL domains

Static Testing: your questions

Static Testing is domain 3 of the CTFL exam guide and carries 10% of the scored content — the 5th-heaviest of the 6 domains. On a 40-question paper that works out to roughly 4 questions, though ISTQB does not publish an exact per-domain count and individual exam forms vary.

Source

The domain weight and topic list on this page come from the official CTFL exam guide.