CSC300 / CSC402: Thinking about loops [0/20] Next page

What does this function do? [1/20]
How do you know? [2/20]
How do you know? [3/20]
How do you know? [4/20]
You don't need the code! [5/20]
Manual Testing [6/20]
Automatic Testing [7/20]
Using an array of length 3 [8/20]
Using a loop [9/20]
Generalizing [10/20]
Loop invariant [11/20]
A bad solution [12/20]
Exceptions [13/20]
Designing loops from scratch [14/20]
Solution with while loop [15/20]
General rules for desiging loops [16/20]
Another way to compute max [17/20]
Another way to compute max [18/20]
Using a timer [19/20]
Conclusions [20/20]

(Click here for all slides)

Next page