Testing and Debugging Lab
Algorithms, Programming, and Data Representation · Module 92313 · Chapter 9
Predict first, then reveal the test choice or error-handling outcome. Each card models one idea from the lecture; use the sandbox to enter your own case.
How the lab works
- Predict. Choose an answer and confidence.
- Reveal. Follow the reasoning on the stage.
- Explore. Change a value in the sandbox after the fixed challenges.
9.1–9.2 Contracts and test levels
Choose the most useful next check.
The reasoning trace appears here.
9.3 Black-box input partitions
Select representative inputs from a contract without inspecting the code.
The selected partition appears here.
9.4 Paths and boundary defects
Branch execution is useful evidence, but compare it with the specification.
The branch trace appears here.
9.5 Debug by bisection
Observe intermediate values to locate the first divergence.
The investigation appears here.
9.6–9.7 Exceptions and policy
Match failure type and choose a deliberate response.
The handler path appears here.
9.8 Assertions and invariants
Separate programmer assumptions from input requirements.
The check appears here.
Your results
Based on the Chapter 9 guide and supplied lecture slides. Not an official FAU publication.