The George Washington University
School of Engineering and Applied Science
Department of Computer Science
CSci 51 -- Introduction to Software Development -- Fall 2001
Lab #1
For labs meeting on Aug. 28 and Aug. 30 2001

This exercise will make sure you are able to print files on the lab printers, give you a bit of experience in understanding and modifying some relatively simple Ada 95 programs, and help you learn about some of the interesting ways in which Ada is being used in industry.

Part I. Setting Up.

Do Project #0 as given on the Project 0 handout.

Part II. Printing Hard Copy in the Lab.

All you need to do here is print a copy of your survey form, just to know how to print it.

Part III. Compiling the Spider Package

Move to your csci51 directory and copy these files from programs51:

screen.ads (type cp programs51/screen.ads . <--- be sure to type the final dot)

screen.adb(repeat the cp command for each file name)
spider.ads
spider.adb

Now compile each of these four files. (For example, type gcompile screen.ads )

Part IV. Using the Spider Package.

Copy and compile walk_line.adb

Print the listing (.lsb) file.

Now link walk_line into an executable program (type glink walk_line.ali)

Now execute the program (type gexecute walk_line.exe)

Do the same with walk_box, draw_box, and draw_box_with_1_loop.

Part V. Investigating Ada in Industry.

Using Netscape Navigator or Internet Explorer, visit the course page:

http://www.seas.gwu.edu/~csci51/fall01

Click on the line "Where Do They Use Ada in Industry?"

Now visit at least five different project sites that are linked from this page. Choose at least four different nonmilitary application areas; in addition, choose one or more military projects.

Use vi to write a brief report of your findings. Select four nonmilitary projects and one military one. In your own words, write a one-paragraph (25 words or less) description of each project. Save your report as a text file and e-mail it to Prof. Feldman and to your lab instructor.