An operating system is responsible for managing a computer’s resources. These resources include memory, disk space, and CPU cycles. It…