FOR FREE MATERIALS

Always page size power of 2

 

As we see earlier that page size/frame size or address size is always a power of 2 because if page size or address size is power 2 then it is easier to break the address into two parts.

 

 

If l is one portion of the address then we can calculate another portion as n - l.

 

 

Important note:

When a problem-related to paging is given we always try to present all data to power of 2, so, we can calculate easily.

 

Example:

Like if Logical Address Space = 4KB so, we can write as LAS = 4KB212 [because 1KB = 210]

 

The chart which represents the unit in the power of 2:

 

KB in the power of 2:

 

 

This is the same we can represent more units in the power of 2.

 

Just remember the concept not the chart:

Like 16KB   now as we know  1KB = 210  and 16 B = 24