Nothing Special   »   [go: up one dir, main page]

Introduction To Computing (CS101) : Assignment # 02 Spring 2021

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Introduction to Computing Total marks = 20

(CS101)
Assignment # 02 03/06/2021
Spring 2021
Please carefully read the following instructions before attempting the 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 the file is corrupt.
 Strict action will be taken if the submitted solution is copied from any other
student or 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.

Objectives:
 To understand the basics of Operating Systems.
 To understand the process and its execution

Topics Covered: 52-53

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
assignments in the last hour of the deadline. It is recommended to upload the solution file
at least two days before its closing date.

If you find any mistake or confusion in the 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:


cs101@vu.edu.pk
Question Marks (5+15)

There are 4 processes A, B, C, and D in the ready queue for execution.

Process Total CPU Time

Process A 4ms

Process B 6ms

Process C 4ms

Process D 8ms

The processes enter in the ready queue in the sequence B, D, A, and C and are picked by the
dispatcher in the same order. Value of Time Slice is 2ms. The dispatcher picks a process from
Ready Queue and sends it to the processor for execution.
You are required to
 Draw the ready queue for the above given processes.
 Draw the step-wise pictorial diagram of the above given scenario in the context of
multiprogramming.

Deadline 03/06/201

You might also like