From the perspective of an executing application programme, a logical address is the address at which an item (memory cell, storage element, or network host) seems to reside. Due to the functioning of an address translator or mapping function, a logical address may differ from the physical address.
Because the logical address does not exist in the actual world, it is also known as a virtual address. The CPU uses this address as a pointer to access the physical memory location.
The user can see the logical address, which is a virtual address. The primary distinction between logical and physical addresses is that logical addresses are produced by the CPU during programme execution, whereas physical addresses refer to memory unit locations.
A hardware device known as the Memory-Management Unit is utilised to map logical addresses to their physical addresses.
Physical memory has 32 frames, and each frame requires 32 (25) bits to address, totaling 5+10=15 bits. To address each page individually in an 8-page logical address space, 3 bits are required, for a total of 13 bits.