CS 230 Fall 2004                                                           Assignment 10 – Arrays - Basic                                                              100 points

Assigned: 11/09/2004

Due: 11/16/2004 at the start of class

 

Pre-Lab (Do Before Lab):  Bring a new disk. Plan out tasks, objects, and events needed for program. Plan out major pseudocode

 

Main Assignment:

You have been recently hired by a professor to write a program to figure out curves for tests. The scores from the test should be read in from a file (scores.txt). These scores should be put into an array of scores as they are read in, since we will need to go back and revisit those scores. Calculate the mean for the scores. Determine the curve (in this simplified version of the program, the curve will be enough points added to raise the mean to 80 – but make sure you NEVER subtract points!) . Once the curve has been determined, add it to all student scores, and display the updated scores in a list box. Also, display the mean and curve in read-only text boxes as well. There is little interface capability needed – just provide an exit capability.   

 

Hand in:

 

Miscellaneous:

·        MAKE SURE YOUR PROGRAM WORKS!

·        Put YOUR NAME, and e-mail address in comments at the beginning of the program.

·        You MUST include comments that explain your program in order to get full credit.

·        Remember to use meaningful variable names, and indent to show the structure of the program (VB usually does this correctly).

·        Try to use good user interface design. Make clear what user needs to do and what the answers mean.