Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- White-box (structural) testing needs access to the code; tests are derived from its structure.
Exam weight Low
Exam weight Low
Exam weight Low
- Static testing: examine code without running it (reviews, walkthroughs, inspections, static analysis).
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight High
- Formal inspection: author, moderator, reader, recorder/scribe, inspectors; preparation, meeting, rework, follow-up.
🎯 How this can come up · 1 question
MCQ
In a formal inspection, who leads the meeting and keeps it on track?
Correct: Moderator.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- Coverage criteria from weak to strong: statement → branch/decision → condition → decision/condition → multiple-condition → path.
Exam weight Low
Exam weight High
- Statement coverage: every statement executed at least once. Weak: can miss the false branch of an if.
Exam trap100% statement coverage does NOT imply 100% branch coverage; 100% branch coverage DOES imply 100% statement coverage.
🎯 How this can come up · 2 questions
True / False
100% decision (branch) coverage guarantees 100% statement coverage.
True.
True / False
100% statement coverage guarantees 100% decision coverage.
False. An if without else can be fully covered by one true case.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight High
- Cyclomatic complexity V(G) = E − N + 2 = decision nodes + 1 = number of independent paths (minimum tests for basis path coverage).
🎯 How this can come up · 1 question
MCQ
A flow graph has 11 edges and 9 nodes. V(G) =
11 − 9 + 2.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- Decision (branch) coverage: every decision takes both true and false outcomes.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- Condition coverage: every individual condition in a decision takes both true and false. Doesn’t guarantee decision coverage.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight High
- Decision/condition coverage: both every condition AND every decision take both outcomes.
🎯 How this can come up · 1 question
MCQ
For "if (A && B)", tests (A=T, B=F) and (A=F, B=T) achieve:
Both make the decision false.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
No slides match this filter.






































































