distinguish between physical addresses and logical address?

Answers were Sorted based on User's Feedback



distinguish between physical addresses and logical address?..

Answer / chandrayani rokde

physical address is used in main memory.

logical address is used in virtual memory.

Is This Answer Correct ?    200 Yes 41 No

distinguish between physical addresses and logical address?..

Answer / ravi a joshi

Though the answer is not simple, it is not too difficult
either to understand. Please bear with me for a long answer:

Every modern day computer can address a huge amount of
system memory. The system memory is something the
OS/Processor setup uses during the normal operation of the
computer. Intel's i386 onwards, the processors can address
up to 4 GB of memory. This directly depends on the number of
address lines the processor has. This 4 GB of memory is
called Physical Memory. In other words, if your system has 1
GB of RAM installed, that is called your physical memory.
This is solely used by Memory Management Unit (both on-chip
and software).

However, the CPU does not understand the concept of physical
memory so neatly as we do. Since, the addressing it is
expected to do is instructed from operating system and
operating system understands virtual addresses. Hence, There
is a need to make these two address types meet at one common
place and that is logical address.

In short, CPU receives virtual address from OS, converts it
to logical address to address the physical address, pheww...

Hope that makes it clear !!!

Is This Answer Correct ?    138 Yes 21 No

distinguish between physical addresses and logical address?..

Answer / ragini

logical address used in virtual memory or by user
physical address used in main memory.

Is This Answer Correct ?    128 Yes 32 No

distinguish between physical addresses and logical address?..

Answer / ravinder kaur

the address generated by cpu is logical address. logical
address is generated when instruction or data are executed.
during its processing by cpu it generate some address for
allocating some space in memory. this address is known as
logical address.
the address generated by memory unit: to load the
instruction and data in to memory register is known as
physical address..........

Is This Answer Correct ?    81 Yes 12 No

distinguish between physical addresses and logical address?..

Answer / siri

physical address is the address which is divided into small
parts called frames
logical address is the address which is divided into small
parts called pages

Is This Answer Correct ?    105 Yes 50 No

distinguish between physical addresses and logical address?..

Answer / yohannes tizazu

Logical address (virtual address) refers to a memory
location independent of the current assignment of data to
memory

Physical address (absolute address) the absolute location
of unit of data in memory

Is This Answer Correct ?    37 Yes 6 No

distinguish between physical addresses and logical address?..

Answer / praveen b level

logical address used in virtual memory or by user

physical address is used in main memory.

Is This Answer Correct ?    38 Yes 12 No

distinguish between physical addresses and logical address?..

Answer / vijay.s

PHYSICAL ADDRESS here refers to MAC Address.

Mac address cannot be changed.Mac uses 48 bit address format.

LOGICAL ADDRESS here refers to IP address.

IP address can be changed.It(IPv4) uses 32 bit addressing
format.

Is This Answer Correct ?    65 Yes 41 No

distinguish between physical addresses and logical address?..

Answer / salman

An address generated by the CPU is commonly refereed as
Logical Address,whereas the address seen by the memory
unit,that is one loaded into the memory address register of
the memory is commonly refereed as the Physical Address.The
compile time and load time address binding generates the
identical logical and physical addresses.However, the
execution time address binding scheme results in differing
logical and physical addresses.

The set of all logical addresses generated by a program is
known as Logical Address Space,whereas the set of all
physical addresses corresponding to these logical addresses
is Physical Address Space.Now, the run time mapping from
virtual address to physical address is done by a hardware
device known as Memory Management Unit.Here in the case of
mapping the base register is known as relocation
register.The value in the relocation register is added to
the address generated by a user process at the time it is
sent to memory.Let's understand this situation with the help
of example:If the base register contains the value 1000,then
an attempt by the user to address location 0 is dynamically
relocated to location 1000,an access to location 346 is
mapped to location 1346.

The user program never sees the real physical address
space,it always deals with the Logical addresses.As we have
two different type of addresses Logical address in the range
(0 to max) and Physical addresses in the range(R to R+max)
where R is the value of relocation register.The user
generates only logical addresses and thinks that the process
runs in location to 0 to max.As it is clear from the above
text that user program supplies only logical addresses,these
logical addresses must be mapped to physical address before
they are used.

Is This Answer Correct ?    5 Yes 2 No

distinguish between physical addresses and logical address?..

Answer / manish soni

what is ravi a joshi ....
In short, CPU receives virtual address[mean logical address]
from OS, converts it
to logical address to address the physical address


to check and the send this answer again.

Is This Answer Correct ?    7 Yes 4 No

Post New Answer

More Unix Commands Interview Questions

Explain the steps that a shell follows while processing a command.

0 Answers  


How to get a particular string as your prompt ? Give syntax of that command?

3 Answers  


fork in unix ?

4 Answers   BFL,


Why is it called a shebang?

0 Answers  


How do you find out all processes that are currently running in UNIX OS?

10 Answers  






what is the difference between "cron" command and "at" command?

5 Answers  


How do I clear my terminal history?

0 Answers  


Is grep faster than awk?

0 Answers  


Which command is used to kill the last background job?

0 Answers  


what is the use of ls -l command & what is the information it gives about user ?

5 Answers  


Who invented grep?

0 Answers  


What does sed command do in unix?

0 Answers  


Categories