Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A hospital is a very busy place with a lot of patients and also a lot of employees to keep the system running perfectly. All

A hospital is a very busy place with a lot of patients and also a lot of employees to keep the system running perfectly. All people in the hospital have basic information like title, name, gender, address, and phone number. Employees of the hospital have extra information like employee-id and salary. For every 25 employees, there is a manager who is also an employee, but gets an allowance of 7% more than the salary. There are also doctors and nurses who are employees in the hospital. Doctors and nurses are assigned to a specific department, like dental, pediatric, cardiac, and so on. Then, there are two types of patients in the hospital, the In-Patients and the Out-Patients, while both have all the basic information, the In-Patients have a room number where they are admitted. You are required to draw the UML Class diagram and create Python classes to represent the different types of people in a hospital. Identify the classes and the relationships between them. Implement the classes in Python.

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

Big Data Systems A 360-degree Approach

Authors: Jawwad ShamsiMuhammad Khojaye

1st Edition

0429531575, 9780429531576

More Books

Students also viewed these Databases questions

Question

If ( A^2 - A + I = 0 ), then inverse of matrix ( A ) is?

Answered: 1 week ago

Question

What is computer neworking ?

Answered: 1 week ago

Question

Write down the circumstances in which you led.

Answered: 1 week ago