95.3k views
1 vote
Program always deals with:

a) Logical address
b) Absolute address
c) Physical address
d) Relative address

1 Answer

6 votes

Final answer:

A program generally deals with logical addresses, which are translated by the operating system and memory management unit into physical addresses pointing to actual memory locations in RAM.

Step-by-step explanation:

When considering the types of addresses a program deals with, it's essential to understand the distinction between different kinds of addresses that may be used in computer memory. The options given include logical, absolute, physical, and relative addresses.

The correct answer to the question is: a) Logical address. A program typically deals with logical addresses when it runs. These are the addresses used at the programming level to access memory locations without regard to where the actual physical memory is located. The operating system and memory management unit (MMU) work together to translate these logical addresses into physical addresses, which refer to an actual location in the computer's RAM.

The idea can be compared to geographic location systems. An absolute location, such as a street address, is akin to a physical address in computer memory. It's a specific, fixed point. In computing, the MMU converts the logical address, which is like a description of a location relative to other locations, into a physical memory address, pointing to a precise spot where data is stored.

User Fernando Urkijo
by
8.1k points