Question: Why does a operating system loader set the kernel mode before jumping to the entry point of the O.S? 2. Suppose we have three processes.

  1. Why does a operating system loader set the kernel mode before jumping to the entry point of the O.S?

2. Suppose we have three processes.

Process ID

Required CPU time

Arrival Time

A

200 msec

50 msec

B

400 msec

150 msec

C

300 msec

0 msec

  1. Draw the execution timeline for the FIFO scheduling policy, and compute the average response time, average wait time, and average turnaround time. Please show your work.

  1. Assume the time slice of 100 msec and a zero context-switching cost. Draw the execution timeline for the round-robin scheduling policy, and compute the average response time, average wait time, and average turnaround time. Please show your work.

  1. Draw the execution timeline for the SJF scheduling policy, and compute the average response time, average wait time, and average turnaround time. Please show your work.

  1. Draw the execution timeline for the SRTF scheduling policy, and compute the average response time, average wait time, and average turnaround time. Please show your work.

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 Databases Questions!