use JAVA, please Use of Classes, methods, and various control statements Scenario: A registration officer in an academic institution wants to display the Student transcript in a given semester after entering the required student details. A student is characterized by an ID, full name, the semester in registered in, gender, and age. The student can take 4 modules every semester and has two assessments in each module.
use JAVA, please
Use of Classes, methods, and various control statements
Scenario: A registration officer in an academic institution wants to display the Student transcript in a given semester
after entering the required student details. A student is characterized by an ID, full name, the semester in
registered in, gender, and age. The student can take 4 modules every semester
and has two assessments in each module.
You are requested to write the program that will help the officer to display the indicated transcript using
Classes, methods, arrays, and various control statements.
The following shows an example of the execution of this program.
Question:
A) Create the class which must have a normal
constructor and 5 attributes mentioned in the scenario
!Note: The marks of the student in different modules must be stored using arrays.
b. Include proper methods for setting and getting the attributes of the class .
c. In the class, create a method using the array concept
and any type of loop:
Finding the highest or lowest mark of the student in all assessments.
d. Draw the tracing table that shows an example of the execution of the previous methods.
e. Create a method that will display the transcript of the student, which must include the student
details and at all the results found in C by calling the respective methods.
f. Create the principal program, which will complete the following tasks :
i. Create a new Student object by reading the required details and by applying at least
one type of data validation of your choice on the input.
ii. Read and save the list of module names and the list of module marks awarded to the
student in the two assignments.
iii. Display the transcript of the student by calling the adequate method.
iv. Repeating the previous tasks until the user decides to exit.
Step by step
Solved in 4 steps with 6 images