Quiz — Lecture 12

Section A from memory, one line each. Section B shows your reasoning - marks are for method, not final answers. Answers are discussed in class; the exit ticket goes on a card.

Section A

A1. Why one fix per test cycle?

A2. What is the minimal repro discipline?

A3. Name a defect class a happy-path suite misses.

A4. What does the regression suite protect after the lab?

Section B

B1. Write the minimal input that exposes a phantom-zero (empty string scored as 0).

B2. A swap defect (a, b = b, a miswritten) survives normal tests - what test finds it?

Exit ticket

Answer one of these on your card in 60 seconds (choose any one):

  1. Why must the reproduction step precede any hypothesis?
  1. What does 'fix without breaking green tests' require?
  1. Name the isolation technique used on cs-048.

Homework