nerdexam
GIAC

GSLC · Question #325

Which of the following is a software testing method that uses an internal perspective of the system to design test cases based on the internal structure?

The correct answer is C. White box. White box testing designs test cases based on the internal code structure and logic of a system, requiring knowledge of how the system is built.

Security Architecture & Engineering

Question

Which of the following is a software testing method that uses an internal perspective of the system to design test cases based on the internal structure?

Options

  • AWater Fall
  • BBlack box
  • CWhite box
  • DGray box

How the community answered

(60 responses)
  • A
    2% (1)
  • B
    3% (2)
  • C
    95% (57)

Why each option

White box testing designs test cases based on the internal code structure and logic of a system, requiring knowledge of how the system is built.

AWater Fall

Waterfall is a sequential software development lifecycle model, not a testing methodology defined by system perspective.

BBlack box

Black box testing evaluates functionality from an external perspective with no knowledge of internal code structure or implementation.

CWhite boxCorrect

White box testing (also called clear box or structural testing) requires full knowledge of the internal workings of the application under test. Test cases are derived from code paths, branches, loops, and conditions, making it the method that uses an internal perspective of the system to drive test design.

DGray box

Gray box testing uses partial knowledge of internals combined with external testing techniques, and is not solely based on internal structure.

Concept tested: White box software testing methodology

Source: https://www.istqb.org/certifications/certified-tester-foundation-level

Topics

#white box testing#software testing#internal structure#test case design

Community Discussion

No community discussion yet for this question.

Full GSLC Practice