Part 1: Create a java class FileHandler in a program that reads and writes grades data from a text file on disk and perf

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Part 1: Create a java class FileHandler in a program that reads and writes grades data from a text file on disk and perf

Post by answerhappygod »

Part 1 Create A Java Class Filehandler In A Program That Reads And Writes Grades Data From A Text File On Disk And Perf 1
Part 1 Create A Java Class Filehandler In A Program That Reads And Writes Grades Data From A Text File On Disk And Perf 1 (61.8 KiB) Viewed 58 times
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: A=4.0, A- = 3.7, B+ = 3.3, B = 3.0, B- = 2.7, C+=2.3, C= 2,0, C-= 1.7, D+ = 1.3, D = 1.0, D-= 0.7, F = 0.0. Part 3: Design a JavaFX GUI application that Uses the class FileHandler class internally to input the grades data from GUI into some data structure in the application class which will then be sent to disk. Display the grade data read from a file and display it in a JavaFX GUI control element of your choosing. Explain your choice of display control element - i.e. what it is and how it works Remember to create an 'OK' button to finally terminate the GUI application.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply