Question: QUESTION 3 I A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the

QUESTION 3 I A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource, resulting in both programs ceasing to function. a) A system has 32MB of user memory and a disk, CD-ROM and a line printer attached to it. Two processes A and B, with the size of 8MB and12MB are currently in the memory. Process A requests and gets the CD-ROM. It is currently writing something to the device. Process B also requests for the CD-ROM. i. ii. Explain the characteristics of pre-emptable and non-pre-emptable resources. (2 marks) Identify pre-emptable resources and non-pre-emptable resources from the description given above. . (2 marks) Discuss whether or not CD-ROM can be allocated to Process B before Process A finishes their task
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
