Operating System (3140702) MCQs

MCQs of Inter Process Communication

Showing 41 to 40 out of 50 Questions
41.
Buffer is partial empty
(a) Producer can produce
(b) Consumer can consume
(c) Both A and B
(d) None of above
Answer:

Option (c)

42.
Binary semaphores can take ___ values.
(a) 0
(b) 1
(c) 2
(d) 3
Answer:

Option (c)

43.
Counting semaphore can have _______ values.
(a) 0
(b) 1
(c) n
(d) -1
Answer:

Option (c)

44.
Multiple processes are permitted to concurrently acquire a reader–writer lock in read mode, but only one process may acquire the lock for ___, as exclusive access is required for _________
(a) reading, readers
(b) reading, writers
(c) writing, writers
(d) writing, readers
Answer:

Option (c)

45.
Mutex is the short form of _________
(a) Mutual Exclusion Object
(b) More Exclusion Object
(c) Mutual X Object
(d) Mutual Exclusion Order
Answer:

Option (a)

46.
Pipe performs _________ communication.
(a) one-way
(b) two-way
(c) three-way
(d) N-way
Answer:

Option (a)

47.
The process invoking the wait operation is
(a) suspended until another process invokes the signal operation
(b) waiting for another process to complete before it can itself call the signal operation
(c) stopped until the next process in the queue finishes execution
(d) None of the mentioned
Answer:

Option (a)

48.
Which is the device that should get the highest priority in assigning the interrupts?
(a) Floppy disk
(b) Hard disk
(c) CPU temperature sensor
(d) Keyboard
Answer:

Option (c)

49.
__________ is a condition in which there is a set of concurrent processes, only one of which is able to access a given resource or perform a given function at any time.
(a) Mutual Exclusion
(b) Busy Waiting
(c) Deadlock
(d) Starvation
Answer:

Option (a)

50.
______________techniques can be used to resolve conflicts, such as competition for resources, and to synchronize processes so that they can cooperate.
(a) Mutual Exclusion
(b) Busy Waiting
(c) Deadlock
(d) Starvation
Answer:

Option (a)

Showing 41 to 40 out of 50 Questions