KCS-401 Lecture Notes - Lecture 1: Computer Multitasking, Time-Sharing, Program Counter
Document Summary
An operating system can be defined as an interface between user and hardware. It is responsible for the processes, resource allocation, cpu management, file management and many other tasks. The purpose of an operating system is to provide an environment in which a user can execute programs in a convenient and efficient manner. the execution of all. Types of operating systems : batch os a set of similar jobs are stored in the main memory for execution. A job gets assigned to the cpu, only when the execution of the previous job completes: multiprogramming os the main memory consists of jobs waiting for cpu time. Os selects one of the processes and assigns it to the cpu. Whenever the executing process needs to wait for any other operation (like i/o), the os selects another process from the job queue and assigns it to the cpu.