

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Details about an assignment for the software engineering-1 (cs504) course in the fall 2021 semester. The assignment includes instructions for four questions related to creating classes, subclasses, and operations for a doctor and patient system. Students are required to write the correct syntax for the given operations and define the attributes for the user, doctor, and admin classes.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Assignment No. 02 Semester: Fall 2021 Software Engineering-1 (CS504)
Total Marks: 20 Due Date: 29-12- Total Questions : 04 Total Marks: 20 Question No. 1: (3 marks) Class Name Subclasses User Inherited Classes 1.Doctor 2.Patient 3.Admin Question No. 2: (4 marks) (-0.25 from each operation if syntax is incorrect) Patient class Operations 1.viewDoctorTimetable(); 2.bookAppointment(); 3.searchDoctor(); 4.cancelAppointment(); Question No. 3: (1.5+1.5 = 3 marks) (-0.25 from each operation if syntax is incorrect) Doctor class Operations 1.checkUpcomingAppointments(); 2.viewPatientMedicalHistory(); Question No. 4: (10 marks) User String DoctotName; String AdminName; Int DoctorAge; Int AdminAge; String AdminGender; String DoctorSpecialization; viewPatientHistory(); addRecords(); viewScheduledAppointments(); UpdateRecords();
Doctor String DoctorName; Int DoctorAge; String DoctorSpecialization; viewPatientHistory(); viewScheduledAppointments(); BEST OF LUCK Admin String AdminName; Int AdminAge; String AdminGender; addRecords(); UpdateRecords();