InterviewSolution
| 1. |
What Is Paging, Segmentation Y Do We Need It? |
|
Answer» Paging: Paging is a technique where in the OS makes available the data required as quickly as possible. It STORES some PAGES from the aux device to main memory and when a prog NEEDS a page that is not on the main memory it fetches it from aux memory and replaces it in main memory. It uses specialised algorithms to choose which page to replace from in main memory. CACHING: It deals with a concept where the data is temperorarily stored in a high speed memory for FASTER access. This data is duplicated in cache and the original data is stored in some aux memory. This concepts brings the average access time lower. Segmentation: Segmentation is a memory management scheme. This is the technique used for memory protection. Any accesses outside premitted area would result in segmentation fault. Virtual Memory: This technique enables noncontiguous memory to be accessed as if it were contiguous. Same as paging. Paging: Paging is a technique where in the OS makes available the data required as quickly as possible. It stores some pages from the aux device to main memory and when a prog needs a page that is not on the main memory it fetches it from aux memory and replaces it in main memory. It uses specialised algorithms to choose which page to replace from in main memory. Caching: It deals with a concept where the data is temperorarily stored in a high speed memory for faster access. This data is duplicated in cache and the original data is stored in some aux memory. This concepts brings the average access time lower. Segmentation: Segmentation is a memory management scheme. This is the technique used for memory protection. Any accesses outside premitted area would result in segmentation fault. Virtual Memory: This technique enables noncontiguous memory to be accessed as if it were contiguous. Same as paging. |
|