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.
33 comments · newest first
BA
Barney
10 hours ago
I feel confident about C too.
PA
Paola
6 days ago
C is straightforward, easy to understand.
GL
Glennis
11 days ago
Yes, they focus on functionality, not structure.
VE
Vernell
16 days ago
A and B are more black-box, right?
MA
Maryann
21 days ago
I agree, C is definitely structure-based.
AM
Amos
26 days ago
I think it's C) Statement testing.
LA
Lajuana
1 month ago
I hope I get this right in the exam!
DY
Dylan
1 month ago
C) Statement testing is the best choice here.
MA
Malissa
1 month ago
Right! Boundary value analysis is also black-box.
TO
Tora
2 months ago
A) Decision table testing seems more like black-box to me.
SA
Sarah
2 months ago
I remember learning that statement testing checks code paths.
ER
Ernest
2 months ago
I feel confused about the options.
CO
Coral
2 months ago
Agreed! It's definitely a white-box technique.
ME
Merri
2 months ago
I think it's C) Statement testing.
GE
Georgeanna
2 months ago
Good point, very useful technique!
DO
Dorothy
3 months ago
Plus, it helps find hidden errors.
CH
Cherrie
3 months ago
Makes sense, I see why it's structure-based.
LU
Lura
3 months ago
Exactly, it’s about internal logic.
GE
Georgeanna
3 months ago
Right, it checks individual statements.
DO
Dorothy
3 months ago
C) Statement testing is the only one that focuses on code structure.
JE
Jeannine
3 months ago
That's more black-box, I believe.
CH
Cherrie
4 months ago
Not so sure. What about A) Decision table testing?
LU
Lura
4 months ago
I agree, it's definitely C.
JE
Jeannine
4 months ago
I think it's C) Statement testing.
IV
Ivory
4 months ago
A) Decision table testing is more about functionality, not structure.
MI
Mignon
4 months ago
Wait, are we sure about that? I always mix up these terms.
TI
Tien
4 months ago
Totally agree, statement testing is the right answer!
EU
Eura
5 months ago
I thought boundary value analysis was structure-based too?
VI
Vincenza
5 months ago
C) Statement testing is definitely a white-box technique.
VE
Veronika
5 months ago
I have a feeling that state transition testing might also be structure-based, but I can't recall the specifics.
KA
Katlyn
7 months ago
I practiced a similar question, and I think decision table testing is more about functional testing, not structure-based.
YO
Yong
7 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
7 months ago
I think statement testing is the right answer since it focuses on the internal structure of the code.