Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hide Assignment Information Instructions Programming labs are practical exercises. The instructor will typically kick off these exercises by demonstrating how to start these and build

Hide Assignment Information
Instructions
Programming labs are practical exercises. The instructor will typically kick off these exercises by demonstrating how to start these and build up a design in class. The student is then responsible for continuing the work and completing the lab and testing the final applications complete functionality.
Students must then place the following in a single 7zip or zip file with the name format as given in the lab assignment:
All their source files or entire IDE project directory (which must include source files)
One or more screenshots of the application running
Part 1
Create a java class FileHandler in a program that reads and writes grades data from a text file on disk and performs some simple calculations on that data in the following ways: Use a looping (repetition) construct that allows the user to enter as much grade data as possible with a sentinel to end the loop and write the data to disk and close the file.
Use a second looping construct that allows the user to open and read a disk file and retrieve grades from it.
Part 2
Use the class you created in Part 1 and write grades into a text file and close the file. Open the file using your class functions and read the grade data into a simple data structure of your choosing and then calculate the GPA and print of the data in a nicely formatted command line display. Use the following grade/GPA allocations:

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

Data Science Project Ideas In Health Care Volume 1

Authors: Zemelak Goraga

1st Edition

B0CPX2RWPF, 979-8223791072

More Books

Students also viewed these Databases questions