Sail E0 Webinar

MCQs

Total Questions : 14 | Page 2 of 2 pages
Question 11. A mutex :
  1.    is a binary mutex
  2.    must be accessed from only one process
  3.    can be accessed from multiple processes
  4.    None of these
 Discuss Question
Answer: Option B. -> must be accessed from only one process


None.


Question 12. At a particular time of computation the value of a counting semaphore is 7.Then 20 P operations and 15 V operations were completed on this semaphore.The resulting value of the semaphore is :
  1.    42
  2.    2
  3.    7
  4.    12
 Discuss Question
Answer: Option B. -> 2


P represents Wait and V represents Signal. P operation will decrease the value by 1 everytime and V operation will increase the value by 1 everytime.


Question 13. Spinlocks are intended to provide __________ only.
  1.    Mutual Exclusion
  2.    Bounded Waiting
  3.    Aging
  4.    Progress
 Discuss Question
Answer: Option B. -> Bounded Waiting


None.


Question 14. Semaphores are mostly used to implement :
  1.    System calls
  2.    IPC mechanisms
  3.    System protection
  4.    None of these
 Discuss Question
Answer: Option B. -> IPC mechanisms


None.


Latest Videos

Latest Test Papers