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

  • A. a) every address generated by the CPU is being checked against the relocation and limit registers
  • B. b) they have a protection algorithm
  • C. c) they are in different memory spaces
  • D. d) they are in different logical addresses
Correct Answer: A. a) every address generated by the CPU is being checked against the relocation and limit registers
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.

If you think there is any confusion in the given MCQs, you can comment below.

Follow us on WhatsApp

docmcqs.com is Pakistan's No.1 online platform for preparing for all types of exams including PPSC, FPSC, KPSC, SPSC, Ministry of Defence, and for one-paper MCQs. This includes Pedagogy MCQs, general knowledge MCQs, current affairs MCQs, and much more.

Leave a Comment

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

Scroll to Top