Question: Your program should follow the below requirements: You will only need one class for this project called StudentReport In your class you will have the

Your program should follow the below requirements:

  1. You will only need one class for this project called StudentReport
  2. In your class you will have the following methods:
    1. main:
      1. It will control the flow of your program.
      2. It will prompt the user to select one of the following options:
        1. Print a list of all students

This will print out all the student names to the console.

      1. Generate a report card for a specific student
        1. If selected it will ask the user to enter the name of the student
        2. It will then call the writeFile method to generate the report card
      2. Display statistics.
        1. It will print out the average of the class, the highest total and the lowest total.
    1. readFile:
      1. it will read the .csv file and store the values in the arrays we have.
    2. writeFile:
      1. it will generate a report card for the selected student and save it as a .txt file.
  1. You can add any methods and variables you find suitable.
  2. Your report file could have any formatting, but it should include the following:
    1. The students name
    2. Their grade in every quiz, exam with the appropriate label.

ForExams will be worth 100pts

example: Exam one: 50

    1. Their Total.
    2. Their letter grade. (90 and above A, 80-89 B,70-79 C, 60-69 D, below 69 F)
  1. Other things to note:
    1. Only arraylists are allowed. (no regular arrays are allowed in your program)
    2. The file could have any number of students or assignments.
    3. You should not hard code anything related to the file.
    4. DO NOT USE MAP INTERFACE
    5. USE TRY/CATCH block for read/write

SAMPLE .Csv

Name,Exam1(if any),Exam2(if any),Exam3(if any),Exam4(if any),Exam5(if any),Exam6(if any),Exam7(if any).etc

Michael,8,9,10,60,80,100

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!