A counting semaphore is initialized to 8. 3 wait() operations and 4 signal() operations are applied. Find the current value of semaphore variable.
9
Each wait decreases the semaphore by 1 and each signal increases it by 1. Its final value is 8 − 3 + 4 = 9.
Which interprocess communication model is defined by cooperative processes exchanging messages through explicit send and receive operations, rather than reading and writing a shared memory region?
The distributed system is a collection of (P) and communication is achieved in distributed system by (Q) , where (P) and (Q) are :
Names of some of the Operating Systems are given below :
(a) MS-DOS (b) XENIX (c) OS/2
In the above list, following operating systems didn’t provide multiuser facility.
Which of the following statements are TRUE about Privileged Instructions ?
(A) It can only be executed by the Operating System kernel and not by user applications.
(B) It is designed to perform operations that can directly affect the hardware or system state such as I/O operations or changing memory management setting.
(C) User applications can execute privileged instructions if they have to correct permissions, set by the Operating System.
(D) It usually executed in user mode to ensure the safety and security of the system.
Choose the correct answer from the options given below :
Match List I with List II:
| List I | List II | ||
| (A) | Least frequently used | (I) | Memory is distributed among processors |
| (B) | Critical Section | (II) | Page replacement policy in cache memory |
| (C) | Loosely coupled multiprocessor system | (III) | Program section that once begin must complete execution before another processor access the same shared resource |
| (D) | Distributed operating system organization | (IV) | O/S routines are distributed among available processors. |
Choose the correct answer from the options given below: