Lab3 - Western Washington University Computer Science...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Western Washington University Computer Science Department CSCI 141 Computer Programming I Fall 2011 Laboratory Exercise 3 Objectives 1. Practice in use of the procedures from packages Ada.Text_IO and Ada.Integer_Text_IO. 2. Practice in use of selection and interaction constructs of the Ada language. 3. Practice in producing zipped tar files in Linux. Submitting Your Work In this lab exercise you will develop an Ada program to calculate the grades for students in a class. Save your program file (the .adb file) in the zipped tar file WnnnnnnnnLab3.tar.gz (where Wnnnnnnnn is your WWU W-number) and submit the file via the Lab Exercise 3 Submission item on the course web site. You must submit your program by 4:00pm on Friday, October 14, 2011. The Exercise In this lab exercise you will develop an Ada program to read in the scores of each student in the assessment items in a class, calculate the student's grade, collect data and report statistics on the class results. This lab exercise is to be completed in the Linux operating system. If your computer is currently running Windows, restart it in Ubuntu Linux. Grade Data Instead of typing the input data at the keyboard, you can use the data provided in two files from the course web site: Class1.txt and Class2.txt. When you run your program, you can redirect the program's input to come from one of these files, instead of from the keyboard. If you call your Ada program grader.adb then, after you have compiled, bound
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

Lab3 - Western Washington University Computer Science...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online