Introduces additional operations on images. As students use these operations to create more interesting images, they can practice function composition, fitting contracts together, and writing nested expressions.
Learn how to use advanced image operations
Students create scaled, rotated, flipped, and layered images
Editing environment (WeScheme or DrRacket with the bootstrap-teachpack installed)
Computer for each student (or pair), running WeScheme or DrRacket (If using DrRacket, make sure the Images.rkt file is loaded)
Student Workbooks, and something to write with
- Directions: mult by twoContract and Purpose StatementEvery contract has three parts ...;MMMMMM:→MMMMMM;ExamplesWrite some examples of your function in action...(EXAMPLE (MMMMMM))DefinitionWrite the definition, giving variable names to all your input values...(define (MMMMMM))