Write a code in Java, test and document (at least) three classes – a CourseWorkStudent class, aResearchStudent class (which both derive from the Student class) and a Client program. Make sure the rules below are followed for the code. Please specify how to get the code to work in NetBeans IDE. For coursework students:(a) There are two assignments, each marked out of a maximum of 100 marks and equally weighted.The marks for each assignment are recorded separately.(b) There is weekly practical work. The marks for this component are recorded as a total markobtained (marked out of a maximum of 20 marks) for all practical work demonstrated during thesemester.(c) There is one final examination that is marked out of a maximum of 100 marks and recordedseparately.(d) An overall mark (to be calculated within the class)(e) A final grade, which is a string (think of a way to avoid code duplication for calculating this)The final grade, for coursework students, is to be awarded on the basis of an overall mark, which is anumber in the range 0 to 100 and is obtained by calculating the weighted average of the student'sperformance in the assessment components. The criteria for calculating the weighted average is asdefined below:The two assignments together count for a total of 50% (25% each) of the final grade, thepractical work is worth 20%, and the final exam is worth 30% of the final grade.For research students:(a) There is a proposal component (marked out of a maximum of 100 marks).(b) One final oral presentation (marked out of a maximum of 20 marks).(c) One final thesis (marked out of a maximum of 100 marks).(d) An overall mark (to be calculated within the class)(f) A final grade, which is a string (think of a way to avoid code duplication for calculating this)The final grade, for research students, is to be awarded on the basis of an overall mark, which is anumber in the range 0 to 100 and is obtained by calculating the weighted average of the student'sperformance in the assessment components. The criteria for calculating the weighted average is asdefined below:The proposal component is worth 30% of the final grade, the final oral presentations are wortha total of 10%, and the final thesis is worth 60% of the final gradeA grade is to be awarded for coursework and research students as follows: An overall mark of 80 orhigher is an HD, an overall mark of 70 or higher (but less than 80) is a D, an overall mark of 60 orhigher (but less than 70) is a C, an overall mark of 50 or higher (but less than 60) is a P, and an overallmark below 50 is an N. The client program will allow entry of these data for several different student into an ArrayList andthen perform some analysis and queries.Your client class (program) will provide the user with a menu to perform the following operations.You will need to think of a way to ask the user whether they are dealing with the coursework studentor research student.

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

Write a code in Java, test and document (at least) three classes – a CourseWorkStudent class, a
ResearchStudent class (which both derive from the Student class) and a Client program. Make sure the rules below are followed for the code. Please specify how to get the code to work in NetBeans IDE.


For coursework students:
(a) There are two assignments, each marked out of a maximum of 100 marks and equally weighted.
The marks for each assignment are recorded separately.
(b) There is weekly practical work. The marks for this component are recorded as a total mark
obtained (marked out of a maximum of 20 marks) for all practical work demonstrated during the
semester.
(c) There is one final examination that is marked out of a maximum of 100 marks and recorded
separately.
(d) An overall mark (to be calculated within the class)
(e) A final grade, which is a string (think of a way to avoid code duplication for calculating this)
The final grade, for coursework students, is to be awarded on the basis of an overall mark, which is a
number in the range 0 to 100 and is obtained by calculating the weighted average of the student's
performance in the assessment components. The criteria for calculating the weighted average is as
defined below:
The two assignments together count for a total of 50% (25% each) of the final grade, the
practical work is worth 20%, and the final exam is worth 30% of the final grade.
For research students:
(a) There is a proposal component (marked out of a maximum of 100 marks).
(b) One final oral presentation (marked out of a maximum of 20 marks).
(c) One final thesis (marked out of a maximum of 100 marks).
(d) An overall mark (to be calculated within the class)
(f) A final grade, which is a string (think of a way to avoid code duplication for calculating this)
The final grade, for research students, is to be awarded on the basis of an overall mark, which is a
number in the range 0 to 100 and is obtained by calculating the weighted average of the student's
performance in the assessment components. The criteria for calculating the weighted average is as
defined below:
The proposal component is worth 30% of the final grade, the final oral presentations are worth
a total of 10%, and the final thesis is worth 60% of the final grade
A grade is to be awarded for coursework and research students as follows: An overall mark of 80 or
higher is an HD, an overall mark of 70 or higher (but less than 80) is a D, an overall mark of 60 or
higher (but less than 70) is a C, an overall mark of 50 or higher (but less than 60) is a P, and an overall
mark below 50 is an N.


The client program will allow entry of these data for several different student into an ArrayList and
then perform some analysis and queries.
Your client class (program) will provide the user with a menu to perform the following operations.
You will need to think of a way to ask the user whether they are dealing with the coursework student
or research student.

Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Adjacency Matrix
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