OS L5

OS L5

University

20 Qs

quiz-placeholder

Similar activities

HTML Quiz

HTML Quiz

11th Grade - University

15 Qs

quiz pertemuan 2 asik ddp

quiz pertemuan 2 asik ddp

University

15 Qs

QUIZ 1: REVIEW ON C

QUIZ 1: REVIEW ON C

University

15 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

QUIZ 2

QUIZ 2

University

20 Qs

Review Quiz (Chapter 3&4)

Review Quiz (Chapter 3&4)

University

20 Qs

ĐC CNTT_Chương 1

ĐC CNTT_Chương 1

University

20 Qs

C Programming Unit-1 Test-2

C Programming Unit-1 Test-2

University

20 Qs

OS L5

OS L5

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Eng Yee Wei

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?