Practice free →
HomeSoftware TestingSoftware Testingfundamentals_levels_techniques › Branch (decision) coverage requires

Branch (decision) coverage requires

AEvery decision to take both true and false
BEvery statement to be executed at least once
CEvery loop to be executed exactly twice
DEvery variable to be assigned at least once
Answer & Solution
Correct answer: A. Every decision to take both true and false
Branch coverage = each decision point's true and false outcomes both exercised. Implies statement coverage but is stronger. MC/DC coverage (used in DO-178B avionics) adds further conditions independence requirements.
Solve this in the app — Software Testing practice & 24k+ MCQs →
Related questions