Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Explain briefly the essence of the term 'resident monitor'. [ 1 . 0 credits ] Define the two main categories of processor registers. [ 1

Explain briefly the essence of the term 'resident monitor'. [1.0 credits]
Define the two main categories of processor registers. [1.0 credits]
What is the difference betwcen 1O-bound and CPU-bound processes? [1.0 credits]
Explain briefly the essence of the term 'monolithic kernel'. [1.0 credits]
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds:
The processes are assumed to have arrived as it shown in the table.
a) Using the presented time axis draw Gantt chart that illustrates the execution of these processes using a
nonpreemptive S.JF (the shortest-job-first) scheduling [1.0 credits].
b) What is the waiting time of each process for the scheduling algorithms in part (a) and what is the average
waiting time? [2.0 credits]
Finish writing of an example of the pseudo-code with a critical section (you have to enter the missing value or
expression instead of dots.). The critical section in the example is controlled by the so-called hardware support-
'disable/enable interrupts. Demonstrate that this example guarantees a condition of mutual exclusion.
3.0 credits]
/*Disable/Enable Interrupts */
while (true){
??*critical section *??
??* remainder section*/}
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions