May 02, 2023

### Question 1

a.) Due to the fact that each work requires a maximum of 3 devices, the maximum number of active jobs ready to begin execution is 4. As a result, the maximum number of active jobs on the system is 4.

b.)  The least number of gadgets that can be idle, according to the conservative policy, is 2.

The processes can only be completed with a maximum of three devices.

If four jobs are conducted on the system, it will take 12 devices to finish the four jobs, with the remaining 2 devices being idle from the start.

According to the conservative policy, the maximum number of idle devices is limited to 6.

The extra four allotted devices will be idle if the four jobs execute on the system using two devices.

In addition, 2 devices have been idle from the start.

Hence, a total of 4+2=6 devices will be idle at the maximum.

### Question 2

a) The maximum number of jobs that can be in progress at once is 4. This  because this is also the maximum number of active jobs ready to start the execution.

b)The minimum number of devices that may be idle as a result of this policy is zero (0).

The maximum number of devices that may be idle as a result of this policy is 2 since 3 devices are needed to start a task.

### Question 3

a) The number of  devices available = 12 - (5+1+5)= 12-11 = 1

Recent Post