Operating Systems Study Guide || with Accurate Answers 100%.
Internal Fragmentation correct answers A process needs a certain amount of memory and is allocated the memory with a small hole left over the usage of resources to keep track of the hole could be more than the hole itself which is not worth the loss in performance.The memory is broken into fixed sized pieces to avoid the preceeding scenario from occuring, and a process gets allocated more memory then needed where the extra memory is referred to the internal fragmentation or unused memory in a partition. External Fragmentation correct answers occurs when processes are broken into little pieces and when there is enough total memory space to satisfy a request but the available spaces are not contiguous, storage is fragmented into a large number of small holes. How do you do a page number and offset? correct answers If 1Kb size a. 2375 Page number 2375 /1024=2 Offset 2375%1024=327 In systems that support virtual memory, virtual memory is... correct answers separated from logical memory Suppose we have the following page accesses: 1 2 3 4 2 3 4 1 2 1 1 3 1 4 and that there are three frames within our system. Using the FIFO replacement algorithm, what is the number of page faults for the given reference string? correct answers 8 if not in queue, then a fault happens, if in queue then a page fault does not happen Beladys anomaly states that... correct answers for some page replacement algorithms, the page-fault rate may increase as the number of allocated frames increases Copy-on-write correct answers allows the parent and child processes to initially share the same pages but when either process modifies a page, a copy of the shared page is created. Thrashing correct answers occurs when a process spends more time paging, then executing True or False A page fault must be preceded by a TLB miss. correct answers True Best fit correct answers the dynamic storage allocation algorithm which results in the smallest leftover hole in memory Consider a logical address with a page size of 8kb. How many bits must be used to represent the page offset in logical address? correct answers 13kb
Document information
- Uploaded on
- May 5, 2024
- Number of pages
- 7
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers