Week 3 - Loops

Learning Objectives

Upon finishing this learning module, you should be able to:

  • Write programs that use repetition structures to solve problems
  • Identify strategies for controlling repetition: counters, sentinels, and flags
Quiz 1 is open this Thurs-Saturday. It covers weeks 1 and 2.

Schedule

Day 1

  • Holiday

Day 2

Day 3

Day 4

Loop Basics

Read Ch 5.1-5.3. This video introduces the key ideas:

Do the Basic Loops CPP Lab .

Loop Strategies

Read Ch 5.4-5.5 and 5.7-5.9 and watch this video:

Do the Loops 2 CPP Lab .

Nested Loops

Read Ch 5.10-5.13, 5.15 and watch this video:

Do the Nested Loops CPP Lab .

Read the rest of Ch 5.

Start the assignment.

Quiz

The quiz will be open Thursday–Saturday in Elearn, time limited (60 minutes), and not collaborative. It covers weeks 1 & 2. Make sure you block out an hour of uninterrupted time before you start the quiz — you can not pause the timer once you start.

To practice, go to the resource links and look for "Practice Quiz Questions". For quiz 1, focus on Ch1, 2, and 3 (especially 2 and 3). The quiz will be some multiple choice, some short answer, and some writing code. Make sure to read the directions carefully before beginning.