Time Left - 20:00 mins

Deadlock Prevention & Avoidance GATE 2024 Fundamental Quiz

Attempt now to get your rank among 120 students!

Question 1

When a process is rolled back as a result of Deadlock the difficulty which arises is

Question 2

Consider the following statements:
Statement 1- The presence of deadlock assures the presence of cycle but vice versa is not correct.

Statement 2-If there is a deadlock then recovery through resources is done either by preemption of the resources or by rollbacking the assigned resources.
Which of the statement is/are correct?

Question 3

Consider three processes p1, p2 and p3 with their current allocation unit of resource and maximum requirement unit of resources in the table below

Available resources are (2, 0, 1). The system is __ and number of safe sequence __.

Question 4

Which of the following cases are not possible?
(i) Deadlock involving one process
(ii) Deadlock involving one resource
(iii) Deadlock between two threads in a process

Question 5

Which of the following is not true with respect to deadlock prevention and deadlock avoidance schemes?

Question 6

Consider that the total resources of R1 is 10, R2 is 5 and R3 is 7.

Find out how many possible safe sequences are there
  • 120 attempts
  • 0 upvotes
  • 0 comments
Jan 27GATE & PSU CS