Logical and physical addresses are important terms. The logical address is rendered by CPU while a program is executed, whereas the physical address directs to a location in the memory unit. Let’s figure out some major differences between logical and physical addresses.
Ultimate Guide to Kickstart your GATE Exam Preparation
Download the e-book now
What is a Logical Address?
An address induced by CUP when the program is executing is known as a logical address. It is assumed as a virtual address because it doesn’t have a physical presence and that is why it is also known as a virtual address. A logical address may be distinct from a physical address because of the operation and process of an address translator.
What is a Physical Address?
An address that helps in identifying the physical location of needed data is known as a physical address. We cannot use the physical address directly, to use it we have to access it by its corresponding logical address.
We can use the physical address space term for all the physical addresses corresponding to the logical addresses.
Difference between Logical Address and Physical Address in Operating System
S.No | Logical Address | Physical Address |
1 | Logical address is rendered by CPU. | Physical address is like a location that is present in the main memory. |
2 | It is a collection of all logical addresses rendered by the CPU. | It is a collection of all physical addresses mapped to the connected logical addresses. |
3 | Logical address of the program is visible to the users. | We cannot view the physical address of the program. |
4 | Logical address is generated by the CPU. | Physical address is computed by MMU. |
5 | We can easily utilise the logical address to access the physical address. | We can use the physical address indirectly. |
Keep learning and stay tuned to get the latest updates on GATE Exam along with GATE Eligibility Criteria, GATE 2023, GATE Admit Card, GATE Application Form, GATE Syllabus, GATE Cut off, GATE Previous Year Question Paper, and more.
Comments