Process Synchronization
Multiple Choice questions & answers are available for a Computer Science students to clear GAT, NTS, ECAT exams, various technical interview, competitive examination, and other entrance exam. Process Synchronization is the important Topic for a computer science and technical students and one should practice these Mcqs to grasp good knowledge on the topic.
2. Inter process communication can be done through __________.
Mails
Messages
System calls
Traps
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
3. Mutual exclusion
if one process is in a critical region others are excluded
Prevents deadlock
Requires semaphores to implement
Is found only in the Windows NT operating system
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
4. The section of code which accesses shared variables is called as __________.
Critical section
Block v
Procedure
Semaphore
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
5. Semaphore can be used for solving __________.
Wait & signal
Deadlock
Synchronization
Priority
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
6. The degree of multi-programming is :
The number of processes executed per unit time
The number of processes in the ready queue
The number of processes in the I/O queue
The number of processes in memory
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
7. Several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called a(n) ____.
Shared Memory Segments
Entry Section
Race condition
Process Synchronization
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
8. Which process can be affected by other processes executing in the system?
Cooperating process
Child process
Parent process
Init process
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
9. 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
Dynamic condition
Race condition
Essential condition
Critical condition
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
10. If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called
Mutual exclusion
Critical exclusion
Synchronous exclusion
Asynchronous exclusion
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
11. Which one of the following is a synchronization tool?
Thread
Pipe
Semaphore
Socket
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
12. A semaphore is a shared integer variable
That can not drop below zero
That can not be more than zero
That can not drop below one
That can not be more than one
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
13. Mutual exclusion can be provided by the
Mutex locks
Binary semaphores
Both (a) and (b)
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
14. When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called
Priority inversion
Priority removal
Priority exchange
Priority modification
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
15. Process synchronization can be done on
Hardware level
Software level
Both (a) and (b)
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question