Question: QUESTION 1 0 In message passing A . direct addressing means the send primitive holds the destination address. B . indirect addressing means msgs go
QUESTION
In message passing
A direct addressing means the send primitive holds the destination address.
B indirect addressing means msgs go to a temporary shared data structure.
C every message has its own mailbox.
D a blocking send & blocking receive scenario is called a rendevous.
check
Hint: a mailbox is the data structure used in indirect addressing
QUESTION
Mutual exclusion
A means critical code can only be executed by one process at a time.
B is only an issue for related processes ie parent and child
C is a requirement for the readerswriters problem.
D is a necessary componenet of the producerconsumer problem.
check
QUESTION
A monitor supports synchronization by the use of
A condition variables accessible only within the monitor.
B message queues.
C semaphores.
check
Hint: a monitor does not use IPC shared services.
QUESTION
In the Strong ReadersWriters problem
A multiple readers may read while one writer is writing.
B multiple writers may write simultaneously.
C waiting writers take precedence over waiting readers.
D waiting readers take precedence over waiting writers.
check
less likely to have starvation if you do so although it does not prevent the writers from starving.
QUESTION
If two concurrent processes are unaware of each other
A it is possible to deadlock on a renewable resource.
B mutual exclusion is still needed on shared resources.
C it is possible that one process may suffer starvation.
D data coherence is a potential problem.
check the device.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
