Operating System Programming and Technical

Q. What is semaphore?

A. Semaphore is a variable, whose status reports common resource, Semaphore is of two types one is Binary semaphore and other is Counting semaphore

Read Solution (Total 0)

Operating System Other Question

Q. What is starvation and aging?

A. Starvation is Resource management problem where a process does not get the resources it needs for a long time because the resources are being allocated to other processes. Aging is a technique to avoid starvation in a scheduling system
Q. What is context switching?

A. Transferring the control from one process to other process requires saving the state of the old process and loading the saved state for new process. This task is known as context switching.