0% found this document useful (0 votes)
56 views

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

The document provides instructions for Assignment #02 in the course CS101 Introduction to Computing. It states that assignments must be submitted by the deadline in .doc or .docx format to receive credit. It also notes that strict action will be taken for plagiarized work and recommends consulting textbooks for clarification. The assignment involves drawing the ready queue and step-wise diagram for the execution of 4 processes (A, B, C, D) entering the ready queue in the given order and being picked up by the dispatcher with a time slice of 2ms.

Uploaded by

Shahid Shafi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views

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

The document provides instructions for Assignment #02 in the course CS101 Introduction to Computing. It states that assignments must be submitted by the deadline in .doc or .docx format to receive credit. It also notes that strict action will be taken for plagiarized work and recommends consulting textbooks for clarification. The assignment involves drawing the ready queue and step-wise diagram for the execution of 4 processes (A, B, C, D) entering the ready queue in the given order and being picked up by the dispatcher with a time slice of 2ms.

Uploaded by

Shahid Shafi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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:


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