HomeCTFL v4.0Practice questionsTest Analysis and Design
CTFL v4.0 · ISTQB · Test Analysis and Design · Bank updated 2026-07-03

CTFL v4.0 practice questions: Test Analysis and Design

5 free questions from 36 on this area · answer and explanation for each · no sign-up

These 5 questions come from the Test Analysis and Design section of our CTFL v4.0 bank (36 questions on this area, which carries 28% of the real exam). Every question is original, with the correct answer explained and linked to the source it is drawn from.

Start 6 free in study mode → All CTFL v4.0 sample questions
1/5 · Test Analysis and Design
An online store's discount-code field accepts an integer percentage discount between 5 and 25 (inclusive). Applying equivalence partitioning ALONE (not combined with boundary value analysis), which set of three test values gives one representative from each identified equivalence partition?
A4, 5, 6 — the values immediately surrounding the lower boundary of the valid range.
B15, 15, 15 — three values all taken from the valid partition to increase confidence.
C5, 15, 25 — the two boundary values of the valid range plus its midpoint.
D3, 15, 30 — one value below the valid range, one within the valid range, and one above the valid range.
Show answer & explanation
D is correct. Equivalence partitioning identifies partitions (here: invalid-low, valid, invalid-high) and requires only one representative value from each partition, typically an interior value rather than a boundary. Testing exact boundary values instead is the domain of boundary value analysis, a complementary but distinct technique.
↗ ISTQB CTFL Syllabus v4.0.1 — Test Analysis and Design
2/5 · Test Analysis and Design
Using the same pseudocode: ``` IF x > 0 THEN PRINT 'positive' END IF PRINT 'done' ``` What is the minimum number of test cases required to achieve 100% branch coverage?
A2, one where x is greater than 0 and one where x is exactly 0, because 0 is treated as a separate branch
B4, corresponding to all combinations of the IF decision and the two PRINT statements
C1, because the false branch is implicit whenever the true branch is not taken and does not need a dedicated test
D2, one where x is greater than 0 (true outcome) and one where x is 0 or negative (false outcome)
Show answer & explanation
D is correct. Branch coverage requires that each decision in the code evaluate to both true and false at least once across the test suite. For a single IF statement, this means two test cases: one that makes the condition true and one that makes it false, so a total of two tests are the minimum needed.
↗ ISTQB CTFL Syllabus v4.0.1 — Test Analysis and Design
3/5 · Test Analysis and Design · easy
An online store's checkout page accepts an integer 'Quantity' field valid for values 1 through 30 (inclusive) for a single item. A tester applies equivalence partitioning, without combining it with boundary value analysis, to design the minimum set of test cases. Which set of test values covers all identified equivalence partitions with the fewest test cases?
A1 and 30
B5, 10, 15, 20, 25
C0, 15, 31
D-1, 0, 1
Show answer & explanation
C is correct. Equivalence partitioning identifies partitions of data (valid and invalid) that the software is assumed to process the same way, and requires at least one representative value from each partition. Here there are three partitions: below range, within range, above range. Testing 0, 15, and 31 exercises all three with the fewest possible test cases.
↗ ISTQB CTFL Syllabus v4.0.1 — Test Analysis and Design
4/5 · Test Analysis and Design
Consider the following pseudocode under test, which contains four executable statements (the IF condition on line 1, the assignment on line 2, the assignment on line 4, and the print on line 6): 1: IF a > 0 THEN 2: result = a * 2 3: ELSE 4: result = 0 5: END IF 6: PRINT result A single test case executes this code with a = 5. What statement coverage percentage does this one test case achieve?
A100%
B50%
C25%
D75%
Show answer & explanation
D is correct. Statement coverage measures the percentage of executable statements exercised by a test suite. With a = 5, the condition, the THEN-branch assignment, and the print statement all execute, but the ELSE-branch assignment does not, giving 3 out of 4 statements covered, or 75%.
↗ ISTQB CTFL Syllabus v4.0.1 — Test Analysis and Design
5/5 · Test Analysis and Design · hard
An input field accepts whole numbers from 15 to 45 inclusive; values outside this range are rejected. A tester applies three-value boundary value analysis to the two boundaries of this single valid range. How many distinct test values does this produce in total?
A8
B3
C4
D6
Show answer & explanation
D is correct. Three-value boundary value analysis tests the value just below, at, and just above each boundary of a range. For a single range with a minimum and maximum, this yields six distinct test values in total (three per boundary), compared to only four values for two-value BVA, which omits the value one step inside each boundary.
↗ the ISTQB Certified Tester Foundation Level (CTFL) Syllabus v4.0 — Test Analysis and Design
Practise all 36 Test Analysis and Design questions - start free → See the whole CTFL v4.0 bank

Other CTFL v4.0 areas

The same kind of free sample for every other section of the CTFL v4.0 bank:

Fundamentals of Testing29 qTesting Throughout the Software Development Lifecycle23 qStatic Testing16 qManaging the Test Activities29 qTest Tools12 q

Study Test Analysis and Design with instant feedback

6 free questions · filter study mode by area and difficulty · error log with spaced repetition · no card, no dumps, no ads.

Create your free account →
Read next
CTFL (ISTQB) Study Plan: 4 Weeks to Pass Without a Bootcamp ISTQB CTFL: 40 questions, 60 minutes, 26 to pass, no course required. A four-week self-study plan sized to the syllabus hours. Verified 14 Sep 2026.
ExamDeck is an independent study tool, not affiliated with, endorsed by, or sponsored by ISTQB. CTFL v4.0 and related marks are trademarks of their respective owners, used for identification only. Exam facts checked against official ISTQB materials (as of September 2026); always confirm current details with the vendor before booking.