Session Details
Week 2,
Session 4 — Tue Dec 7
Prep
-
Zelle, §3.1–3.3
HW Due
-
HW 3
Topics
-
Review and Practice at topics we have covered
-
Practice at functions with parameters that return values, and calling them with actual arguments
-
Variables and assignment
-
Introduction to using a debugger
-
Counted Loops, including the range function
-
Accumulator loops
Outline
-
[5 min] Angel for attendance. Questions?
-
[15 min] Definite loops, for loops, counted loops, examples using loops
-
[10 min] Range function, loops with range
-
[5 min] Break
-
[10 min] A loop with range() an accumulator
-
[30 min] Finish in-class quiz and begin loop practice.
Resources
-
Slides: Loops — Counted and Accumulator
HW Assigned
-
HW 4