Professor Simonson

How Computers Work

CS 195

Assignment 1 - Midnight, Thursday, January 31


The purpose of this first assignment is to get you used to the graphical features and editor of the Logo Interpreter, to make sure you can save and retrieve your programs from memory sticks, and to let you get a sense of the fun and creativity involved in programming

It is worth 10 points.  Store all the procedures in a file called asg1.lgo on your disk.  Make sure to include the names of your group members using ;comments; at the start of your file.

Write a Logo program that prints a name/design picture for your group.  Be as creative as possible with colors and styles. Try to use a number of procedures to organize and simplify the main program.  For example: if I were to do this for my name “shai”, I might have:

TO SHAI
 setupcolors
 setuppictures
 playasong
 cool_animation
 circleborder
 drawSHAI
END

TO SETUPCOLORS
...
END

where each of the 6 procedures between “TO SHAI” and “END” are defined separately using TO and END, as shown with SETUPCOLORS.  You should store all the procedures for this program in one file called asg1.lgo.
 

back
 


shai@stonehill.edu

http://www.stonehill.edu/compsci/shai.htm