CS141: Topics for Week 6: Sept 28, 30, Oct 2, 2015

Computer Science Headlines

ACM Tech News


Lab 5: Loops and Cards

Remember to review questions starting on p. 342.

Chapter 5 Loops: Vocabulary

increment/decrement operators
postfix/prefix modes
while-loop (a pretest loop)
for-loop (a pretest loop)
unwinding and hand tracing
do-while-loop (a posttest loop)
nested loop
break statement
Control variable, initialization, condition, update; loop body
sentinel value
counter, running total
running totals, accumulator
infinite loop
Monte Carlo Method


In Class Practice Activities