# Question Solved1 Answer2) The Eclipse Project folder must contain the following: 1. The following directory structure: - bin/ - Compiled Java files. - $$\mathrm{src} /$$ - Java source code files: $$\mathrm{mru} /$$ grade/application/ $$\mathrm{mru} /$$ grade/controller/ $$\mathrm{mru} / \mathrm{grade} / \mathrm{model} /$$ $$\mathrm{mru} / \mathrm{grade} / \mathrm{view} / 2) The Eclipse Project folder must contain the following: 1. The following directory structure: - bin/ - Compiled Java files. - \( \mathrm{src} /$$ - Java source code files: $$\mathrm{mru} /$$ grade/application/ $$\mathrm{mru} /$$ grade/controller/ $$\mathrm{mru} / \mathrm{grade} / \mathrm{model} /$$ $$\mathrm{mru} / \mathrm{grade} / \mathrm{view} /$$ - $$\mathrm{doc} /$$ - Generated Javadoc files. - Ensure the private option is checked and everything is included in the generated documentation. - lib/ - Any third-party libraries. This folder can be empty. - res/- Any resource or data files.Assignment Instructions 1. Use only Eclipse IDE. 2. The due date for this assignment is posted in $$\mathrm{D} 2 \mathrm{~L}$$. The Problem In this assignment we are implementing a grade calculation system (explained later) along with some reports such as finding the top students with highest grade. The application will provide students with marks for three different courses. The program must have the following features: - When the program starts up, you must check to see if a file called StudentInfo.txt exists in the res directory. If it does exist, you must load the info from the file into an ArrayList, each record in the file is (should be) formatted as follows: Name,Phy,Chem, Math e.g.: Munima, $$85,90,100$$ If the file does not exist, you must display an error message to the user. - After the start-up, you must present a menu that allows them to choose from the following options:Select one of the following options: (A) Display all Grades (S) Search Student (T) Top Students (E) Exit Enter your choice: - The options above must be selectable with the given letters. Both upper- and lower-case characters should be acceptable (This requirement applies to all of the menus in this assignment). - An invalid input should print an error message and re-prompt for an acceptable response (This also applies to all user inputs as well). (A) Display all Grades: This option prints the students name and the total marks with the grade. The rules for grades will be explained later(S) Search Student: This option asks for the student's name to find and will display the marks and the grade of the student. If the student's name is not in the database it will print an error message. Enter the name of the student: (T) Top Students: This option shows the information of the students with highest grades and returns to the main menu after pressing "Enter":To calculate the grade, you should first calculate the average marks for the student for the three courses provided in the data file. You display the average as the Total marks and depending on the average marks the grade will be calculated as follows:*@@version 1.0 */ Method with no parameters and no return type /** * <a description of what the method does $$\rangle$$ */ Method with no parameters and has a return type $$/ * *$$ * 〈a description of what the method does * @return <a description of what is returned, including if errors are */Method with parameters and no return type $$/ * *$$ * 〈a description of what the method does> * */ Method with parameters and has return type /** * 〈a description of what the method does〉 * * @return */

FIDILV The Asker · Computer Science

Student txt file is given below.

Pls answer only in JAVA.

Student txt file:

Tim ,75,80,99
Felix,90,85,100
Arnold Finance,60,70,50
Bernie Personnel,40,60,30
Carole Research,80,85,90

Transcribed Image Text: 2) The Eclipse Project folder must contain the following: 1. The following directory structure: - bin/ - Compiled Java files. - $$\mathrm{src} /$$ - Java source code files: $$\mathrm{mru} /$$ grade/application/ $$\mathrm{mru} /$$ grade/controller/ $$\mathrm{mru} / \mathrm{grade} / \mathrm{model} /$$ $$\mathrm{mru} / \mathrm{grade} / \mathrm{view} /$$ - $$\mathrm{doc} /$$ - Generated Javadoc files. - Ensure the private option is checked and everything is included in the generated documentation. - lib/ - Any third-party libraries. This folder can be empty. - res/- Any resource or data files. Assignment Instructions 1. Use only Eclipse IDE. 2. The due date for this assignment is posted in $$\mathrm{D} 2 \mathrm{~L}$$. The Problem In this assignment we are implementing a grade calculation system (explained later) along with some reports such as finding the top students with highest grade. The application will provide students with marks for three different courses. The program must have the following features: - When the program starts up, you must check to see if a file called StudentInfo.txt exists in the res directory. If it does exist, you must load the info from the file into an ArrayList, each record in the file is (should be) formatted as follows: Name,Phy,Chem, Math e.g.: Munima, $$85,90,100$$ If the file does not exist, you must display an error message to the user. - After the start-up, you must present a menu that allows them to choose from the following options: Select one of the following options: (A) Display all Grades (S) Search Student (T) Top Students (E) Exit Enter your choice: - The options above must be selectable with the given letters. Both upper- and lower-case characters should be acceptable (This requirement applies to all of the menus in this assignment). - An invalid input should print an error message and re-prompt for an acceptable response (This also applies to all user inputs as well). (A) Display all Grades: This option prints the students name and the total marks with the grade. The rules for grades will be explained later (S) Search Student: This option asks for the student's name to find and will display the marks and the grade of the student. If the student's name is not in the database it will print an error message. Enter the name of the student: (T) Top Students: This option shows the information of the students with highest grades and returns to the main menu after pressing "Enter": To calculate the grade, you should first calculate the average marks for the student for the three courses provided in the data file. You display the average as the Total marks and depending on the average marks the grade will be calculated as follows: *@@version 1.0 */ Method with no parameters and no return type /** * * < include all parameters in a similar way as above> */ Method with parameters and has return type /** * 〈a description of what the method does〉 * < include all parameters in a similar way as above> * @return */
More