Homechevron_rightEngineeringchevron_rightComputer Sciencechevron_rightOperating Systemchevron_rightProcess Synchronization

Process Synchronization MCQs

  • 1. 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?
  • filter_dramaExplanation
    Answer is : B
    None.
  • 2. If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called?
  • filter_dramaExplanation
    Answer is : A
    None.
  • 3. Which one of the following is a synchronization tool?
  • filter_dramaExplanation
    Answer is : C
    None.
  • 4. A semaphore is a shared integer variable __________
  • filter_dramaExplanation
    Answer is : A
    None.
  • 5. Mutual exclusion can be provided by the __________
  • filter_dramaExplanation
    Answer is : C
    Binary Semaphores are known as mutex locks.
  • 6. When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called __________
  • filter_dramaExplanation
    Answer is : A
    None.
  • 7. Process synchronization can be done on __________
  • filter_dramaExplanation
    Answer is : C
    None.
  • 8. A monitor is a module that encapsulates __________
  • filter_dramaExplanation
    Answer is : D
    None.
  • 9. To enable a process to wait within the monitor __________
  • filter_dramaExplanation
    Answer is : A
    None.
  • 10. Concurrent access to shared data may result in ____________
  • filter_dramaExplanation
    Answer is : C

    A cooperating process is one that can affect or be affected by other processes executing in a system. Cooperating processes can either directly share a logical address space (that is, both code and data) or be allowed to share data only through files or messages. Concurrent access to shared data may result in data inconsistency.

leaderboardLeaderboard
  • Rahul Kumar

    191 Points

  • VIKRAM JEET

    54 Points

  • GEETHIKA CHOWDARY

    53 Points

  • sunita saini

    52 Points

  • Zain

    49 Points