Inter Process Communication Multiple Questions and Answers.




26.The dining – philosophers problem will occur in case of ____________
A. 5 philosophers and 5 chopsticks
B. 4 philosophers and 5 chopsticks
C. 3 philosophers and 5 chopsticks
D. 6 philosophers and 5 chopsticks

27.A monitor is a type of ____________
A. semaphore
B. low level synchronization construct
C. high level synchronization construct
D. None of these

28.A procedure defined within a ________ can access only those variables declared locally within the _______ and its formal parameters.
A. process, semaphore
B. process, monitor
C. semaphore, semaphore
D. monitor, monitor

29.The monitor construct ensures that ____________
A. only one process can be active at a time within the monitor
B. n number of processes can be active at a time within the monitor (n being greater than 1)
C. the queue has only one process in it at a time
D. All of these

30.What are the operations that can be invoked on a condition variable in monitor?
A. Wait & Signal
B. Hold & Wait
C. Signal & Hold
D. Continue & Signal

«



Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers