PT1420

Introduction to Programming

Week 8 (August 1, 2016)
Unit 8: Repetitive Processing 2

Learning Objective
  • Write programs that use loops to solve problems.
Learning Outcomes
  1. Use pseudocode/flowcharts to represent repetition structures.
  2. Evaluate the counter-controlled For loops.
  3. Use sentinel values in creating computer programs.
  4. Use nested loops in a program.
Key Concepts
  • For loops
  • Sentinel values
  • Nested loops
Assigned Reading
  • Gaddis, Chapter 5, pp. 183- 195 and pp. 201- 211.
Keywords
  • Counter-controlled loops
  • For-Next loops
  • Counter variables
  • Counter initialization
  • Counter test
  • Counter increment
  • Counter decrement
  • Loop iterations
  • Sentinels
  • Nested loops
Assignments and Study Materials
  • Unit 8 Lecture Slides
  • Unit 8 Assignment 1: Homework
  • Unit 8 Research Assignment 1: Exploring the Differences between Using Count-Controlled Loops and While Loops
  • Unit 8 Lab Worksheet
  • Unit 8 Lab 8.1: For Loop and Accumulation with Pseudocode
  • Unit 8 Lab 8.2: For Loop and Accumulation with Flowcharts
  • Unit 8 Lab 8.3: Accumulation and Loops: Visual Basic Challenge
Questions and Feedback
Use the form below to ask questions or provide feedback about the concepts covered during Week 8's session of class:

Your browser is out-of-date!

You need to update your browser to view Foliotek correctly. Update my browser now

×