Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write in java please thanks Q2. ACME University, have requested the development of an application to collect exam result information for each student sitting exams.

image text in transcribed

write in java please thanks

Q2. ACME University, have requested the development of an application to collect exam result information for each student sitting exams. The application should allow the user to enter the name, ID number and exam results (which lie in the range of 0-100) for each student. The student population is made up of both undergraduate and postgraduate students and students are each required to sit five exams. The calculation of a pass mark differs for both undergraduate and postgraduate students. Undergraduate Students pass if the average mark of their 5 exam results is greater than or equal to 40. Postgraduate students pass if the average mark over the 5 exams is 50 or above. > Student name: String a id: long grade: String a test inte NUM_TESTS:int Student Student(String,long) setName(String):void set(long):void setGrade(String) void setTestScore(int,int) vold getTestScore(int).int getNum Tests():int getNamed-String getiD():long getGrade):String toString() String calculate Result():void Java Class Under Graduate Under Graduate() Under Graduate(String, long) calculateResult():void

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

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions