See the following figure. Untitled Student Roll No. Student Name Students GPA Calculation Marks in Bengali Marks in English Marks in Mathematics Grade Point Average Refresh Data Calculate GPA Save Data Close File Figure 1: Students GPA Calculation Develop a Java Application that builds a form as shown in Figure 1. X

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

 

 

Task 1:
See the following figure.
Marks
>= 90
>= 80
>= 70
>= 60
>= 50
Untitled
Students GPA Calculation
Student Roll No.
Student Name
Marks in Bengali
Marks in English
Marks in Mathematics
CSE110 (DMRH)
Grade Point Average
Refresh Data
Figure 1: Students GPA Calculation
Develop a Java Application that builds a form as shown in Figure 1.
First, the user enters the data and clicks on 'Calculate GPA' button. Once clicked, your program must
calculate the GPA of the student based on the following table.
}
Calculate GPA
Save Data
Close File
If the student gets below 50 in any subject, then the student fails and the GPA will be 0.0.
After calculating the GPA, it must be displayed in the appropriate text box as per Figure 1. Then, the user
clicks on 'Save Data' button and the student's roll no., student's name and GPA must be saved in a text file.
The file must be named after your student id such as 2021-1-60-001.txt.
Grade Point
5.0
4.0
3.0
2.0
1.0
When the user hits the 'Refresh Data' button all data currently entered in the form must be reset and the
user can again enter input.
class SaveData_2021_1_60_001{
X
At last, when the user enters Close File', the file where you saved data will be closed and the application
will terminate.
Class Naming Instructions:
All the class names must be named like Class1_<your-student-id>.
As an example,
Page 1
Transcribed Image Text:Task 1: See the following figure. Marks >= 90 >= 80 >= 70 >= 60 >= 50 Untitled Students GPA Calculation Student Roll No. Student Name Marks in Bengali Marks in English Marks in Mathematics CSE110 (DMRH) Grade Point Average Refresh Data Figure 1: Students GPA Calculation Develop a Java Application that builds a form as shown in Figure 1. First, the user enters the data and clicks on 'Calculate GPA' button. Once clicked, your program must calculate the GPA of the student based on the following table. } Calculate GPA Save Data Close File If the student gets below 50 in any subject, then the student fails and the GPA will be 0.0. After calculating the GPA, it must be displayed in the appropriate text box as per Figure 1. Then, the user clicks on 'Save Data' button and the student's roll no., student's name and GPA must be saved in a text file. The file must be named after your student id such as 2021-1-60-001.txt. Grade Point 5.0 4.0 3.0 2.0 1.0 When the user hits the 'Refresh Data' button all data currently entered in the form must be reset and the user can again enter input. class SaveData_2021_1_60_001{ X At last, when the user enters Close File', the file where you saved data will be closed and the application will terminate. Class Naming Instructions: All the class names must be named like Class1_<your-student-id>. As an example, Page 1
Expert Solution
steps

Step by step

Solved in 4 steps with 13 images

Blurred answer
Knowledge Booster
Returning value from Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage