1 / 2

Fill in the blank in the following procedure definition.

Fill in the blank in the following procedure definition. (define bound (lambda _______________ (min (max val lower) upper))) (a b c) val lower upper ( val lower upper) val lower upper) None of the above. What will the following procedure produce?. (define bigred

ryder
Télécharger la présentation

Fill in the blank in the following procedure definition.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fill in the blank in the following procedure definition. (define bound (lambda _______________ (min (max val lower) upper))) • (a b c) • val lower upper • (val lower upper) • val lower upper) • None of the above

  2. What will the following procedure produce? (define bigred (lambda (drawing) (drawing-recolor drawing “red”) (drawing-scale drawing 10))) • Nothing – but drawing will be changed so it is bigger and red. • A bigger, red copy of drawing. • A red copy of drawing, the same size. • A bigger copy of drawing, but not recolored red. • None of the above

More Related