OS Sheet (4)
OS Sheet (4)
OS Sheet (4)
Major :
2) _____ is the concept in which a process is copied into main memory from the secondary memory
according to the requirement.
a) Paging b) Demand paging
c) Segmentation d) Swapping
4) When a program tries to access a page that is mapped in address space but not loaded in physical memory,
then
a) segmentation fault occurs b) fatal error occurs
c) page fault occurs d) no error occurs
6) Which algorithm chooses the page that has not been used for the longest period of time whenever the
page required to be replaced?
a) first in first out algorithm b) additional reference bit algorithm
c) least recently used algorithm d) counting based page replacement algorithm
1
c) a program to be larger than the secondary storage
d) execution of a process without being in physical memory
12) When a page fault occurs, the state of the interrupted process is :
a) disrupted b) invalid
c) saved d) None of these
2
17) What is compaction?
a) a technique for overcoming internal fragmentation
b) a paging technique
c) a technique for overcoming external fragmentation
d) a technique for overcoming fatal error
23) When the memory allocated to a process is slightly larger than the process, then :
a) internal fragmentation occurs b) external fragmentation occurs
c) both a and b d) neither a nor b
3
26) The relocation register helps in :
a) providing more address space to processes
b) a different address space to processes
c) to protect the address spaces of processes
d) None of these
27) With relocation and limit registers, each logical address must be _______ the limit register.
a) less than b) equal to
c) greater than d) None of these
6. What is fragmentation?
7. How can systems run processes which are larger than available primary memory?