Functional Problem Solving (CSC 151 2016S) : EBoards

CSC151.02 2016S, Class 30: Other Forms of List Recursion


Overview

Preliminaries

Admin

Reminders

Upcoming Work:

Extra Credit

Academic / Artistic

Peer

Regular Peer (weekend things probably won't be this weekend)

Misc

Far in the Future

Questions

Can I use recursion on exam 2?

No. You had not learned recursion by the original due date.

Any hints on problem 4?

Sure. You want to conduct a series of tests that will make you confident that the alternate-scale procedure is correct. That means you should consider drawings with (a) different shapes; (b) different positions; (c) different sizes; and (d) different scales. For each variation, you can use the helper procedure provided in the reading.

How many tests should I write?

I expect about a dozen calls to the provided procedure.

Any hints on the drella! procedure?

The p-and-s! procedure from the lab on collage should be helpful. Note, however, that you need to copy the image before you call p-and-s!.

Because you will have to paste more than once, think about the forms of repetition you know (other than recursion).

Remember that you are dealing with imags and GIMP tools. Do not use the drawing operations for this problem!

Lab