Ensuring every branch of an if–else statement executes at least once is part of:

  1. acceptance testing
  2. white-box testing
  3. black-box testing
  4. load testing
Answer

B) white-box testing

White-box testing is based on the internal structure of the code. SLO CS-11-A-02

Computer Science MCQ · More Unit 1: Computer Systems MCQs · Practise