Question: Part 1 : Create a class diagram that represents the description below. Vickers school is an elementary school that has two types of stakeholders (

Part 1:
Create a class diagram that represents the description below.
Vickers school is an elementary school that has two types of stakeholders (teachers and students) where a teacher can be assigned many students.
Every stakeholder has an id, name, and gender. A student has number of classes assigned and an attendance score.
Part 2:
Create the classes needed to map the objects in the description above to code showing OOP practice.
Abstraction: The abstraction comes from the base class Stakeholder that will have a method (or function) called public abstract string DisplayProfile(); // returns a profile of a particular stakeholder
Encapsulation: Need to show the proper data, operation, and access modifiers.
Inheritance: Reuse as much as possible. Do not forget to "override DisplayProfile()"
Polymorphism: Show polymorphism behavior in your code.
Output example:
You chose to look at a student's profile. Here you go:
Student ID: 123124
Student name: Sanad
Number of classes assigned: 4
Attendance score: 100
In C#
 Part 1: Create a class diagram that represents the description below.

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!