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.
A company has Net Profit before tax = ₹15,00,000. Depreciation charged = ₹2,00,000. Loss on sale of machinery = ₹50,000. Increase in Debtors = ₹...
The capital asset pricing model (CAPM) suggest that, the cost of equity is a trade-off between :
Time of supply means
Application for cancellation of registration shall be submitted electronically in Form ______.
Consider the following information.
What will be the ...
ABC Ltd purchased raw materials worth Rs.1 lakh during FY19. It had opening stock of raw materials of Rs.12,000 at the beginning of the year and closed ...
A company purchases machinery for ₹10 lakhs and incurs ₹1 lakh on its installation. The accountant records the total ₹11 lakhs under the fixed ass...
What is the maximum time allowed to complete a buyback offer from the date of passing a special resolution?Â
If an MSME moves to a higher category due to reclassification, for how many years can it continue to avail benefits of the previous category (non-tax be...
Given:
• Net income: ₹30 lakh
• Depreciation: ₹10 lakh
• Increase in inventory: ₹5 lakh
• Decrease in payables...