Question: *****construct a C++ program using inheritance, aggregation, composition, and file input output***** given the following instructions in the pictures(attatched two pictures UML diagram for class

*****construct a C++ program using inheritance, aggregation, composition, and file input output*****

given the following instructions in the pictures(attatched two pictures UML diagram for class declaration and two tables as input) please check properly and build it

Write a c++ programme using inheritance, aggregation , composition , the work that should be done is given bellow .

A university programme is gonna held a competition . the competition is meant to provide a platform to the students to exhibit their idea ,some notes

-It is an individual participation

-Each student must have project before hand

-Each student must find a supervisor which can be staff regardless their position. Not only lecturers but also technicians as well -as research officers also can be supervisor.

-Only one supervisor is allowed for each student.

-While for supervisors, they can only supervise one student ,

*****construct a C++ program using inheritance, aggregation, composition, and file input output*****

The UML class diagram

Suppose the class design has been done by other parties as shown in the supervisor table data table

No.

Supervisors name

Phone

Email

Position

1.

Dr. Erik Fsher

12345678

Erik345@umail.com

Lecturer

2.

Dr.Grace Veronika

43567798

Grace.ver@umail.com

Research officer

3.

Barry Kumberton

98765332

Barry112@umail.com

technician

Table for the supervisor input

NO

Students Name

Phone

Project

Programme

Email

1.

Rosario rogazzo

0987654321

Dengue testing kit

Electrical eng.

rogazzo@omail.com

2.

Marsha oliva

0998654321

Banking testing

Business studies

oliveisgreen@omail.com

3.

Jose carlos prieto

0987764321

Testing kit for hospital

Bio science

Jose.carlos@omail.com

Table for students input

Task:

-From UML implement all the classes and relationships.

-Create a Supervisor object and a Student object from the tables given

-Assign each student with a supervisor

-What if the first and second student wanted to change supervisor between them write down code to implement the situation

-the supervisor for the third student wants to withdraw being appointed as supervisor code this situation in your programme

-Print the final list .

Write a c+programme using inheritance, aggregation, composition, the work that should be done is given bellow A university programme is gonna held a competition. the competition is meant to provide a platform to the students to exhibit their idea ,some notes - 1. It is an individual participation 2. Each student must have project before hand 3. Each student must find a supervisor which can be staff regardless their position. Not only lecturers but also technicians as well as research officers also can be supervisor 4. Only one supervisor is allowed for each student s. While for supervisors, they can only supervise one student Persan aeame string od Comaeo tar: ttring Project The UML class diagram Suppose the class design has been done by other parties as shown in the supervisor table data table Supervisors Phone name Dr. Erik Fsher12345678 No. Email Position Erik345@umail.com Lecturer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!