Advertisements
Advertisements
Question
What is Virtual Memory ? Explain any three terms related to virtual memory.
Solution
Virtual Memory : Virtual memory is an attempt, which makes the execution of the processes possible, which may completely not in the main memory. Some part of the process may be on disk.
(1) Locality of reference: Clustering of page references in a certain time zone is called the principle of locality of reference. It gives some basis to forecast whether a page is likely to be referenced in the near future based on its passed behavior and so you can swap out the page.
(2) Page Fault: During the process execution, only few pages are in the memory. At that time an instruction is encountered which refers to any instruction or data in that page which is not in memory. So the page can not be referred and it is called as the page fault.
(3) Working Set: The set of pages in the physical memory actively referred to at any moment is called working set.
(4) Page replacement policy: As no. of processes and no. of pages in main memory for each process increase, all the page frames become occupied at some point of time. For the new page, the operating system has to overwrite some existing page in memory. The page to be replaced is selected by page replacement policy.
(5) Dirty Page: Before overwriting a page, the operating system has to check whether the page has to modified or not. If the page is modified, it becomes a dirty page. The dirty bit is used for checking whether the page is dirty or not.
(6) Demand Paging: A page is swapped in when it is demanded. This policy is known as demand paging.
APPEARS IN
RELATED QUESTIONS
Give three differences between WORM and VIRUS.
What functions are performed by Memory Management of Operating System ?
State the various steps involved in the allocation of partition in case of fixed partition memory management.
What is Graphical User Interface (GUI) ?
Explain the following process states :
Running State
Explain the following process states :
Ready State
List any six features of LINUX Operating System.
Explain the function of the following in Operating system:
1) Virus Detection
2) Virus Removal
3) Virus Prevention
Identify the usage of Operating Systems.
Differentiate Save and Save As option.