Question
Which of the following is not a method of inter-process
communication (IPC) in modern operating systems?ÂSolution
Semaphores are primarily used for synchronization between processes or threads rather than for communication. They act as signaling mechanisms to control access to shared resources and help avoid race conditions. In contrast, IPC mechanisms like pipes, shared memory, message queues, and sockets are explicitly designed to facilitate communication between processes. These methods allow data to be passed between processes running on the same machine or even across different machines in the case of network communication. Why other options are wrong: A) Pipes are a traditional IPC method used for one-way communication between processes. B) Shared Memory is a highly efficient IPC method that allows processes to access common memory regions. C) Message Queues allow processes to send and receive messages in a queue, facilitating communication. D) Sockets enable communication between processes over networks, including TCP/IP communication.
Difference between the ages of A and B is same as the difference between the ages of B and C. The difference between the ages of A and C is 6 years. If ...
- The current age of ‘X’ is 36 years which is 20% more than the age of ‘Y’. The average age of ‘Y’ and ‘Z’ is 45 years. The ratio of present ...
Six years ago, the age of 'R' compared to the age of 'M' six years from now was in the ratio 4:7. If the current average age of 'R' and 'M' is 33 years,...
The present age ratio of Anshul to Pawan is 5:7, and that of Chinky to Diksha is 3:2. A decade ago, the ratio of Anshul’s age t...
What is A's present age, if after 10 years his age will be 6 times his age 10 years back?
The combined present ages of Aman and Chinu are twice Bhanu's current age. Chinu's current age is 5/6th of Bhanu's present age, a...
Present ages of ‘A’, ‘B’ and ‘C’ are in the ratio 12:13:16, respectively. If present average age of ‘A’ and ‘C’ is 28 years, then fi...
Amit age after 15 years will be 3 times his age 3 years back. What is the present age of Amit?
The ratio of Amit’s and Bhanu’s ages will be 33:26 after 12 years. The current average age of Amit, Bhanu, and Charu is 53 years. Charu’s present ...
A trader bought an article for Rs. 1200 and marked it 25% above of its cost price. If he sold it after giving a discount of Rs. 60 then find the profit ...