Quiz — Lecture 03
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. Which flowchart shape means 'decision'?
A2. Every loop needs an arrow back and what else?
A3. Can two arrows leave a process box? Why not?
A4. What does the loop's re-entry point change?
Section B
B1. Sketch (or precisely describe) the flowchart for the ATM loop: read request, refuse if over balance, stop on 'stop'.
B2. For the dispatch loop, name the quantity that must shrink and where the proof lives in the chart.
Exit ticket
Answer one of these on your card in 60 seconds (choose any one):
- Every decision diamond must have how many exits, and how labelled?
- What is the standard proof that a loop terminates?
- What is a dead branch and how do flowcharts expose one?
Homework
- Before: skim the four student pages; attempt case 1 on paper.
- After: write a five-line pseudocode solution for any case you did not
- Enrichment (optional): the stretch question on each case page.