Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2 (5 Marks): CLO 4 You are asked to write a program for a Section Statistics. The application should define the grade per student out

image text in transcribed
Q2 (5 Marks): CLO 4 You are asked to write a program for a Section Statistics. The application should define the grade per student out of 100 and the total amount of orders. A. Create a JFrame Form Section Statistics Students Ust text area and Average text field is disabled for the user B. The lecturer can insert grades of the exams out of 100 in a single text field. When button "ADD is pressed, the program shall get the values from the text field and the Combo Box. The curve values available are (0,2 and 4) Then pass the two values to the class Section Student. The first value is a String that represents the 3 grades out of 100 separated by COMMAs. The second value is a double value from the combo box that represents the curve percentage. Then the GUI call toString to add it appeand it) in the Students List text area. The program shall get average and display it in its corresbonding text field as well when the ADD button is pressed. x Section Statists public class Section Student private int grades new in private double stodentGrade private static double total.count=0 Grades Project, Mid. Fal) 90,80,85 CUVE) public Section Student string Grades, double curve) String grades astring=aGrades split": for anti-01 1. ArrayIndexOutOfBoundsException: the pop-up message will be "Missing Grade" 2. Exeption; the pop-up message will be "Error in Entry" D. The button "CLR" will clear the text field, and return the curve seletion to 0

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

Step: 3

blur-text-image

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 Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions