2. Two of the roles of an operating system is to act as • A resource manager, and • An abstract machine