Recent Topics


CS604 Assignment # 03
 Solution and Discussion


  • Cyberian's

    66aa4c6d-8d94-4d53-89e7-ab7904f822a1-image.png

    Operating Systems (CS604)
    Assignment # 03
    Spring 2019

    Total marks = 20

    Deadline Date
    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.

    Objective:
    • The objective of this assignment is to provide hands on experience of:
    • To learn and understand deadlock algorithms in Operating System

    NOTE

    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:
    [email protected]

    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.
    81858d3b-c30e-4b21-93b8-bb96c3476b68-image.png

    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.

    5f0c00bb-3c13-45e5-8c8b-aa638a964522-image.png


Log in to reply
 

Hello Cyberians, We are hiring Global Moderator. Cheers!
Contact Us!
How to allow Copy Quiz VU! Download Chrome Extension!

Online Users

  • 3
  • 1
  • 1
  • 1
  • 4
  • 2
  • 1

0
Online

64
Users

420
Topics

1.2k
Posts

About Us!

Cyberian offers practice exercises, Learning videos, and a Virtual learning dashboard that empower learners to study at their home pace in and outside of the classroom. We tackle math, science, computer programming, Bio, management sciences, history, art history, economics, and more. Our math missions guide learners from kindergarten to calculus using state-of-the-art, adaptive technology that identifies strengths and learning gaps. We've also partnered with institutions like VU, AIOU, Academy of Sciences, and MIT to offer specialised content.
Cyberian Mobile App

Suggested Topics

  • 1
  • 1
  • 2
  • 1
  • 12
  • 3
  • 4
  • 1
| |