Red Sands University (RSU) is a popular brand of education in Bidiya. RSU offers business degree for undergraduate programs. It wants to have an information system to calculate the GPA of the students appearing for the examination. Write a java program as per following scenario: As a first step, you have been asked to develop a mini system in Java to read data of (n) students. I. The program must read the student id, name and marks scored in 5 modules - module1, module2, module3, module4, and module5. Each module is of 10 credits. III. The program must determine the grade based on the marks scored using table 1.1 given below: Table 1.1: Determining grades A А- B+ B В- C+ C- D+ D D- F 91- 87- 84- 80- 77- 74- 70- 66- 60- 5- 50- 0- 100 90 86 83 79 76 73 69 65 59 54 49 IV. Based on the grade, the program must map the equivalent numerical value of grade for each module using table 1.2 given below: Table 1.2: Mapping grades to numerical values Grade Numerical value A 4.0 A- 3.67 В+ 3.33 B 3.0 В- 2.67 C+ 2.33 2.0 C- 1.67 D+ 1.33 D 1.0 D- 0.7 F V. The program needs to calculate and display the Grade Point Average (GPA). You may use the following as an example to understand this whole business process. Example: = 36.7 = 30.0 module1 89 A- 10 3.67 X 10 module2 82 В 10 3.0 X 10 module3 85 B+ 10 3.33 X 10 = 33.0 module4 92 A 10 4.0 X 10 = 40.0 module5 77 B- 10 2.67 X 10 = 26.7 50 50 166.7 Sem. GPA = 166.7/50= 3.334 Rounded = 3.34 The program must use array of objects to read the student id, name, and marks in 5 modules for n students. Format the output, especially the numeric values to two decimal places. Create a test case for sample inputs, work out manually the possible output for these inputs. Verify that the program actually produces the same output.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Please answer 

IV.

V.

The question & output in the images 

Red Sands University (RSU) is a popular brand of education in Bidiya. RSU offers business degree
for undergraduate programs. It wants to have an information system to calculate the GPA of the
students appearing for the examination. Write a java program as per following scenario:
As a first step, you have been asked to develop a mini system in Java to read data of (n)
students.
I.
The program must read the student id, name and marks scored in 5 modules -
module1, module2, module3, module4, and module5. Each module is of 10 credits.
III.
The program must determine the grade based on the marks scored using table 1.1 given
below:
Table 1.1: Determining grades
A
А-
B+
B
В-
C+
C-
D+
D
D-
F
91-
87-
84-
80-
77-
74-
70-
66-
60-
5-
50-
0-
100
90 86
83 79
76
73
69
65
59
54
49
IV.
Based on the grade, the program must map the equivalent numerical value of grade for
each module using table 1.2 given below:
Table 1.2: Mapping grades to numerical values
Grade
Numerical value
A
4.0
A-
3.67
В+
3.33
B
3.0
В-
2.67
C+
2.33
2.0
C-
1.67
D+
1.33
D
1.0
D-
0.7
F
V.
The program needs to calculate and display the Grade Point Average
(GPA). You may use the following as an example to understand this whole
business process.
Example:
= 36.7
= 30.0
module1 89
A-
10
3.67 X 10
module2
82
В
10
3.0 X 10
module3
85
B+
10
3.33 X 10
= 33.0
module4 92
A
10
4.0 X 10
= 40.0
module5 77
B-
10
2.67 X 10
= 26.7
50
50
166.7
Sem. GPA = 166.7/50= 3.334
Rounded = 3.34
The program must use array of objects to read the student id, name, and marks in 5 modules for
n students. Format the output, especially the numeric values to two decimal places.
Create a test case for sample inputs, work out manually the possible output for these
inputs. Verify that the program actually produces the same output.
Transcribed Image Text:Red Sands University (RSU) is a popular brand of education in Bidiya. RSU offers business degree for undergraduate programs. It wants to have an information system to calculate the GPA of the students appearing for the examination. Write a java program as per following scenario: As a first step, you have been asked to develop a mini system in Java to read data of (n) students. I. The program must read the student id, name and marks scored in 5 modules - module1, module2, module3, module4, and module5. Each module is of 10 credits. III. The program must determine the grade based on the marks scored using table 1.1 given below: Table 1.1: Determining grades A А- B+ B В- C+ C- D+ D D- F 91- 87- 84- 80- 77- 74- 70- 66- 60- 5- 50- 0- 100 90 86 83 79 76 73 69 65 59 54 49 IV. Based on the grade, the program must map the equivalent numerical value of grade for each module using table 1.2 given below: Table 1.2: Mapping grades to numerical values Grade Numerical value A 4.0 A- 3.67 В+ 3.33 B 3.0 В- 2.67 C+ 2.33 2.0 C- 1.67 D+ 1.33 D 1.0 D- 0.7 F V. The program needs to calculate and display the Grade Point Average (GPA). You may use the following as an example to understand this whole business process. Example: = 36.7 = 30.0 module1 89 A- 10 3.67 X 10 module2 82 В 10 3.0 X 10 module3 85 B+ 10 3.33 X 10 = 33.0 module4 92 A 10 4.0 X 10 = 40.0 module5 77 B- 10 2.67 X 10 = 26.7 50 50 166.7 Sem. GPA = 166.7/50= 3.334 Rounded = 3.34 The program must use array of objects to read the student id, name, and marks in 5 modules for n students. Format the output, especially the numeric values to two decimal places. Create a test case for sample inputs, work out manually the possible output for these inputs. Verify that the program actually produces the same output.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Image Element
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education