edited by
4,641 views
6 votes
6 votes

The operating system and the other processes are protected from being modified by an already running process because

  1. they run at different time instants and not in parallel
  2. they are in different logical addresses
  3. they use a protection algorithm in the scheduler
  4. every address generated by the CPU is being checked against the relocation and limit parameters
edited by

4 Answers

4 votes
4 votes

The Operating System uses two registers to implement memory protection, namely relocation register and limit register. Together, they can define the range of addresses a process can validly refer to.

When the dispatcher dispatches a process from ready to running state, the relocation register and the limit registers are given the respective values as per that process.

Each logical address generated by the CPU is checked against these registers to figure out if the logical address is out of bounds for the given process. This is how memory protection is implemented.

Option D

1 votes
1 votes

Option D).

Relocation and limit registers checks the address request made by process and prevents the system from accessing memory of other program.

More: https://www.classle.net/#!/classle/faq/what-logical-address-and-relocation-register/

 

0 votes
0 votes

D is correct. 

Every address generated by the CPU is being checked against the relocation and limit parameters to ensure security.

0 votes
0 votes
option D as the logical address generated by CPU is being checked by the Relocation Register (base register which contain the smallest PHYSICAL ADDRESS and Limit register which contain the range of the LOGICAL ADDRESS and one process can not modify other processes or operating system.
Answer:

Related questions

2 votes
2 votes
1 answer
1
Satbir asked Jan 13, 2020
4,223 views
Dispatch latency is defined asthe speed of dispatching a process from running to the ready statethe time of dispatching a process from running to ready state and keeping ...
4 votes
4 votes
3 answers
2
Satbir asked Jan 13, 2020
4,222 views
What is compaction refers toa technique for overcoming internal fragmentationa paging techniquea technique for overcoming external fragmentationa technique for compressin...
2 votes
2 votes
2 answers
3
Satbir asked Jan 13, 2020
2,183 views
An aid to determine the deadlock occurrence isresource allocation graphstarvation graphinversion graphnone of the above
2 votes
2 votes
1 answer
4
Satbir asked Jan 13, 2020
5,937 views
Which of the following algorithms defines time quantum?shortest job scheduling algorithmround robin scheduling algorithmpriority scheduling algorithmmultilevel queue sche...