[amp_mcq option1=”Memory management unit” option2=”Peripheral unit” option3=”Execution unit” option4=”Bus interface unit” correct=”option1″]
The correct answer is A. Memory management unit (MMU).
The MMU is a hardware unit that controls access to main memory. It does this by translating virtual addresses into physical addresses, and by enforcing access permissions.
Virtual addresses are generated by the CPU, and they are used to access memory locations. However, the physical addresses of memory locations are not known to the CPU. The MMU maps virtual addresses to physical addresses, and it does this in a way that ensures that only authorized processes can access certain memory locations.
The MMU also enforces access permissions. For example, it can prevent a process from accessing memory that it does not own, or from accessing memory that is currently being used by another process.
The MMU is a critical part of the memory management system, and it plays a vital role in ensuring the security and integrity of the system.
The other options are incorrect because they do not protect the memory.
- The peripheral unit is responsible for communicating with peripheral devices.
- The execution unit is responsible for executing instructions.
- The bus interface unit is responsible for transferring data between the CPU and other devices.