0
$\begingroup$

First post here, glad I found this exchange. I am in my Operating Systems course at university learning process scheduling. In my homework assignment we have to fill out a simulated scheduling chart along with the corresponding Gant chart. The arrival time of the first process is at time 0, and it's service time is 5 seconds. The second process doesn't arrive until time 7. The time quantum is 6. How do I fill out the gant chart if nothing is in the queue?

$\endgroup$
  • $\begingroup$ You have to show some effort, otherwise no help. $\endgroup$ – Sumeet Feb 22 '17 at 6:13
  • $\begingroup$ Are you asking what an operating system does if there is no task that is ready to run? If so, that's something that some reading or web searching should be able to answer. $\endgroup$ – Pseudonym Jun 14 '17 at 7:20
  • 1
    $\begingroup$ What you should do in this situation seems very clear from, say, the Wikipedia page on Gantt charts. We expect you to do some basic research before asking others for help. $\endgroup$ – David Richerby Jun 14 '17 at 9:29
1
$\begingroup$

your first process will take time only upto 5 seconds as its service time is only upto 5 seconds and then you have to keep blank space between 5-7 and then your next process arriving at 7 would be processed,i think.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.