Assignment 1 Submission Form
Comp11 Spring 2012

Use this webpage to submit your answers to assignment 1.

There are three types of answers: tractor programs, short answers, short text descriptions.

Type your answers into the spaces. If you have prepared answers in a text editor or word processor, copy the answers from that document and paste them here.

Procedure:

  1. Put in your firstname.lastname in the first part
  2. Put your special lab signup password
  3. Record your answers in the spaces provided
  4. Double check your work
  5. Press the submit button at the bottom

Your name and secret word

To identify your submission, use the password you got to sign up for the first lab. If you forgot or did not get a lab signup password, click here .

  Tufts email: @tufts.edu
(use firstname.lastname)
  Lab signup password:
(get password here if you forgot or need one.
1-1

For each of the four shapes, put the entire program in the space for answer a.

If the program includes one or more functions that use other functions, then click the Yes button.

Then, using the section below the program area, describe the visual patterns produced by some of the abbreviations you use. Your program may use more than three abbreviations, but only list and describe briefly three of them.
Note: Do not just list the code for the abbreviations. Say something like "an upper right corner"

Finally, select the minimum number of retraces that shape requires. No explanation is required.

(bar)
a. Entire Program:
c. Abbrev uses abbrev? No     Yes
d. What visual patterns
do your abbreviations
produce?
(List up to 3)
AbbrevRepresents
e. Minimum number of retraces:
(zig)
a. Entire Program:
c. Abbrev uses abbrev? No     Yes
d. What visual patterns
do your abbreviations
produce?
(List up to 3)
AbbrevRepresents
e. Minimum number of retraces:
(tee)
a. Entire Program:
c. Abbrev uses abbrev? No     Yes
d. What visual patterns
do your abbreviations
produce?
(List up to 3)
AbbrevRepresents
e. Minimum number of retraces:
(ell)
a. Entire Program:
c. Abbrev uses abbrev? No     Yes
d. What visual patterns
do your abbreviations
produce?
(List up to 3)
AbbrevRepresents
e. Minimum number of retraces:
1-2

For this problem you were asked what picture does each program draw. You do not have to submit those pictures or descriptions. Doing those pictures allowed you to find out how many different pictures you get.

For this problem, difference in shapes depends on how you define sameness. As specified on the assignment, two shapes that differ only by location are not different. On the other hand, two shapes that differ by rotation are different.

For example, if you are asked to write a program to draw a T on a JumboTron for Tufts, a T on its side is different from a T standing up normally. Be sure you use this rule when determining how many different shapes there are.

parts a-d 2-char3-char4-char5-char
Number of programs:
List of Programs:
one per line
Number DIFF shapes:
part e
Statement is: True     False
Explanation:
1-3

Put your answers in these spaces

a. The picture is:
   Explanation:
b. The picture is:
   Explanation:
1-4

Put your answers in these spaces

a. Minimum program length :
b. Explanation:
c. Minimum program length :
d. Program:

Press this button to submit your work