(d). An operating system protects various components of the computer
that we use. Describe ways by which an operating system protects the
processor, main memory, input-output devices and hardware in a
computer system.