CS604 Assignment 2 Solution and Discussion Spring 2020


  • Cyberian's Gold

    Re: CS604 Assignment 2 Solution and Discussion

    Operating Systems (CS604)
    Assignment # 02
    Spring 2020
    Total marks = 15

    Deadline Date
    14th June 2020

    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 learn scheduling algorithm.
    • To learn and understand different Operating System structure.

    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 01 15 marks
    Consider the following set of processes, with the CPU burst time given in milliseconds:

    Process Burst Time
    P1 10
    P2 1
    P3 2
    P4 1
    P5 5

    The processes are arrived in the order P1, P2, P3, P4, P5, all at time 0.

    A. Draw Gantt chart showing the execution of these processes using FCFS and SJF scheduling.
    B. Calculate the turnaround time of each process for FCFS scheduling algorithm as per part Calculation of part A?
    C. Calculate the waiting time of each process for SJF scheduling algorithm as per calculation of Part A?

    Wish you very Best of Luck!


  • Cyberian's

    @zaasmi said in CS604 Assignment 2 Solution and Discussion Spring 2020:

    Re: CS604 Assignment 2 Solution and Discussion

    Operating Systems (CS604)
    Assignment # 02
    Spring 2020
    Total marks = 15

    Deadline Date
    14th June 2020

    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 learn scheduling algorithm.
    • To learn and understand different Operating System structure.

    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 01 15 marks
    Consider the following set of processes, with the CPU burst time given in milliseconds:

    Process Burst Time
    P1 10
    P2 1
    P3 2
    P4 1
    P5 5

    The processes are arrived in the order P1, P2, P3, P4, P5, all at time 0.

    A. Draw Gantt chart showing the execution of these processes using FCFS and SJF scheduling.
    B. Calculate the turnaround time of each process for FCFS scheduling algorithm as per part Calculation of part A?
    C. Calculate the waiting time of each process for SJF scheduling algorithm as per calculation of Part A?

    Wish you very Best of Luck!

    CS604_2_Sol_S20_cyberian.pk_.docx


  • Cyberian's

    @zaasmi said in CS604 Assignment 2 Solution and Discussion Spring 2020:

    C. Calculate the waiting time of each process for SJF scheduling algorithm as per calculation of Part A?

    75cdb1be-590e-4ae6-a24e-5e8cb7c1741b-image.png


  • Cyberian's

    @zaasmi said in CS604 Assignment 2 Solution and Discussion Spring 2020:

    B. Calculate the turnaround time of each process for FCFS scheduling algorithm as per part Calculation of part A?

    c5b11e9f-676d-474c-993c-e4421ec90152-image.png


  • Cyberian's

    @zaasmi said in CS604 Assignment 2 Solution and Discussion Spring 2020:

    A. Draw Gantt chart showing the execution of these processes using FCFS and SJF scheduling.

    06e50918-47b0-4bce-a7db-58eb32eb92d8-image.png



Quiz 100% Result Quiz 100% Result
| |