Microsoft Windows Question:
Download Questions PDF

On a system with paging, a process cannot access memory that it does not own why? How could the operating system allow access to other memory? Why should it or should it not?

Answer:

An address on a paging system is a logical page number and an offset. The physical page is found by searching a table based on the logical page number to produce a physical page number. Because the operating system controls the contents of this table, it can limit a process to accessing only those physical pages allocated to the
process. There is no way for a process to refer to a page it does not own because the page will not be in the page table. To allow such access, an operating system simply needs to allow entries for non-process memory to be added to the process?s page table. This is useful when two or more processes need to exchange data?they just read and write to the same physical addresses (which may be at varying logical addresses). This makes for very efficient interprocess communication.

Download Windows Interview Questions And Answers PDF

Previous QuestionNext Question
Why are page sizes always powers of 2?What is active directory? How it works?
What is dns? How it works?
What is dhcp? How it works?
What is ias? How it works?