Question: Java program Program: Grade Stats In this program you will create a utility to calculate and display various statistics about the grades of a class.

Java program  Java program Program: Grade Stats In this program you will create
a utility to calculate and display various statistics about the grades of
a class. In particular, you will read a CSV file (comma separated
value) that stores the grades for a class, and then print out
various statistics, either for the whole class, individual assignments, or individual students
Things you will learn Robustly parsing simple text files Defining your own

Program: Grade Stats In this program you will create a utility to calculate and display various statistics about the grades of a class. In particular, you will read a CSV file (comma separated value) that stores the grades for a class, and then print out various statistics, either for the whole class, individual assignments, or individual students Things you will learn Robustly parsing simple text files Defining your own objects and using them in a program Handling multiple input commands Specification When your program starts, it should print the program title and your name, then load the file given as a command line argument similar to the sorting assignment). If no file is given, or if file does not the exist, the program should print a usage message and exit. After loading the input file, the program should go into "command" mode, which allows the user to type in various commands and get results from the system. This is similar to the calculator assignment. You should show some kind of a prompt, such as to the user, and wait for commands. The commands that your system must process are as follows: 1. exit Causes the program to exit. 2. help Causes the program to print a list of commands accepted by the system. This same message should be printed if the user types an unrecognized command. The program must not crash in this case. 3. roll Prints out a list of students from the class (first and last name along with total points, and final grades (A, B, C, D, F) for each student. These should be properly aligned in columns, so that the grades line up above one another, and the student first name and student last name are left aligned. 4. search [partial name]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!