EXP-9(VIVA_VOCE)

EXP-9(VIVA_VOCE)

University

17 Qs

quiz-placeholder

Similar activities

INTE1011: IT Applications Tools in Business

INTE1011: IT Applications Tools in Business

University

20 Qs

Kelas 7 - Halaman 35 (PTS)

Kelas 7 - Halaman 35 (PTS)

7th Grade - University

20 Qs

Operating Systems Concepts Quiz

Operating Systems Concepts Quiz

University

21 Qs

IT Quiz Bee 2025 - EASY

IT Quiz Bee 2025 - EASY

University

15 Qs

Operating System Unit 3

Operating System Unit 3

University

20 Qs

DRILL IT ERA

DRILL IT ERA

2nd Grade - University

16 Qs

OSS (QUIZ 1) Introduction to Operating Systems

OSS (QUIZ 1) Introduction to Operating Systems

University

20 Qs

Unit-1 Introduction to Cloud Computing

Unit-1 Introduction to Cloud Computing

University

20 Qs

EXP-9(VIVA_VOCE)

EXP-9(VIVA_VOCE)

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Narasimhulu M

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A deadlock avoidance algorithm dynamically examines the __________ to ensure that a circular wait condition can never exist.

a) resource allocation state

b) system storage state

c) operating system

d) resources

Answer explanation

A deadlock avoidance algorithm examines the resource allocation state to prevent circular wait conditions. By monitoring this state, it can ensure that resources are allocated in a way that avoids deadlocks.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A state is safe, if ____________

a) the system does not crash due to deadlock occurrence

b) the system can allocate resources to each process in some order and still avoid a deadlock

c) the state keeps the system protected and safe

d) all of the mentioned

Answer explanation

A state is safe if the system can allocate resources to each process in some order and still avoid a deadlock. This ensures that all processes can complete without getting stuck, making option b the correct choice.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A state is safe, if ____________

a) the system does not crash due to deadlock occurrence

b) the system can allocate resources to each process in some order and still avoid a deadlock

c) the state keeps the system protected and safe

d) all of the mentioned

Answer explanation

A state is safe if the system can allocate resources to each process in some order and still avoid a deadlock. This ensures that all processes can complete without getting stuck, making option b the correct choice.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a necessary condition for a deadlock to occur?

a) mutual exclusion

b) hold and wait

c) no preemption

d) all of the mentioned

Answer explanation

A deadlock requires all four conditions: mutual exclusion, hold and wait, no preemption, and circular wait. Therefore, the correct answer is d) all of the mentioned, as all are necessary for a deadlock to occur.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a deadlock situation, which of the following resources cannot be released?

a) resources held by a process

b) resources in the system

c) resources that are not allocated

d) none of the mentioned

Answer explanation

In a deadlock, resources held by a process cannot be released because the process is waiting for other resources to become available. Thus, option a) is correct, as these resources are tied to the process's execution.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary goal of deadlock detection algorithms?

a) to prevent deadlocks from occurring

b) to identify deadlocks when they occur

c) to recover from deadlocks

d) to allocate resources efficiently

Answer explanation

The primary goal of deadlock detection algorithms is to identify deadlocks when they occur (choice b). Unlike prevention or recovery methods, detection focuses on recognizing existing deadlocks to take appropriate action.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following strategies can be used to prevent deadlocks?

a) resource allocation graph

b) wait-die scheme

c) wound-wait scheme

d) all of the mentioned

Answer explanation

All the strategies listed—resource allocation graph, wait-die scheme, and wound-wait scheme—are effective methods to prevent deadlocks in operating systems, making 'd) all of the mentioned' the correct choice.

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?