Operating System Lecture Notes
Operating System Lecture Notes
ng
OPERATING SYSTEM I
CSC 125 (3 UNITS)
Lecture 1
• An Operating system acts as a communication bridge (interface) between the user and the
computer hardware.
• An operating system provides a platform on which a user can execute programs in a convenient
and efficient manner.
• The main task of an operating system is to allocate resources and services, such as allocation of:
memory, devices, processors and information.
• The operating system also includes programs to manage these resources, such as a traffic
controller, a scheduler, memory management module, I/O programs, and a file system.
Role & Purpose of Operating Systems
• An operating system is a piece of software that manages the allocation of computer hardware.
• The main goal of the Operating System is to make the computer environment more convenient to
use.
• The secondary goal of operating System is to use the resources in the most efficient manner.
• The coordination of the hardware must be appropriate to ensure the correct working of the computer
system and to prevent user programs from interfering with the proper working of the system.
• Example: Just like a boss gives order to his employee, in the similar way we request or pass our
orders to the Operating System.
Important functions of an operating System
• Security
The operating system uses password protection to protect user data and similar other techniques. it
also prevents unauthorized access to programs and user data.
• Control over system performance
- Monitors overall system health to help improve performance.
- records the response time between service requests and system response to have a complete
view of the system health.
- This can help improve performance by providing important information needed to troubleshoot
problems.
• Job accounting
• Operating system Keeps track of time and resources used by various tasks and users, this
information can be used to track resource usage for a particular user or group of user.
Important functions of an operating System cont.
The first computers used batch operating systems, in which the computer ran
batches of jobs without stop.
• Programs were punched into cards that were usually copied to tape for processing.
• When the computer finished one job, it would immediately start the next one on the tape.
• Users dropped jobs off, then returned to pick up the results after their jobs had run.
• This was inconvenient for the users, but the expensive computer was kept busy with a steady
stream of jobs.
• Before 1960
The Evolution of Operating Systems
Beginning in January 1975, the Altair was sold to hobbyists in kit form.
• The Altair did not have an operating system, since it had only toggle switches and
light-emitting diodes for input and output.
• People soon connected terminals and floppy disk drives to Altairs.
• In 1976, Digital Research introduced the CP/M operating system for the Altair and
computers like it. CP/M and later DOS had CLIs that were similar to those of the
time-shared operating systems, but the computer was dedicated to a single user, not
shared.
The Evolution of Operating Systems
• As hardware prices fell, personal computers with bit-mapped displays
that could control individual pixels were developed.
• These made personal computer with graphical user interfaces (GUIs)
possible.The first commercial success was the Apple Macintosh which
was introduced in 1984.
• The initial Macintosh pushed the state of the hardware art, and was
restricted to a small, monochrome display.
• As hardware continued to evolve, larger, color Macs were developed
and Microsoft introduced Windows, their GUI operating system.
The Evolution of Operating Systems
• The Macintosh operating system was based on decades of research on
graphically-oriented personal computer operating systems and
applications.