Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You must submit ubmission four (4) files on D2L (Brightspace) to get credit for this assignment (upload each Indvdully for this assignment) Instructions 1. All

image text in transcribedimage text in transcribed

You must submit ubmission four (4) files on D2L (Brightspace) to get credit for this assignment (upload each Indvdully for this assignment) Instructions 1. All of the source code fil es (3): Program,java, Student,java, Auditor.java. Make sure your indicate all contributing authors as a comment in the Driver (Auditor). Implementi Implement a university Program class which maintains the name of a program (eg "SWE", "CS") and the number of core courses required to graduate in that program along with the number of elective courses required to graduate (we are simplifying degree requirements for this activity). The name of the program must be initialized when a Program is created, but the program requirements can be updated at any time so you must provide mutator methods (eg. setCore() and setElective). Since other parts of your system will need to use the requirements values, you must also provide accessor methods (eg. getCore0 and getElective(). Also Implement a Student class which set a student ld and startYear (as an int) by passing values to parameters in its constructor These fields cannot be changed once they are created. This class is responsible for tracking the number of core and selenee e courses (two separate tallies) completed by the student. Provide fields for these attributes and accessor and mutator methods for each. The mutator methods should accept a value which represents the number of additional courses to be added to the tallies of completed courses. lective The Student class should also maintain a status field. This field should be initialized to "NEW" when a student is created. u must provide an updatestatus0 method which automatically changes the status of a student from "NEW" to "IN PROGRESS" as soon as they have completed at least 1 course. For this method to work automatically (not called by have to be called by the accessor methods which add courses to the completed tallies. Since this method is only called from within the class, make it private. Finally, the Student class should also provide an audit) method which accepts a Program as a parameter and uses it t requirements with progress made by the student. This method should update status to "COMPLETE" when the student has met th program requirements o compar

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

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions

Question

Discuss the key people management challenges that Dorian faced.

Answered: 1 week ago

Question

How fast should bidder managers move into the target?

Answered: 1 week ago