Question
In an operating system, which of the following system
calls is most likely to cause a process to enter a waiting state due to synchronization with another process?ÂSolution
The wait() system call is used by a process to wait for the termination of a child process. When a process calls wait(), it enters a waiting state until one of its child processes exits. This is a synchronization mechanism that ensures that the parent process doesn't proceed until the child process has finished execution. In scenarios involving inter-process communication or concurrency, wait() is vital for preventing race conditions and ensuring correct process sequencing. The parent process will be suspended until the state of the child process changes, hence entering a waiting state. Why Other Options are Incorrect: A) fork(): fork() creates a new process but doesn't cause the parent or child process to wait; they execute concurrently. B) exec(): exec() replaces the current process's memory space with a new program but doesn't cause a process to wait. D) exit(): exit() terminates the current process but doesn't result in a waiting state for the process calling it. E) signal(): signal() is used to send a signal to a process but does not inherently involve process synchronization or waiting.
Which is not a method of overhead apportion mechanism?
If there exists a specific sports fund, the expenses incurred in relation to sports activities will be taken to:
Which of the following financial statements shows a company's assets, liabilities, and equity at a specific point in time?
Which report is issued after completion of statutory audit of a PSU?
A software company provides license + 2 years of updates and support. How should revenue be recognised?
Under which method are extraordinary items presented separately in the statement of profit and loss?
A company has a standard direct material cost of ₹10 per unit. Actual cost incurred was ₹12 per unit for 1,000 units. 950 units were actually produc...
The primary objective of Cash Management is to:
Which accounting treatment is appropriate for assets given on finance lease (lessee perspective) under Ind AS?
Amount paid for stationery during 2022-23        ₹ 80,000
Creditors for Stationery on March, 31, 2023       ₹ 7,...