Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project 2 Classes and Top-down Design Overview In software development projects, it is important to be able to identify objects and classes in a project

Project 2 Classes and Top-down Design

Overview In software development projects, it is important to be able to identify objects and classes in a project description. Equally important is the ability to follow a systematic approach to creating a solution to the problem. In this project, you are asked to utilize the design skills discussed in class to develop a solution to a programming problem.

Learning Objectives The focus of this assignment is on the following learning objectives:

Be able to identify class and objects from a problem description Be able to identify class functionality Be able to identify an incremental approach to developing the program solution Be able to implement the program solution based on the identified approach Understand how the program solution can evolve over time Prerequisites To complete this project, you need to make sure that you have the following:

C++ and the g++ compiler A C++ IDE or text editor (multiple editors exist for developers) An understanding of the material presented in class. An understanding of the material covered in ZyBooks. Problem Description You are to implement a program for scheduling a doctors daily schedule. For this project, you will need to utilize the concepts of classes and top-down design that has been discussed in class. The list of requirements and constraints for the system are as follows:

1. The system must be able to manage multiple patients and doctors.

2. For each doctor, the system records the doctors name, age, and a specialty. For each patient, the system records the patients name, age, and gender. NOTE: the files DoctorList.h, DoctorList.cpp, PatientList.h, and PatientList.cpp have static arrays that have been prepopulated with unique names for the doctors and patients for your convenience. These arrays, since they are static, can be accessed in any source file that includes the .h file.

3. The names of all patients and doctors are unique and can be used to locate the information on a specific patient or doctor.

4. Each doctor has a maximum of eight appointments in a day, each an hour long, with the workday starting at 08:00AM. It is the responsibility of the user to schedule appointments with a doctor.

5. The user can add an appointment by indicating the doctor, the time slot, and the patient. This action fails if the selected time slot is already filled.

6. The user can remove an appointment by indicating the doctor and the time slot that should be freed.

7. User can print all patient information.

8. User can print all doctor information, including a list of their timeslots and their status (if they are free or the name of the patient that they will see during that appointment).

9. User can enter name of doctor and a time slot to see if that appointment time is available.

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

More Books

Students also viewed these Databases questions

Question

Explain the different types of marketing strategies.

Answered: 1 week ago

Question

Explain product positioning.

Answered: 1 week ago