OS Questions & Answers - Process Synchronization

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

10. To enable a process to wait within the monitor, a) a condition variable must be declared as condition b) condition variables must be used as Boolean objects c) semaphore must be used d) all of the mentioned

a) a condition variable must be declared as condition

1. Which process can be affected by other processes executing in the system? a) cooperating process b) child process c) parent process d) init process

a) cooperating process

3. If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called a) mutual exclusion b) critical exclusion c) synchronous exclusion d) asynchronous exclusion

a) mutual exclusion

7. When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called a) priority inversion b) priority removal c) priority exchange d) priority modification

a) priority inversion

5. A semaphore is a shared integer variable a) that can not drop below zero b) that can not be more than zero c) that can not drop below one d) that can not be more than one

a) that can not drop below zero

2. When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called a) dynamic condition b) race condition c) essential condition d) critical condition

b) race condition

8. Process synchronization can be done on a) hardware level b) software level c) both (a) and (b) d) none of the mentioned

c) both (a) and (b)

6. Mutual exclusion can be provided by the a) mutex locks b) binary semaphores c) both (a) and (b) d) none of the mentioned

c) both (a) and (b) Explanation: Binary Semaphores are known as mutex locks.

. Which one of the following is a synchronization tool? a) thread b) pipe c) semaphore d) socket

c) semaphore

9. A monitor is a module that encapsulates a) shared data structures b) procedures that operate on shared data structure c) synchronization between concurrent procedure invocation d) all of the mentioned

d) all of the mentioned


Set pelajaran terkait

Health midterm true/ false section

View Set

Anatomy Lab Mastering Questions Test #2 Muscular System Gross Anatomy 1+2

View Set

General Ham Radio License Question Pool 2019-2023

View Set