3,723 views
1 votes
1 votes
Which of the following are true about of paging ?

1) It divide the memory into units of equal size

2)It permits implementation  of  virtual memory

3)It suffers from Internal Fragmentation

option a) 1 b ) 2 c) 3 d) 1,2,3

2 Answers

Best answer
0 votes
0 votes
Paging divides memory in equal size pages.It suffers from internal fragmentation (on an average (page size)/2) at very last level of page. Paging also implement virtual memory.

All are true,
1 votes
1 votes

Ans :  d ) 1,2,3 

            1 , as in paging main memory is divided into "frames" of equal size  and the logical memory is divided into "pages"  .

                 page size = frame size

            2 as Paging is an important part of virtual memory implementations in modern operating systems ..

             ( source wikipedia)   

            3  . Lets see an example from Galvin.   If page size is 2,048 bytes, a process of 72,766 bytes will need 35 pages plus                       1,086 bytes. It will be allocated 36 frames, resulting in internal fragmentation of 2,048−1,086= 962 bytes. In the worst                   case, a process would need n pages plus 1 byte. It would be allocated n+ 1 frames, resulting in internal                                       fragmentation of almost an entire frame.

  

Related questions

0 votes
0 votes
0 answers
1
SSR17 asked Feb 8
208 views
we have 8 pages (each side 32B) to store in physical memory of 2^32 bits how many bits are required to identify each page , according to me 3 bits are required but that i...
0 votes
0 votes
2 answers
4
Unique_999 asked Aug 17, 2023
320 views
Can Any explain the relationship between The “ Word Size “ and “ Logical Address Space “