Question: Topic is Operating Systems Some questions could have multiple correct answers. Choose all correct answers. a point for each correct answer selected. a half-point off
Choose all correct answers.
a point for each correct answer selected.
a half-point off for each incorrect answer selected.
QUESTION 6 Which is a consumable resource? OA. the contents of the buffer in a producer/consumer model OB. shared memory in a readers/writers model QUESTION 7 Which statement is true concerning Producer-Consumer synchronization with a bounded buffer. OA. The Producer blocks on a full buffer. B. The buffer is a FIFO queue. QUESTIONS What is true in a Producer-Consumer scenario with i producer, i consumer and 2 SysV binary semaphores if both release operations are +1? OA. The Producer's semaphore should be initialized to 0. B. The Consumer's semaphore should be initialized to 0. QUESTION 9 For a System V semaphore which of the following statements is true? OA. The -1 operation always blocks. OB. The o operation blocks until the semaphore value is 0. QUESTION 10 Strong semaphores (e.g., SysV IPC) use what type of policy for releasing multiple blocked processes on semphore? OA. The semaphore will be released to the blocked processes in queue order. OB. Which process gets added to the queue first is not a race condition
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
