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
(35)
Correct Answer:
Verified

D

A binary semaphore is a semaphore with integer values

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

A

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

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

B

If the semaphore value is negative

(Multiple Choice)
4.8/5
(29)

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

(Multiple Choice)
4.8/5
(36)

What is a mutex?

(Multiple Choice)
4.7/5
(26)

If no process is suspended, the signal operation___________

(Multiple Choice)
4.8/5
(41)

What are the two atomic operations permissible on semaphores?

(Multiple Choice)
4.8/5
(23)

Semaphores are mostly used to implement

(Multiple Choice)
4.9/5
(30)

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

(Multiple Choice)
4.9/5
(36)

The dining - philosophers problem will occur in case of___________

(Multiple Choice)
4.7/5
(31)

What are the two kinds of semaphores?

(Multiple Choice)
4.9/5
(26)

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

(Multiple Choice)
4.9/5
(33)

The code that changes the value of the semaphore is___________

(Multiple Choice)
4.8/5
(34)

A deadlock free solution to the dining philosophers problem___________

(Multiple Choice)
4.8/5
(35)

What is a semaphore?

(Multiple Choice)
4.7/5
(43)

What is the main disadvantage of spinlocks?

(Multiple Choice)
4.8/5
(36)

What are Spinlocks?

(Multiple Choice)
4.9/5
(32)

A monitor is characterized by

(Multiple Choice)
4.9/5
(30)

The bounded buffer problem is also known as___________

(Multiple Choice)
4.8/5
(32)
Showing 1 - 20 of 25
close modal

Filters

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