Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Develop a Java class to represent personal info Name (First, Last) You may add more data members if needed. Make sure to include constructors,

image text in transcribed

image text in transcribed

1) Develop a Java class to represent personal info Name (First, Last) You may add more data members if needed. Make sure to include constructors, getters, setters, toString and equal as necessary. If you like add read and print and any other utility method you wish. 2) Extend personal info class to drive a class for a student: List of Scores (A list to store 8 test scores) Grade Average You may add more data members if needed. Make sure to include constructors, getters, setters, toString and equals as necessary. If you like add read and print and any other utility method you wish. 3) Develop a Java class to represent a course: .Name (Course name) ID (Course Id) Location List of students (may use any type of a list) .Class average (Average of all the students in the class) Make sure to include getters and setters as necessary. If you like you may add read and print or any other helper functions as well 3) Develop a program to manage the course contents. The following operations are required: I. Print course content to a file (refer to sample output below) II. Sort the list of students: Alphabetical (Based on last name) III Search the list of students and print all the details of a student to the monitor (prompt user for the last name of the student). Print all the student data including test scores, average, Id, grade and Name nicely formatted. Add a new student to the list Delete a student from the list IV. VI.Edit student information (Name, and test scores only) VII. Print the list of students registered in a course in a tabular form to the monitor (Name, ID, Average, and Grade) Run the program to perform all the above tasks in the order given, make sure to have a method to perform each option, more if necessary Requirements: When the program starts it must ask for an input file name and then read the data from the file and storethem in the course object. If data was read successfully perform all the tasks listed above. If the file failed or there are no data stop the program with an error message and stop the program. Assume all data in the file are correct. Program must be modular (all tasks must be done in methods) Prompt user for all input and output file names Must use exception handler

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Systems A 360-degree Approach

Authors: Jawwad ShamsiMuhammad Khojaye

1st Edition

0429531575, 9780429531576

More Books

Students also viewed these Databases questions