APDR

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

  1. Predict. Choose an answer and confidence.
  2. Reveal. Follow the reasoning on the stage.
  3. 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.

Or explore

9.3 Black-box input partitions

Select representative inputs from a contract without inspecting the code.

The selected partition appears here.

Or explore

9.4 Paths and boundary defects

Branch execution is useful evidence, but compare it with the specification.

The branch trace appears here.

Or explore

9.5 Debug by bisection

Observe intermediate values to locate the first divergence.

The investigation appears here.

Or explore

9.6–9.7 Exceptions and policy

Match failure type and choose a deliberate response.

The handler path appears here.

Or explore

9.8 Assertions and invariants

Separate programmer assumptions from input requirements.

The check appears here.

Or explore

Your results

Based on the Chapter 9 guide and supplied lecture slides. Not an official FAU publication.