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

a) every address generated by the CPU is being checked against the relocation and limit registers
b) they have a protection algorithm
c) they are in different memory spaces
d) they are in different logical addresses

every address generated by the CPU is being checked against the relocation and limit registers

This is the correct answer.

  • Relocation register: Holds the base address of a process’s memory space.
  • Limit register: Specifies the maximum size of a process’s memory space.

Whenever a process generates an address, the CPU checks it against these registers. If the address is within the process’s allowed memory range, it’s valid. Otherwise, it’s considered an invalid access and is prevented. This mechanism protects the operating system and other processes from being corrupted by a rogue process.

This protection is essential for maintaining system integrity and security.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top