UNIX Programming and Technical

Q. What are conditions on which deadlock can occur while swapping the processes?

A. All processes in the main memory are asleep.
All ready-to-run processes are swapped out.
There is no space in the swap device for the new incoming process that are swapped out of the main memory. There is no space in the main memory for the new incoming process

Read Solution (Total 0)

UNIX Other Question

Q. What do you mean by nice value?

A. Nice value is the value that controls {increments or decrements} the priority of the process. This value that is returned by the nice () system call. The equation for using nice value is:
Priority = (recent CPU usageĀ/constant) + (base- priority) + (nice value)
Q. What are conditions for a machine to support Demand Paging?

A. Memory architecture must based on Pages,
The machine must support the "restartable" instructions