Correct Answer:
B. all of the mentioned
The operating system (OS) is crucial for managing computer hardware and software. It handles bad-block recovery for data integrity, initiates booting from disk to start the system, and performs disk initialization to prepare storage. Therefore, "all of the mentioned" correctly identifies these core OS responsibilities.