OS L5

OS L5

University

20 Qs

quiz-placeholder

Similar activities

OS - Assessment 05

OS - Assessment 05

University

20 Qs

CT-4 (Deadlocks)

CT-4 (Deadlocks)

University

15 Qs

Operating Systems

Operating Systems

KG - University

20 Qs

ERP 1

ERP 1

University - Professional Development

15 Qs

Deadlocks Quiz

Deadlocks Quiz

University

19 Qs

Deadlock in Operating Systems Quiz

Deadlock in Operating Systems Quiz

University

15 Qs

deadlock

deadlock

University

15 Qs

Operating Systems Crash Course

Operating Systems Crash Course

University

22 Qs

OS L5

OS L5

Assessment

Quiz

Computers

University

Medium

Created by

Eng Yee Wei

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

In a busy restaurant, two chefs, Grace and Noah, are trying to prepare their signature dishes. Chef Grace needs a special pan that Chef Noah is currently using, while Chef Noah needs the same pan to finish his dish. What is a necessary condition for a deadlock to occur in this situation?

Preemption

Mutual exclusion

Starvation

Priority scheduling

2.

MULTIPLE SELECT QUESTION

20 sec • 5 pts

In a busy office, several employees are trying to use the printer, but only one person can use it at a time. Each employee is currently working on their own tasks and holding onto their documents. If one employee is waiting for the printer while another is using it, and they are all waiting for each other to finish, which of the following are among the four necessary conditions for a deadlock? (Select all that apply)

Mutual exclusion

Resource holding

Spooling

Circular wait

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What is starvation in process management?
System-wide freeze
Two processes deadlocking
A process waiting indefinitely for resources
A type of scheduling algorithm

4.

MULTIPLE SELECT QUESTION

20 sec • 5 pts

Which of the following are deadlock handling strategies? (Select all that apply)
Prevention
Detection
Avoidance
Recovery

5.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

In a traffic jam analogy, what does each car represent in the context of deadlock modeling?
Resource
Process
Deadlock
Semaphore

6.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

In the spooling deadlock case, what causes the deadlock?
Printer failure
Insufficient spool area for all jobs
Power outage
Job priority mismatch

7.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which one is not one of the four conditions of deadlock?
No preemption
Starvation
Circular wait
Resource holding

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?