Podcast
Questions and Answers
What is the main purpose of base and limit registers in memory management?
What is the main purpose of base and limit registers in memory management?
- Managing the input queue for programs on disk
- Defining the logical address space and checking every memory access to ensure it is within the defined range (correct)
- Providing separate memory space for each process
- Directly accessing main memory and registers
What happens if a user program attempts to access OS memory or other users’ memory?
What happens if a user program attempts to access OS memory or other users’ memory?
- The program is brought into memory and placed within a process for it to be run
- A trap to the OS, treating the attempt as a fatal error (correct)
- The cache sits between main memory and registers
- The CPU fetches instructions from memory according to the value of the program counter
What provides protection for the OS from access by user processes?
What provides protection for the OS from access by user processes?
- Main memory and registers directly accessible by the CPU
- Separate memory space for each process
- Address protection provided by hardware (correct)
- Cache sitting between main memory and registers
What storage can the CPU access directly?
What storage can the CPU access directly?
What sits between main memory and registers?
What sits between main memory and registers?
Flashcards are hidden until you start studying