UNIX
Programming and Technical
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
Read Solution (Total 0)
UNIX Other Question
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
Q. What is the principle of locality?
A. It's the nature of the processes that they refer only to the small subset of the total data space of the process. i.e. the process frequently calls the same subroutines or executes the loop instructions