???

Design Recipe Test

Overview

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.

Learning Objectives

  • Learn how to use advanced image operations

Product Outcomes

  • Students create scaled, rotated, flipped, and layered images

Materials

  • Editing environment (WeScheme or DrRacket with the bootstrap-teachpack installed)

Preparation

  • 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

Design Recipe Test (Time 20 minutes)

  • Directions: mult by two
    Contract and Purpose Statement
    Every contract has three parts ...
    ;
    MMMMMM:MMMMMM
    ;
    Examples
    Write some examples of your function in action...
    (EXAMPLE (
    MMMMMM))
    Definition
    Write the definition, giving variable names to all your input values...
    (define (
    MMMMMM))