List the major activities of an operating system with respect to memory management, secondary storage management and process management.