SE A-OS-Deadlock

SE A-OS-Deadlock

University

10 Qs

quiz-placeholder

Similar activities

Quiz on Multi Threading

Quiz on Multi Threading

University

15 Qs

Process Synchronization Quiz

Process Synchronization Quiz

University

10 Qs

Mid Model Viva

Mid Model Viva

University

10 Qs

Operating system

Operating system

University

10 Qs

PROSES DAN SINKRONISASI

PROSES DAN SINKRONISASI

University

10 Qs

C-21 IV Sem OS Quiz-1 Jan2024

C-21 IV Sem OS Quiz-1 Jan2024

University

10 Qs

os

os

University

10 Qs

DDT1B_Pre-test_080322

DDT1B_Pre-test_080322

University

10 Qs

SE A-OS-Deadlock

SE A-OS-Deadlock

Assessment

Quiz

Computers

University

Hard

Created by

Bhagyashree Tingare

Used 21+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

1. Deadlock Characterization:

Q1. Which of the following is NOT a necessary condition for deadlock?

a) Mutual Exclusion

b) Hold and Wait

c) No Preemption

d) Circular Wait

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

2. Methods for Handling Deadlocks:

Q2. Which method for handling deadlocks allows the system to keep track of resource allocation and requests to prevent circular waits?

a) Deadlock Detection

b) Deadlock Avoidance

c) Deadlock Prevention

d) Deadlock Recovery

3.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

3. Deadlock Prevention:

Q3. Which technique aims to prevent a deadlock by requiring that each process request and hold all its needed resources at once?

a) Wait-Die

b) Wound-Wait

c) Resource Allocation Graph

d) Banker's Algorithm

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

4. Deadlock Avoidance:

Q4. In the context of deadlock avoidance, what is the purpose of a "safety algorithm"?

a) To determine if a system is in a safe state

b) To detect deadlock occurrences

c) To preempt resources from processes

d) To recover from a deadlock

5.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

5. Deadlock Detection:

Q5. What is the primary advantage of deadlock detection and recovery over deadlock prevention?

a) It is more efficient.

b) It can handle complex resource allocation scenarios.

c) It allows for higher resource utilization.

d) It ensures no process ever enters a deadlock state.

6.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

6. Recovery from Deadlock:

Q6. In a recovery mechanism for deadlocks, what is the main goal?

a) To prevent processes from requesting resources.

b) To restart all processes involved in the deadlock.

c) To terminate some processes and release their resources.

d) To keep processes in a wait state indefinitely.

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

7. Deadlock Detection:

Q7. Which data structure is commonly used to represent the current state of resources and processes for deadlock detection?

a) Priority queue

b) Hash table

c) Wait-for graph

d) Linked list

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?