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

CSIT123 Tutorial 6 Week 7

Uploaded by

Ahmed Osta
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

CSIT123 Tutorial 6 Week 7

Uploaded by

Ahmed Osta
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

CSIT123: Computing and

Cyber Security
Fundamentals
Deadlock

Tutorial 6 – Week 7

Student Name:
number:

Tutorial Session: Instructor:


Contents

Instructions............................................................................................................ 2
Marking Criteria..................................................................................................... 3
Learning Objectives............................................................................................... 3
Task 1: Multiprogramming..................................................................................... 4
Task 2 - Deadlocks................................................................................................. 4
Submission Instructions......................................................................................... 7

Page 2 of 7
Instructions

Tutorial Instructions:
* In this tutorial, the students are required to work in pairs.
* Please show your work to the tutor present in the classroom before
submitting it.
* This tutorial is divided into two parts:
- Attempt the tasks given in this document first, and then your tutor
will review the
potential answers with you.
- Take an online quiz after completing the tasks in this document.
Submission Due: At least 10 minutes before the end of tutorial class.
Marks will be given only to students who attend and participate
during 2-hour tutorial. Submission on Moodle is mandatory as
evidence of participation.

Marking Criteria

Task No. Marks


Task 1 – Task 2 0
Online Quiz (Task 3 and 4) 2.22
Total Mark 2.22

Learning Objectives

1. How OS evolved through the different computer generations:


Multiprogramming
2. The components of the kernel of OS: Deadlocks
3. Different Components of an OS architecture.

Page 3 of 7
Task 1: Multiprogramming
What is multiprogramming? what are the problems that Multiprogramming
has solved?

Task 2 - Deadlocks

In lecture 6, we covered the concept of a deadlock.


Your task is to apply that concept to the following two scenarios.
In both cases, we have four cars that arrived at a four-way stop
intersection at approximately the same time
You are asked to determine whether:
1. None of the two scenarios present case of a deadlock. Justify your
answer
2. There is ONLY ONE scenario case of deadlock. If so indicate with
scenario is a case of deadlock and justify your answer.
3. Both scenarios are cases of deadlocks. Justify your answer.

Please bear in mind that:


• Car 1, traveling north, needs quadrants a and b
• Car 2, traveling west, needs quadrants b and c.
• Car 3, traveling south, needs quadrants c and d.
• Car 4, traveling east, needs quadrants d and a.
In addition, we are assuming a country where, when a car is at a four-
way stop, it should yield the right of way to a car immediately to its
right.

Scenario A

Page 4 of 7
Scenario B

Page 5 of 7
:

Submission Instructions
1. Submit your solution to this document by using the appropriate
submission link of your Tutorial 6.
Use the following name format for your compressed file:
CSIT123_Tut6_labDay_labTime_instructorName_StudentIDs”.

Page 6 of 7
(Example:
CSIT123_Tut6_Mon_11_30_Sonia_5555555_5566666)

2. Complete and submit the Graded Activity on Moodle using the Quiz
Link found in your respective tutorial section.

END OF Tutorial

Page 7 of 7

You might also like