Linux – Process Synchronization IMP MCQ's
- Get link
- X
- Other Apps
Linux – Process Synchronization IMP MCQ's
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
View Answer
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
View Answer
a) mutual exclusion
b) critical exclusion
c) synchronous exclusion
d) asynchronous exclusion
View Answer
a) thread
b) pipe
c) semaphore
d) socket
View Answer
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
View Answer
a) mutex locks
b) binary semaphores
c) both (a) and (b)
d) none of the mentioned
View Answer
a) priority inversion
b) priority removal
c) priority exchange
d) priority modification
View Answer
a) hardware level
b) software level
c) both (a) and (b)
d) none of the mentioned
View Answer
a) shared data structures
b) procedures that operate on shared data structure
c) synchronization between concurrent procedure invocation
d) all of the mentioned
View Answer
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
View Answer
a) cooperating process
b) child process
c) parent process
d) init process
View Answer
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
View Answer
Answer:b
Explanation:None.
3. If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is calledExplanation:None.
a) mutual exclusion
b) critical exclusion
c) synchronous exclusion
d) asynchronous exclusion
View Answer
Answer:a
Explanation:None.
4. Which one of the following is a synchronization tool?Explanation:None.
a) thread
b) pipe
c) semaphore
d) socket
View Answer
Answer:c
Explanation:None.
5. A semaphore is a shared integer variableExplanation:None.
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
View Answer
Answer:a
Explanation:None.
6. Mutual exclusion can be provided by theExplanation:None.
a) mutex locks
b) binary semaphores
c) both (a) and (b)
d) none of the mentioned
View Answer
Answer:c
Explanation:Binary Semaphores are known as mutex locks.
7. When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is calledExplanation:Binary Semaphores are known as mutex locks.
a) priority inversion
b) priority removal
c) priority exchange
d) priority modification
View Answer
Answer:a
Explanation:None.
8. Process synchronization can be done onExplanation:None.
a) hardware level
b) software level
c) both (a) and (b)
d) none of the mentioned
View Answer
Answer:c
Explanation:None.
9. A monitor is a module that encapsulatesExplanation:None.
a) shared data structures
b) procedures that operate on shared data structure
c) synchronization between concurrent procedure invocation
d) all of the mentioned
View Answer
Answer:d
Explanation:None.
10. To enable a process to wait within the monitor,Explanation:None.
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
View Answer
Answer:a
Explanation:None.
Explanation:None.
- Get link
- X
- Other Apps
Comments
Post a Comment