Your task is to program all the following points in three phases: Phase 1: Coding the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Your task is to program all the following points in three phases: Phase 1: Coding the structural part of your program (1) Create a UML class diagram that models at least three classes (vou can add more classes as you see necessary) as follows: a class called Course with courseCode, courseName, and creditHours; a superclass called FacultyMember with FacultylD, firstNome, lastName, academicRank, and academicSpecialization; a course Convener subclass inherits from the FacultyMember class with specific member variables representing the courses and members (Lecturers and TAs) whom he/she is responsible of; Lecturers and TAs are also subclasses that inherit from FacultyMember class with some specific member variables (i.e., maximumNumberOfCourses, quotaOfCreditHours they can take, and assignedCourses). (2) Create a project called TaibahCS and implement your class diagram that must include: Course, FacultyMember, Convener, Lecturers, and TAs. (3) Declare some overloaded constructors with parameters for all classes, and some appropriate methods as you suggest. Phase 2: Executing your implementation using Console Application (4) Write a main(.) method, and populate the TaibahCS with 16 Courses, 5 Conveners, 6 Lecturers and 7 TAs. Here, you should provide a mechanism to initialize all object instances by asking the user to enter their info. (5) Declare and implement two methods called allocateCourse( .) and dropCourse( .) for assigning/dropping courses to/from Lecturers and TAs. (6) When allocating a course (e.g. to a Lecturer), maximum number of courses and quota of credit-hours must not be exceeded. Use the exception handling mechanism to handle such situations. (7) Declare and implement methods to display the faculty members information, including the details of their courses (override toString( )). (8) Declare and implement a method to generate a report about all the details in the system such as lists of courses and members (based on their types), unallocated courses, member loads and the names of their courses, etc. Phase 3: Executing your implementation using Javafx/Swing | (9) Design and implement some suitable GUI interfaces that allow to manage the functionality of your project (i.e. inserting data, displaying information mentioned in points (6, 7 and 8). Note: the work will be assessed NOT on the quantity but on the quality of the design and implementation. Most generally, you will be assessed in accordance with the following criteria: o meeting the project requirements; o mastery and the use of some advanced 0OP features such as overloading/overriding methods and classes that implement reference-type interfaces; o clear understanding; and o cooperation between the team. Your task is to program all the following points in three phases: Phase 1: Coding the structural part of your program (1) Create a UML class diagram that models at least three classes (vou can add more classes as you see necessary) as follows: a class called Course with courseCode, courseName, and creditHours; a superclass called FacultyMember with FacultylD, firstNome, lastName, academicRank, and academicSpecialization; a course Convener subclass inherits from the FacultyMember class with specific member variables representing the courses and members (Lecturers and TAs) whom he/she is responsible of; Lecturers and TAs are also subclasses that inherit from FacultyMember class with some specific member variables (i.e., maximumNumberOfCourses, quotaOfCreditHours they can take, and assignedCourses). (2) Create a project called TaibahCS and implement your class diagram that must include: Course, FacultyMember, Convener, Lecturers, and TAs. (3) Declare some overloaded constructors with parameters for all classes, and some appropriate methods as you suggest. Phase 2: Executing your implementation using Console Application (4) Write a main(.) method, and populate the TaibahCS with 16 Courses, 5 Conveners, 6 Lecturers and 7 TAs. Here, you should provide a mechanism to initialize all object instances by asking the user to enter their info. (5) Declare and implement two methods called allocateCourse( .) and dropCourse( .) for assigning/dropping courses to/from Lecturers and TAs. (6) When allocating a course (e.g. to a Lecturer), maximum number of courses and quota of credit-hours must not be exceeded. Use the exception handling mechanism to handle such situations. (7) Declare and implement methods to display the faculty members information, including the details of their courses (override toString( )). (8) Declare and implement a method to generate a report about all the details in the system such as lists of courses and members (based on their types), unallocated courses, member loads and the names of their courses, etc. Phase 3: Executing your implementation using Javafx/Swing | (9) Design and implement some suitable GUI interfaces that allow to manage the functionality of your project (i.e. inserting data, displaying information mentioned in points (6, 7 and 8). Note: the work will be assessed NOT on the quantity but on the quality of the design and implementation. Most generally, you will be assessed in accordance with the following criteria: o meeting the project requirements; o mastery and the use of some advanced 0OP features such as overloading/overriding methods and classes that implement reference-type interfaces; o clear understanding; and o cooperation between the team.
Expert Answer:
Answer rating: 100% (QA)
I have made the UML class diagram using lucid chart here I have declared 5 classes o... View the full answer
Related Book For
Organic Chemistry
ISBN: 978-1118133576
11th edition
Authors: Graham Solomons, Craig Fryhle, Scott Snyder
Posted Date:
Students also viewed these general management questions
-
Your task is to prepare isopropyl methyl ether by one of the following reactions. Which reaction would give the better yield? Explain your answer. (1) Isopropyl methyl ether Or (2) Isopropyl methyl...
-
Your application should use the class you created in the earlier tasks. Your class represents one product that your company sells. Your class should have at least 3 attributes (instance variables)....
-
a. Prepare a UML class diagram that captures Rubber Duck's brewing process. b. Using the preceding information and the following attributes list, prepare a listing of the relational tables,...
-
An unknown compound A of molecular formula of C10H180 reacts with H2S04 and heat to form two compounds (B and C) of molecular formula C10H16. B and C both react with H2 over Pd/C to form decalin....
-
Are there any retailers that should not use personal selling? Explain your answer.
-
A particular kind of emergency breathing apparatusoften placed in mines, caves, or other places where oxygen might become depleted or where the air might become poisonedworks via the following...
-
Air at standard temperature and pressure flows through a 1 -in.-diameter galvanized iron pipe with an average velocity of \(8 \mathrm{ft} / \mathrm{s}\). What length of pipe produces a head loss...
-
What are the strength and direction of the electric field at the position indicated by the dot in FIGURE P23.37? Give your answer (a) In component form. (b) As a magnitude and angle measured cw or...
-
Discuss the regulatory frameworks governing Process Safety Management in different regions (e.g., OSHA's PSM standard in the United States, Seveso Directive in Europe). How do these frameworks...
-
Donna Jamison was recently hired as a financial analyst by Computron Industries, a manufacturer of electronic components. Her first task was to conduct a financial analysis of the firm covering the...
-
1. There are 100 seats in a restaurant open for dinner only M-F. The restaurant is open 4-11 and the average dine time is 75 minutes. Average guest check is 22.95. Calculate monthly revenue for the...
-
3. The concentration of chlorine in treated water decreases with time through volatilization and reaction. Experience has shown that this process can be modeled with a first-order rate expression...
-
What is cognitive overload? Have you ever experienced cognitive overload and if so, how did it affect your motivation, learning and retention of the material. Discuss your experience with cognitive...
-
Hello, I need a program written in Java. The requirements: Create a class/struct. Members: MaxSize const = 10 Define an array that holds 10 items. Count - indicates how many items are on the queue....
-
3.500 kg/h of steam drives a turbine. The steam enters at a linear velocity of 60 m/s and leaves at a point 5 m below the turbine inlet at a velocity of 360 m/s. The turbine produces 70 kW of power...
-
What is job satisfaction? What determines whether the work satisfies an individual? Which are the influences of job satisfaction?
-
17.12 LAB: Longest string Write a program that takes two strings and outputs the longest string. If they are the same length then output the second string. Assume the strings are no longer than 25...
-
Swifty company is a publicly held corporation whose $1 par value stock is actively traded at $30 per share. The company issued 3400 shares of stock to acquire land recently advertised at $93000. When...
-
5-Chloro-1,3-cyclopentadiene (below) undergoes SN1 solvolysis in the presence of silver ion extremely slowly even though the chlorine is doubly allylic and allylic halides normally ionize readily...
-
There are four amides with the formula C3H7NO. (a) Write their structures. (b) One of these amides has a melting and a boiling point that are substantially lower than those of the other three. Which...
-
(a) Write a mechanism for the following reaction. (b) What general conditions would you use to ensure a good yield of the product? (c) What general conditions would you use to carry out the reverse...
-
Input the other metrics from the individual tax returns (e.g., income from wages and salaries, interest earned, and estimated tax payments). a. Review the dollars horizontally across the three years...
-
Input the IRS Schedules C from the 20132015 income tax returns into a spreadsheet. a. Add percent columns to the right of dollar column for each year. b. Calculate common-sized percentages in the...
-
Go to a business library or university librarian and locate RMA Annual Financial Statement Studies or a similar publication and locate convenience stores and comparable ratios (e.g., cost of goods...
Study smarter with the SolutionInn App