OS L5

OS L5

University

20 Qs

quiz-placeholder

Similar activities

Operating System

Operating System

University

20 Qs

pertanyaan teknik informatika  terbaik untuk s1

pertanyaan teknik informatika terbaik untuk s1

University

20 Qs

BCA II OS Unit I

BCA II OS Unit I

University

18 Qs

OPERATING SYSTEMS

OPERATING SYSTEMS

University

20 Qs

Deadlocks

Deadlocks

University

25 Qs

OPERATING SYSTEMS

OPERATING SYSTEMS

University

20 Qs

Quiz No. 2  - Unit II

Quiz No. 2 - Unit II

University

20 Qs

Process Synchronization Quiz

Process Synchronization Quiz

University

25 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?