The last time I said that we needed to get going on the main module of the program, but it was going to take more than I thought it would. Now I have decided exactly what I want in the MENU module, which is part of the main module. I have decided that the menu must contain:
1. A TITLE 2. INPUT CLASSES 3. ADD PUPILS 4: INPUT OR DELETE GRADES 5. LIST PUPILS' AVERAGES 6. LIST ONE PUPIL'S GRADES WITH THE OPTIONS TO CHANGE/DELETE GRADES OR NAME 7. LIST PUPILS WITH ONE GRADE 8. CLEAR GRADES 9. ALTER GRADE WEIGHTING 10. ALPHABETIZE 11. SAVE RECORDS 12. AVERAGES WITH WEIGHTS 13. ANALYSIS 14. LIST CLASS NAMES 15. ALTER CLASS NAMES 16. EXIT PROGRAM
I figure that this is enough to start with. So let’s find out what each one is going to do.
INPUT CLASSES – This should be rather obvious, but I will need to know the maximum number of students for a class and what each class is to be named.
ADD PUPILS – Well, sometimes they give you more people than what you originally had so you need to have some extra room for those that enter later in the semester or year.
INPUT OR DELETE GRADES – Since this is a grading program, Ihave to put the grades in at some time. I also might want to delete some grades for various reasons.
LIST PUPILS’ AVERAGES – This is for the actual running average of each student in the class. This is what might actually go onto the report card.
LIST ONE PUPIL’S GRADES WITH THE OPTIONS TO CHANGE/DELETE GRADES OR NAME – Nobody is perfect! If a mistake is made or make-up work has been graded, you need to be able to put them in for each individual student.
LIST PUPILS WITH ONE GRADE – This may be unnecessary, but there are times when teachers need to see how everyone in the class faired on a ceratin paper.
CLEAR GRADES – This gives you the opportunity to keep all of the students names but clears all the grades and weights so you can start over for a different semester.
ALTER GRADE WEIGHTING – Sometimes certain grades are worth more than others.
ALPHABETIZE – All teachers like to keep track of the students in alphabetical order. When grade sheets are due, they are in alphabetical order.
SAVE RECORDS – This is to close each file with all of the changes and additions that have been made during the update. This will also give the opportunity to close the file with no changes, too.
AVERAGES WITH WEIGHTS – You need to be able to turn the weights ON – OFF when you are requesting a printout of the grades for each student, or an entire class for that matter.
ANALYSIS – This should be optional, but may teachers want to know what the high and low grades are for a certain paper, the variation, deviation, the means, etc.
LIST CLASS NAMES – This is just in case you forget what each class is being called.
ALTER CLASS NAMES – This is in case the classes change at some time during the year. i.e. first semester is ENG 2A, but second semester is ENG 2B.
EXIT PROGRAM – This is the final part that closes all files that might have accidently been left open and also makes a back-up of all the files. (You never know when something is going to cause your computer to go down with out having SAVED and backed-up your files.)
Besides all of this, I am going to need to figure out a module, or possibly more than one, for each one of these procedures. That is going to take a while. I will stop for the present, let you absorb the information, and next time we will actually write the module with all the necessary parameters. The nice thing about PASCAL is you can always go back in and change the module with very little effort.