The George Washington University
School of Engineering and Applied Science
Department of Computer Science
CSci 51 -- Introduction to Software Development -- Spring 2001
Lab #2
For labs meeting on Jan. 25-26, 2001

Part I. Review our computing systems and email systems

Your TA will explain these systems and you will get a chance to set your email up with various configurations.  After this lab, you will be able to understand the current computing environment in the school as well as the university.  Hobbes, Calvin, Windows NT and Novell are some of the systems that will be covered in the lab.
 

Part II. Write and Test a Program

Write a program using the Spider package and a FOR LOOP to display a diagonal line that is twelve (12) characters long. Remember that the Spider starts in the center of the room, and center of the room is at most ten (10) moves in a straight line from the wall. See Section 2.2 (page 44) and Section 2.3 (page 49) of your textbook for examples.

The key to doing this program is to understand the sequence of Ada 95 statements given below.

Spider.Face (Whichway => Spider.East);
     Spider.Step;
     Spider.ChangeColor (NewColor => Spider.None);
     Spider.TurnRight;
     Spider.Step;
     Spider.ChangeColor (NewColor => Spider.Green);