Quiz — Lecture 07

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. Name the four debugging steps in order.

A2. What makes an input 'minimal' for a bug?

A3. What is a regression test?

A4. Give an example of fixing a symptom instead of the cause.

Section B

B1. The first item is missing from an echoed list. Write two hypotheses and the ONE test that kills one of them fastest.

B2. How does is prove a duplicate-list bug that == cannot see?

Exit ticket

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

  1. Order the clinic protocol steps.
  1. Why fix nothing before the hypothesis is confirmed?
  1. What is a regression test for?

Homework