Exam 12: Semaphores, Spinlocks, and Monitors: Understanding Synchronization in Operating Systems

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A procedure defined within a___________   can access only those variables declared locally within the___________and its formal parameters.

Free
(Multiple Choice)
4.8/5
(84)
Correct Answer:
Verified

D

A binary semaphore is a semaphore with integer values

Free
(Multiple Choice)
4.7/5
(85)
Correct Answer:
Verified

A

The wait operation of the semaphore basically works on the basic___________system call.

Free
(Multiple Choice)
4.8/5
(81)
Correct Answer:
Verified

B

If the semaphore value is negative

(Multiple Choice)
4.7/5
(77)

To ensure difficulties do not arise in the readers - writers problem___________are given exclusive access to the shared object.

(Multiple Choice)
4.9/5
(79)

What is a mutex?

(Multiple Choice)
4.7/5
(76)

If no process is suspended, the signal operation___________

(Multiple Choice)
4.9/5
(87)

What are the two atomic operations permissible on semaphores?

(Multiple Choice)
4.8/5
(75)

Semaphores are mostly used to implement

(Multiple Choice)
4.9/5
(75)

What will happen if a non-recursive mutex is locked more than once?

(Multiple Choice)
4.9/5
(81)

The dining - philosophers problem will occur in case of___________

(Multiple Choice)
4.7/5
(81)

What are the two kinds of semaphores?

(Multiple Choice)
4.8/5
(62)

The signal operation of the semaphore basically works on the basic___________system call.

(Multiple Choice)
4.8/5
(81)

The code that changes the value of the semaphore is___________

(Multiple Choice)
4.9/5
(88)

A deadlock free solution to the dining philosophers problem___________

(Multiple Choice)
4.8/5
(81)

What is a semaphore?

(Multiple Choice)
4.8/5
(91)

What is the main disadvantage of spinlocks?

(Multiple Choice)
4.8/5
(79)

What are Spinlocks?

(Multiple Choice)
4.9/5
(74)

A monitor is characterized by

(Multiple Choice)
4.9/5
(81)

The bounded buffer problem is also known as___________

(Multiple Choice)
4.9/5
(82)
Showing 1 - 20 of 25
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)