UNSOLVED ACC501 Quiz 3 Solution and Discussion
ACC501 - Business Finance12
UNSOLVED FIN723 Quiz No. 4 Solution and Discussion
FIN723 - Taxation Management11
UNSOLVED ECO402 Quiz 3 Solution and Discussion
ECO402 - Microeconomics11
UNSOLVED ECO401 Quiz 3 Solution and Discussion
ECO401 - Economics11
UNSOLVED CS409 Quiz 2 Solution and Discussion
CS409 - Introduction to Database Administration11
UNSOLVED HRM613 Quiz 3 Solution and Discussion
HRM613 - Performance Management11
UNSOLVED EDU701 Quiz 2 Solution and Discussion
EDU701 - Human Resource Management in Education11
15th August Block Day with Kashmir solidarity
UNSOLVED #UN for Kashmir Freedom
UNSOLVED EDU433 GDB 1 Solution and Discussion
EDU433 - Professionalism in Teaching4
Important UNSOLVED Final Term Exam Help Center
UNSOLVED GSC101 GDB 1 Solution and Discussion
GSC101 - General Science2
UNSOLVED Malala Yousafzai
UNSOLVED CS510 GDB 1 Solution and Discussion
CS510 - Software Requirements and Specifications2
UNSOLVED Quiz 1 — Math (No Calculator)
UNSOLVED Topic 8 | About WordPress and what is it really?
WPS101 - WordPress1
UNSOLVED BT603 GDB 1 Solution and Discussion
BT603 - Fermentation Technology1
George vs Shaniera: The Ultimate Urdu Shopping Challenge
Good Morning Pakistan1
UNSOLVED Very important questions for PPSC. FPSC.CSS
Competition Exam Preparation and Discussions1
پاکستان تحریکِ انصاف کا حکومت میں ایک سال: کتنا کامیاب، کتنا ناکام؟
CS604 Assignment # 03 Solution and Discussion
Operating Systems (CS604)
Assignment # 03
Total marks = 20
23rd July, 2019
Please carefully read the following instructions before attempting assignment.
RULES FOR MARKING
It should be clear that your assignment would not get any credit if:
♣ The assignment is submitted after the due date.
♣ The submitted assignment does not open or file is corrupt.
♣ Strict action will be taken if submitted solution is copied from any other student or from the internet.
You should consult the recommended books to clarify your concepts as handouts are not sufficient.
You are supposed to submit your assignment in .doc or docx format.
Any other formats like scan images, PDF, zip, rar, ppt and bmp etc will not be accepted.
• The objective of this assignment is to provide hands on experience of:
• To learn and understand deadlock algorithms in Operating System
No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.
If you find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.
For any query, feel free to email at:
Question No 1 15 Marks
Consider the below given snapshot of the system. P1 to P5 represent the 5 processes currently running on the system. M, N, O and P represent the resources whereas M, N, O and P have 13, 11, 9 and 16 instances respectively.
Considering the given snapshot, answer the following questions using the banker’s algorithm:
(a) What will be the content of the matrix Available? 5 Marks
(b) What will be the content of the matrix Need? 5 Marks
© Is the system in a safe state Yes/No? If yes, then identify the safe sequence. 5 Marks
Question No 2 5 Marks
Consider the following resource allocation graph. Is there any deadlock in this graph or not? If yes, then mention the dead lock sequence.