Question: Don't import enqueue dequeue Task 2 Klinik Bukit Jalil has 13 patients today. These patients have different medical complains which can be categorised into General

Don't import enqueue dequeue

Don't import enqueue dequeue Task 2 Klinik Bukit Jalil has 13 patients

Task 2 Klinik Bukit Jalil has 13 patients today. These patients have different medical complains which can be categorised into General Consultation . Obstetrics and Gynaecology Minor Surgery. This task is to create queue for each category above for these 13 patients. Print all 3 queues showing the patient names. Then, use Command Line Interface (CLI) to allow a category to be chosen, and patient to be called, and update the queue (pop). i. Tips: student shall simulate/generate name of patient and date/time of visit on his/her own. For all visits in this task, use the date which you are doing this task. Show this table in your report, avoid using online data or using table generated by your classmate. i. Being able to add schedule (time) to calling of patients would be a plus. iii. Screen examples of adding patients and calling patients on the CLI is shown in Figure 2 and Figure 3 below. ould you like to call patients? (yeso) : no ould you like to call patients? (yeso) : no ould you like to call patients? (yeso) : no Please enter patient name. Please enter patient name. lease enter patient name. Edward Ong landy Pang Nancy Lee lease provide nature of visit: lease provide nature of visit: Please provide nature of visit: [1] General Consultation [1] General Consultation [1] General Consultation [2] Obstetrics and Gynaecology [2] Obstetrics and Gynaecology [2] Obstetrics and Gynaecology [3] Minor Surgery [3] Minor Surgery [3] Minor Surgery Consultation queue consultation queue Consultation queue Celine Kang Celine Kang Celine Kang Joyce Wong Joyce Wong Joyce Wong Edward One Edward Ong Edward One and G queue and G queue and G queue landy Pang Mandy Pang Surgery queue urgery queue surgery queue Nancy Lee Figure 2: Screen Example of Adding Patients to the Queues

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!