Ad Code

CS504 ASSIGNMENT 2 SOLUTION FALL 2021

 

VISIT ANY MORE FREELY SOLUTIONS

CS504 ASSIGNMENT 2 SOLUTION FALL 2021

Due Date: 29 Dec 2021
Total Marks: 20
Uploading Instruction:
Submit your assignment solution in doc/docx file format only.
Question 1:
You are required to identify inherited classes for the following “User” class of
the “Doctor Patient Portal” using the concept of inheritance in Object
Oriented Programming.
Solution:
VISIT ANY MORE FREELY SOLUTIONS

Class Name Subclasses
User Inherited Classes1. Admin
2. Doctor
3. Patient
Question 2:
Keeping in view the Functional requirements for “Doctor Patient Portal”.
Identify major operations for “Patient” class.
Solution:
Patient class Operations1. searchDoctor();
2. viewDoctorTimetable();
3. bookAppointment();
4. cancelAppointment();


Question 3:
Keeping in view the Functional requirements for “Doctor Patient Portal”.
Identify major operations for “Doctor” class.
Solution:
Doctor
class
Operations1. checkUpcomingAppointment();
2. viewPatientMedicalHistory();
Question 4:
Given the class User, which is identified as a low cohesive class, you are
required to create a highly cohesive class(es) out of this class comprising
of all essential elements: class name, attributes, and operations.
Solution:
VISIT ANY MORE FREELY SOLUTIONS

String AdminName;
Int AdminAge;
String AdminGender;
addRecords();
UpdateRecords();

Doctor
String DoctotName;
Int DoctorAge;
String DoctorSpecialization;
viewPatientHistory();
viewScheduledAppointments();

VISIT ANY MORE FREELY SOLUTIONS

Don't copy-paste the same answer.
Make sure you can make some changes to your solution file
before submitting copy paste solution will be marked zero.
If you found any mistake then correct yourself and inform me.
Before submitting an assignment check your assignment
requirement file.
If you need some help and question about file and solutions.
MORE ANY ASSIGNMENTS SOLUTION FREE

Post a Comment

0 Comments

Close Menu