Why is mapping required? Computer 'Paging' & 'Segmentation'.

Answers were Sorted based on User's Feedback



Why is mapping required? Computer 'Paging' & 'Segmentation'...

Answer / vikram

virtual address concept allows a operation system to execute
a process without having the entire process in the main
memory. That is you have only a part of the process which is
just enough for execution at that point of time. But from
the computers point of view it is thinking that the entire
process is available in the memory. To make this work we
make believe the computer with a bigger memory say 2gb
virtual memory but you are having only 1 gb physical memory.

now the computer as usually tries to get a part of the
process in the the cpu for execution. But the part requested
may be present in the main memory or not because we have
bluffed the computer by giving virtual address. So in
situation where we have the part in main memory we have to
give the computer with that physical address.

so the procedure which gives the physical address from its
virtual address is called paging.


Segmentation is totally a different concept. A segment would
comprise of a function that you have written in your code.
In this case to refer to a function you have to refer to
that function and then to the page that has this segment.
This concept is called segmented paging.

Is This Answer Correct ?    0 Yes 0 No

Why is mapping required? Computer 'Paging' & 'Segmentation'...

Answer / banavathvishnu

Virtual Address Space is created at the time when a new
process is created.
The address space for each process is private.
Each Virtual Address is mapped to the physical address
using Page Table.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Operating Systems General Concepts Interview Questions

Which is the best operating system in the world?

0 Answers  


What are read-write locks?

0 Answers  


Which JVM parameter is used to control the stack size of a thread?

0 Answers  


Which vpn protocol is best?

0 Answers  


What do you mean by memory leak?

0 Answers  






Explain the concept of Reentrancy?

1 Answers   ADP, Microsoft, Seasia Infotech,


Give a brief description of the following terms: a) Play head b) Symbol c) Tweening d) ActionScript e) Frame rate f) Library panel g) Masking h) Context – sensitive Property Inspector i) Bandwidth Profiler j) Frame Label

0 Answers  


How do I stop blue screen?

0 Answers  


What are the 5 basic filing systems?

0 Answers  


Explain Marshalling?

0 Answers   MaxSolPro,


What is dynamic scheduling in operating system (os)?

0 Answers  


What is the need of device status table?

0 Answers  


Categories