You are on page 1of 1

Reg. No.

:
Name :

Winter 2021-22 – Phase 1, CAT-I Class Test – February 2022


Programme : BAI/BCE/MEI/MIM Semester : Winter 21-22-Phase-1
Course : Programming in Java Course Code : CSE3002
Faculty : Mr. RAJIT NAIR Slot/ Class No. : BL20212210000066
Time : 30 Mins. Max. Marks : 10

Answer all the Questions

Q.No. Question Description Marks


Create a hospital management system by implementing a class name patient for taking
the information of the patients. Next create method named as show inside the patient
class to display the individual patient details. Secondly create the class staff with
information of staff and class TakeInformation inherited from the class staff which
contains staffdisplay method for printing the staff information. Create the third class
named as facility with displayfacility method and the fourth class named as Ambulance
1 10
inherited from the facility class. Ambulance booking class will keep the information
related to the ambulance such as vehicle number, timein, timeout of the vehicles. Lastly
create the hospital class as the main class to display the entire information of the
hospital.
Note: In the entire program, inputs should be taken at the run time using the suitable
class or the package.


Page 1 of 1

You might also like