CSC151 2007S, Class 11: Iterating Over Positions Admin: * Are there questions on Homework 6? * Tutoring for 151 * Common Tutoring sessions - 9-10, Sunday through Thursday * CS151-specific with Max and Lorelei, 8-9 Monday and Thursday * Individual tutoring (paid by the College): Talk to Marge Coahran (coahranm@cs.grinnell.edu) * How long are homeworks taking? * Reading for tomorrow: Booleans and Predicates (longer than normal) * Reminder: Take-home exam 1 will be distributed on Friday and due the following Friday. * Advance notice: EC for Tony Leguia's talk Thursday at 4:15 in 3821. * "Sorting out children by sorting out digraphs" * Assigned groups for the next few weeks. * Note: The printer room is directly west of here Overview: * Iteration, a key aspect of algorithm design. * Iterating over positions. * Blends and other positionally-computed images. * Simulating image.map!. /Why Assigned Teams?/ * You learn better when you talk to people about what you are doing! * "Two heads are better than one" * When you ask questions of each other, you learn * When you explain what you are doing, you learn * We see evidence * At Grinnell * Elsewhere * Why assigned teams? * Ensures that teams form ; no "last person picked" * Helps share ideas around the room * Plus, you get to meet new people * Reinforce instructor authority * Side note: On gender and groups /Lab/ * Sam has talked enough; attempt the lab! /Debrief/ * Sam is sentient and malicious * Sometimes he inserts incorrect examples so that you read them carefully * In fact, *every* error that you see was inserted for that reason * Printing * Wasn't it fun to meet new people? * Correct answer: "Yes, Sam, it was an astounding experience. Please give us new groups all the time!" * Best comment today: " I love it when things work"