Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started