In this lesson, our instructor Tom Quayle goes through an introduction on loops. He starts by discussing repeating an action, the while loop, do loop and for loop. He then goes on to talk about enhanced for loop, nested while loops and nested for loops. H
The while loop repeats an action 0 or more times as long as a condition is true
The do-while loop repeats an action 1 or more times (not in AP subset)
The for loop repeats an action a specified number of times
The enhanced for loop repeats an action one time for each item in a collection
While, do-while, and for loops can be nested as many levels deep as desired
Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.