Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a corporate hospital where we have n number of patients waiting for consultation. The amount of time required to serve a patient may vary,

Consider a corporate hospital where we have n number of

patients waiting for consultation. The amount of time required

to serve a patient may vary, say 10 to 30 minutes. If a patient

arrives with an emergency,he /she should be attended

immediately before other patients, which may increase the

waiting time of other patients. If you are given this problem

with the following algorithms how would you devise an

effective scheduling so that it optimizes the overall

performance such as minimizing the waiting time of all

patients. [Single queue or multi-level queue can be used].

Consider the availability of single and multiple doctors

Assign top priority for patients with emergency case, women,

children, elders, and youngsters. Patients coming for review

may take less time than others. This can be taken into account

while using SJF.

1. FCFS

2. SJF

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

Concepts In Discrete Mathematics

Authors: Mofidul Islam

1st Edition

9353146372, 9789353146375

More Books

Students also viewed these Mathematics questions

Question

Give an example and explain a less-than-successful program.

Answered: 1 week ago

Question

3. What values would you say are your core values?

Answered: 1 week ago