Operating System (3140702) MCQs

MCQs of Inter Process Communication

Showing 31 to 40 out of 50 Questions
31.
Which of the following condition stands true for Mutual Exclusion?
(a) No process access and manipulate the same data concurrently
(b) If process Pi is executing in its critical section, then no other processes can be executing in their critical sections
(c) Several processes access and manipulate the same data concurrently
(d) None of above
Answer:

Option (b)

32.
Peterson’s solution is restricted to ___ processes that alternate execution between their critical sections and remainder sections
(a) 1
(b) 2
(c) 3
(d) 4
Answer:

Option (b)

33.
Reasons of process cooperation is/are _____
(a) Information sharing
(b) Computation speed-up
(c) Modularity
(d) All of the mentioned
Answer:

Option (d)

34.
The part of program where the shared resource is accessed is called ________________
(a) program
(b) race condition
(c) synchronizing
(d) critical section
Answer:

Option (d)

35.
Way of making sure that if one process is using a shared variable or file; the other process will be excluded (stopped) from doing the same thing is called _______
(a) program
(b) race condition
(c) mutual exclusion
(d) critical section
Answer:

Option (c)

36.
TSL stands for
(a) Test and Set Lock
(b) Turn to Set Lock
(c) Turn and Swap Lock
(d) Test and Swap Lock
Answer:

Option (a)

37.
Execution of a high priority process/thread is blocked by a lower priority process/thread is called ____________
(a) Priority inversion problem
(b) Priority opposite problem
(c) Priority reverse problem
(d) Priority revert problem
Answer:

Option (a)

38.
When Buffer is empty
(a) Producer can produce
(b) Consumer can consume
(c) Producer can consume
(d) Consumer can produce
Answer:

Option (a)

39.
When Buffer is full
(a) Producer can produce
(b) Consumer can consume
(c) Producer can consume
(d) Consumer can produce
Answer:

Option (b)

40.
Buffer is partial filled
(a) Producer can produce
(b) Consumer can consume
(c) Both A and B
(d) None of above
Answer:

Option (c)

Showing 31 to 40 out of 50 Questions