Angry Bird - MCS added a discussion to the group CS604 Operating Systems

Angry Bird - MCS added a discussion to the group CS604 Operating Systems
Thumbnail

CS604 - Assignment No. 2 - Fall 2018

Q.No.1 Suppose a Computer lab consists of two laser printers, three tape drives, and four ROM writers. Let us assume that Process 1 is currently using a printer and two ROM writers, Process 2 is using a tape drive, and Process 3 is using two ROM writers, a tape drive, and a printer. Now suppose that Process 1 requires a tape drive, Process 2 requires a printer, and Process 3 requires one more ROM writer. You are required to develop the corresponding Resource Allocation Graph for this scenario. Moreover, you are required to tell either the system in a Deadlocked state or not? Q.No.2 Suppose a system with twelve tape drives and three processes named as P1, P2 and P3. The current system state is as shown in the following table. ProcessMax NeedAllocatedAvailableP11144P242 P372  The available tape drives are four. You are required to calculate Need and Available matrices and find Safe sequence (if possible) with the help of information given in the above table. Note: File name other than your Student ID will not get marks. File other than Microsoft Word will not be accepted.See More


from Latest Activity on Virtual University of Pakistan http://bit.ly/2T8KlP6

0 comments:

Post a Comment