2 votes 2 votes True or False S1: In Fixed partition we have both internal and external fragmentation S2: In variable partition, we have only external fragmentation Operating System memory-management operating-system + – cse7 asked Nov 22, 2016 cse7 1.0k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 7 votes 7 votes Both the statements are correct Lokesh . answered Nov 22, 2016 selected Nov 22, 2016 by srestha Lokesh . comment Share Follow See all 4 Comments See all 4 4 Comments reply cse7 commented Nov 22, 2016 reply Follow Share for 2nd case, supoose i have 50KB memory space. 2 processes( A & B) of 25 KB are there then we allocate first 25KB to A and remaining 25 KB to B. After 10ms A completes it work and now another process C(20 KB) comes then we allocate C to first block now in the 1st block we have 5KB empty so is it external fragm. only? 3 votes 3 votes Lokesh . commented Nov 22, 2016 reply Follow Share after allocating C you will have 3 blocks here, 1st --> 20KB 2nd --> 5KB 3rd --> 25KB caz it is variable length partitions so you don't have 5KB left in 1st block you actually have 5 KB block separate which is external fragmentation 1 votes 1 votes cse7 commented Nov 22, 2016 reply Follow Share got it..thanks :) 0 votes 0 votes cse23 commented Dec 1, 2016 reply Follow Share In fixed partitioning we have both the frag. problem. External frag. is removed when along with fixed partitioning of logical space(into pages) and physical space(into frames), physical memory is non contiguous which is paging supports system view of memory 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes s1 is false becoz fixed size partitioning never suffers for ext frag ,only internal frag is there. s1 is true. Bhupendra answered Jan 6, 2018 Bhupendra comment Share Follow See all 2 Comments See all 2 2 Comments reply gauravkc commented Jan 6, 2018 reply Follow Share S1 is true. Suppose there are 4 blocks. Each block is of size 4MB Each block is filled with a 2MB processes. Thus, 8MB is actually free in memory but a new 4MB process cannot be allocated to the free space. This is external fragmentation. Also, here, note that a 4MB block is allocated 2MB process. This is internal fragmentation. 0 votes 0 votes LRU commented Jan 14, 2022 reply Follow Share Internal Fragmentation even affects the memory management techniques like paging, let alone the fixed partition. 1 votes 1 votes Please log in or register to add a comment.