For this first project, we are providing a
template for you to
follow as a guide to how a lab report
should be organized.
You can copy the text from this page (use the edit functions in your
browser) and paste the text into a word processor and complete the
report. You can use the word processor that comes with the Linux
machines in the lab. You can find the word processor by clicking on the
f (Fedora) menu in the lower
left corner, then choosing Office -> Word Processor.
Alternatively, you can copy the text into the Definitions window in Dr. Scheme. Even though it isn't much of a word processor, Dr. Scheme is adequate for a simple report like this, and using it will save you the hassles of cutting and pasting your code and images into a real word processor. We have a separate document with tips on using DrScheme to write a report.
To get some sense of how this project report will be
graded, look at the grading sheet
that we use.
Remember to attach a copy of the honor pledge to your report and to sign the pledge.
(require (lib "fungraph.ss" "concabs"))
(load "~mc27/labs/quilting/quilting.scm")
by typing the line into your
definition window and hitting execute. Now you should be able to see
each block by evaluating its name in the interaction window. In
addition to the blocks mentioned in the book, we have also included
two solid blocks, black-bb and white-bb.
(If you want to use DrScheme on machines outside our lab, you should
go to the page Using Concrete Abstractions
with DrScheme, which explains the whole process of setting up
DrScheme. In particular, be sure to read the section Libraries
for use with DrScheme., and you can then download quilting.scm
and load it in.)
stack and quarter-turn-right
procedures are built into our Scheme. Try them out as in exercise 1.8
on page 16 of the text, and make sure you understand what each does
and how combinations behave. (We should point out here that the code
from the book is available from the web page http://www.gustavus.edu/+max/concabs/code/ ;
simply follow the link for the chapter you want. Using these files
will substantially reduce your typing.) Note that names such as rcross-bb
continue to name the same, unmodified basic
block throughout. The procedures give you back transformed copies of
the image rather than changing the original image in any way.
Be sure to save your definition window early and often. (Just click the Save button.) Note that the next time you use DrScheme, you can simply open this file by using the File menu.
mirror-image.
Be creative!