In this assignment students work either individually or in pairs to write a series of image-processing functions. Using list comprehension, students must write functions that invert the colors of an image, change the colors to greyscale, change the image to black and white, flip the image, and mirror the image. Students are also encouraged to be creative and come up with their own alterations. This assignment covers list comprehension on multidimensional lists. It is particularly useful for students who are new to multidimensional lists and need additional practice using list comprehension on them.
Model what students are to do during a pair programming activity. Invite a student volunteer to join you for a demonstration of the interactions and behaviors that are characteristic of a successful pair programming session.
Students are encouraged to come up with their own algorithms to Incorporate Student Choice. Students manipulate images to Employ Meaningful and Relevant Content.