Which of the following is a structure-based (white-box) technique?
Suggested Answer: C
Get Premium CTFL-Foundation Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
Statement testing is a structure-based (white-box) technique. This technique involves testing the internal structure of the application, focusing on the execution of the statements within the code. The goal is to ensure that every statement in the code has been executed at least once during the testing process. Other options like decision table testing, state transition testing, and boundary value analysis are black-box techniques, which do not require knowledge of the internal code structure. Reference: ISTQB CTFL Syllabus V4.0, Section 4.3.1.
24 comments · newest first
TO
Tora
2 days ago
A) Decision table testing seems more like black-box to me.
SA
Sarah
7 days ago
I remember learning that statement testing checks code paths.
ER
Ernest
12 days ago
I feel confused about the options.
CO
Coral
17 days ago
Agreed! It's definitely a white-box technique.
ME
Merri
23 days ago
I think it's C) Statement testing.
GE
Georgeanna
28 days ago
Good point, very useful technique!
DO
Dorothy
1 month ago
Plus, it helps find hidden errors.
CH
Cherrie
1 month ago
Makes sense, I see why it's structure-based.
LU
Lura
1 month ago
Exactly, it’s about internal logic.
GE
Georgeanna
2 months ago
Right, it checks individual statements.
DO
Dorothy
2 months ago
C) Statement testing is the only one that focuses on code structure.
JE
Jeannine
2 months ago
That's more black-box, I believe.
CH
Cherrie
2 months ago
Not so sure. What about A) Decision table testing?
LU
Lura
2 months ago
I agree, it's definitely C.
JE
Jeannine
2 months ago
I think it's C) Statement testing.
IV
Ivory
3 months ago
A) Decision table testing is more about functionality, not structure.
MI
Mignon
3 months ago
Wait, are we sure about that? I always mix up these terms.
TI
Tien
3 months ago
Totally agree, statement testing is the right answer!
EU
Eura
3 months ago
I thought boundary value analysis was structure-based too?
VI
Vincenza
3 months ago
C) Statement testing is definitely a white-box technique.
VE
Veronika
4 months ago
I have a feeling that state transition testing might also be structure-based, but I can't recall the specifics.
KA
Katlyn
5 months ago
I practiced a similar question, and I think decision table testing is more about functional testing, not structure-based.
YO
Yong
5 months ago
I'm not entirely sure, but I remember that boundary value analysis is more about input values rather than the code structure.
MA
Margart
5 months ago
I think statement testing is the right answer since it focuses on the internal structure of the code.