OS L5

OS L5

University

20 Qs

quiz-placeholder

Similar activities

PHP First Internal Practical Viva

PHP First Internal Practical Viva

University

20 Qs

Assessment 08

Assessment 08

University

15 Qs

Quiz on neural network unit II

Quiz on neural network unit II

University

16 Qs

Gerência do Processador

Gerência do Processador

University

16 Qs

GIS Unit-1

GIS Unit-1

University

15 Qs

Computer Architecture Unit 3

Computer Architecture Unit 3

University

15 Qs

IT (data, viruses and more)

IT (data, viruses and more)

8th Grade - Professional Development

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?