Bird
0
0

Consider this scenario: A tester writes test cases based on the program's code paths and conditions. What type of testing is this?

medium📝 Predict Output Q13 of 15
Testing Fundamentals - Testing Models and Approaches
Consider this scenario: A tester writes test cases based on the program's code paths and conditions. What type of testing is this?
AWhite-box testing
BBlack-box testing
CSystem testing
DAcceptance testing
Step-by-Step Solution
Solution:
  1. Step 1: Identify testing based on code paths

    Testing that uses knowledge of code paths and conditions is white-box testing.
  2. Step 2: Eliminate other options

    Black-box ignores code; system and acceptance testing focus on overall system or user needs, not code paths.
  3. Final Answer:

    White-box testing -> Option A
  4. Quick Check:

    Code path testing = white-box [OK]
Quick Trick: Code path knowledge means white-box testing [OK]
Common Mistakes:
  • Choosing black-box because of 'test cases' mention
  • Confusing system testing with white-box
  • Ignoring code path clues

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes