Inter Process Communication Multiple Questions and Answers.




16.Mutual exclusion implies that ____________
A. if a process is executing in its critical section, then no other process must be executing in their critical sections
B. if a process is executing in its critical section, then other processes must be executing in their critical sections
C. if a process is executing in its critical section, then all the resources of the system must be blocked until it finishes execution
D. None of these

17.TestAndSet instruction is executed ____________
A. periodically
B. after a particular process
C. atomically
D. at the end of a process

18.Semaphore is a/an _______ to solve the critical section problem.
A. hardware for a system
B. special program for a system
C. integer variable
D. program

19.The signal operation of the semaphore basically works on the basic _______ system call.
A. continue()
B. wakeup()
C. getup()
D. start()

20.What are the two kinds of semaphores?
A. Mutex & Counting
B. Binary & Counting
C. Counting & Decimal
D. Decimal & Binary

«»



Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers