Inter Process Communication Multiple Questions and Answers.




21.A binary semaphore is a semaphore with integer values ____________
A. 1
B. - 1
C. 0.5
D. 0.8

22.Semaphores are mostly used to implement ____________
A. System calls
B. IPC mechanisms
C. System protection
D. None of these

23.The bounded buffer problem is also known as ____________
A. Readers – Writers problem
B. Dining – Philosophers problem
C. Producer – Consumer problem
D. None of these

24.In the bounded buffer problem, there are the empty and full semaphores that ____________
A. count the number of empty and full buffers (slots)
B. count the number of empty and full memory spaces
C. count the number of empty and full queues
D. None of these

25.In the bounded buffer problem ____________
A. there is only one buffer
B. there are n buffers (n being greater than one but finite)
C. there are infinite buffers
D. the buffer size is bounded

«»



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