Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

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

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions