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.
If 75% of a number is added to 75, the result is the number itself, then the number is:
- Ritesh got 84 marks in an exam, which is 100% more than the marks secured by Mohan. If Mohan failed the exam by 4 marks, then find the total marks of Rites...
Rohit spends 25% of his income on groceries, 40% of the remaining income on entertainment, 60% of the amount left after expenditure on groceries and ent...
In an election between two candidates, winner got 65% of total valid votes. If total number of votes cast were 2000 out of which 6% were invalid, then f...
Pawan has some money left after spending 20%, 15% and 30% of monthly salary on rent, electricity and shopping respectively. The remaining money with Paw...
- Rohit spends 69% of his monthly income and saves Rs. 6,510. What is the income of his friend whose income is 30% more than Rohit’s?
Total number of students in a class is 1920, and the ratio of number of boys to girls is 7:9. If the number of boys and girls is increased by a% and (a ...
40 Litres of water is added to 60 litres of a solution containing 40% alcohol . What is the concentration of alcohol in solution now?
If 25% of ‘a’ is equal to 5 times 60% of ‘b’ and ‘a’ is 80% of 500, then find the value of ‘b’.
In a village election between two candidates, the winner secured 70% of the total votes cast and won by a majority of 13000 votes. How many votes did th...