In this assignment students work either individually or in pairs to create ASCII art using loops. Students must write functions that print a rectangle, a triangle, bumps of increasing size, a diamond, and a striped diamond. In addition to requiring students to use loops, this assignment reviews basic parameter passing. It is particularly useful for students who are new to loops.
Incorporate pair programming when it is appropriate for students to collaborate on a lab. In pair programming two students work side-by-side at the same computer. The “driver” controls the mouse and the keyboard, while the “navigator” makes suggestions, points out errors, and asks questions.
Uses common images from students' everyday experience to Employ Meaningful and Relevant Content.