Verify Every Path Produces an Output and Ends
Scenario
A student drafted the lab equipment loan flowchart (hasStudentId == true, then overdueCount == 0). The Yes branch outputs Approved and connects to End, and the first No branch outputs Declined: Missing student ID -> End, but the No arrow from overdueCount == 0 stops with no output.
Try it yourself
Trace hasStudentId = true and overdueCount = 1 in the draft flowchart and predict what goes wrong.
| Case | Result |
|---|---|
| Path 1: hasStudentId = false, overdueCount = 0 | Select a choice above to see what happens. |
| Path 2: hasStudentId = true, overdueCount = 0 | Select a choice above to see what happens. |
| Path 3: hasStudentId = true, overdueCount = 1 | Select a choice above to see what happens. |
Reveal the explanation
- Path 1: hasStudentId = false, overdueCount = 0
Declined: Missing student ID -> End
- Path 2: hasStudentId = true, overdueCount = 0
Approved -> End
- Path 3: hasStudentId = true, overdueCount = 1
Draft: Dead end | Fixed: Declined: Return overdue items first -> End
Count the diamonds and trace every Yes and No arrow one by one like a checklist. Fixing the dangling arrow ensures no real student request can stall without a clear decision.
Download shared test cases
Your turn
Audit a library checkout flowchart with two checks: cardActive == true and fineBalance == 0. One No arrow has no output box. Trace all 3 paths and write the missing output -> End step.
Common mistake Testing only the happy path (cardActive = true, fineBalance = 0) and assuming the whole flowchart is complete.
Check your work
A 3-path audit list showing Start -> output -> End for all three branches, including the repaired No branch.
Quick check
This browser could not save your progress. Changes last until you leave the page.