Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

16. Monitor is one of the concurrency mechanisms. It is usually a piece of (A) s

ID: 1730436 • Letter: 1

Question

16. Monitor is one of the concurrency mechanisms. It is usually a piece of (A) software (B) hardware (C) firmware
(D) may be either of the above (E) None of the above
17. A semaphore that does not specify the order in which processes are removed from the waiting queue is called
(A) Strong semaphore (B) Weak semaphore (C) Binary semaphore (D) Mutex (E) None of the above
18. Which of the following statement regarding implementation of the semaphore is untrue? (A) semWait is an
atomic primitive (B) semSignal is an atomic primitive (C) They can be implemented in either hardware or
firmware (D) It may use one of the hardware supported scheme for mutual exclusion (E) None of the above
19. Communication of a message between two processes implies which of the following? (A) Synchronization (B)
Atomic operation (C) Blocking of the process (D) Unblocking of the process (E) None of the above
20. Which of the following regarding Readers/Writers problem is untrue? (A) Any number of readers may read the
file at the same time (B) Any number of writers may write the file at the same time (C) If a writer is writing to
the file, no reader may read it (D) Depending upon the type of implementation, either reader or writer may
have priority (E) None of the above

Explanation / Answer

17-D

the waiting queue is calledis mutex because it has a Represents single access to a resource and Guarantees mutual exclusion to a critical section.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote