In this lab students collaborate using Pair Programming to explore looping (iteration) in Python. Using various loop structures, such as 'while' and 'for', students must complete a series of tasks that illustrate the use of iteration. Frequent use of guiding questions helps students to both explore these ideas together and to discuss how the looping structures can best be used to complete the task. These activities are ideal for students interested in gaining experience with implementing and evaluating loops, as well as those who are looking for an example of how to implement Pair Programming in a CS1 lab section.
This is Lab 4 in an introduction to computing course in Python. See more about sequencing in the syllabus and course schedule. Additional guidelines for student success on this assignment and throughout the course can be found in the syllabus.
This assignment illustrates the use of well structured Collaborative Learning through Pair Programming.