Name _________________________ CSC001- Major
Assignment 6 |
D.
Joseph Due: Wednesday, December 2 |
Additionally, Professor Ray would liek to see the low and high scores along with the class average. The midterm exam was worth 150 points and the final exam was worth 250 points for a grand total of 400 points. Your QBASIC program must print the possible grades and a complete list of all the student's names with their corresponding midterm score, final exam score, total combined score, percentage of total score, and the student's semester grade. Finally, your program will print out the high and low score, along with the class average. The format for your output should be similar to the following example:
Introduction to Computer Science Student Results Student Name Midterm Final Total Percent Grade ------------------------------------------------------------- POSSIBLE: 150 250 400 100.00% A ------------------------------------------------------------- Franklin 149 200 349 87.25% B Jefferson 100 237 337 84.25% B Kennedy 89 113 202 50.50% F Bush 130 242 372 93.00% A Lincoln 127 173 300 75.00% C ------------------------------------------------------------- High Score: 372 Low Score: 202 Class Average: 312 You do not need to follow this format exactly, but you must include all the information in a neat readable form. You must include REM statements that give your name, section, date, and purpose of the program. REM statements throughout the program would also be very helpful. Use the following percentages to determine grades in your class: >=90 and <= 100 = A II. Required Data The data will
consist of a list of names of students and corresponding midterm and final scores. The
number of students in the other T.A.'s sections is unknown, but will never exceed 100. (It
is assumed you will use arrays to store the data.)
III. Required Elements You must include the following to get full credit:
IV. Extra Credit Professor Ray has offered to buy pizza for you and the rest of the T.A.s if you do a good job! If your program
will also sort the list according to the student's name then you will get 5 points extra
credit!! V. Helpful Hints 1. Use Heading$
and DataLine$ strings to construct a format for your table. (See Lab
book, pp.135) Good Luck!
|
Return to: CSUS | Computer Science November 17, 1998 |