OS Chapter 1
OS Chapter 1
Prepared by
HND I
First Semester
CHAPTER I
1)DEFINITION
2)FUNCTIONS OF AN OS
3)HISTORY OF THE OS
4)ADVANTAGES AND DISADVANTAGES OF THE OS
5)TYPES(CATEGORIES) OF OS
1) WHAT IS THE OS?
● An operating system (OS) is a set of programs that
control the execution of application programs and act
as an intermediary between a user of a computer and
the computer hardware.
● OS is a software that manages the computer hardware
as well as providing an environment for application
programs to run.
● Examples of OS are: Windows and MacOS.
WHAT IS THE OS(CONT)
● It acts as an intermediary between the user(s)
and the computer.
● It is similar to the Government of a country.
● It is itself a software that controls other
software in the computer system and how they
access the hardware.
OS OBJECTIVES
● This saw the first OS created in 1950 and was called GMOS(General
Motors).
● It was based on a single stream batch processing system and it collected
all similar jobs in groups or batches and then submitted them to the
operating system using a punch card to complete all jobs in a machine.
● At the end of each job, the OS is cleaned and the next job is read from
the punch card
● This generation saw the birth of Main frame computers which were
large
.
HISTORY(GENERATIONS) OF THE OS
THE THIRD GENERATION (1965 - 1980)
❖ BATCH OS
❖ TIME-SHARING OS
❖ EMBEDDED OS
❖ MULTIPROGRAMMING OS
❖ NETWORK OS
❖ DISTRIBUTED OS
❖ MULTIPROCESSING OS
❖ REAL-TIME OS
TYPES OF OS(CONT)
BATCH OS
● Here, no direct interaction between user and computer exists.
● User jobs are prepared offline and saved to punch cards or tapes.
● The jobs are handed to the computer operator.
● The operator submits the batches to the CPU for execution.
● The jobs are put in a queue for execution.
● Well all jobs are executed, the output is produced.
TYPES OF OS(CONT)
DISADVANTAGES OF BATCH OS
● Makes use of the fact that much cpu time is spent waiting for intructions.
● A multiprogramming operating system refers to the concepts wherein two or
more processes or programs activate simultaneously to execute the
processes one after another by the same computer system.
● When a program is in run mode and uses CPU, another program or file uses
I/O resources at the same time or waiting for another system resources to
become available.
● This improves use of system resources and hence through put.
TYPES OF OS(CONT)
MULTIPROGRAMMING OS
● The servers are centralized that can be accessed remotely from distant
locations and different systems.
● It is easy to integrate advanced and recent technologies and hardware in
this system.
● Its performance is higher than a single system as resources are being shared.
● If one system stops working, malfunctions, or breaks down, other nodes are
not affected.
● Additional resources can be added easily.
● Shared access to resources like printer can be established.
● Delay in processing is reduced to a greater extent.
● Data sharing or exchange speed is high, owing to the use of electronic mail.
TYPES OF OS(CONT)
DISTRIBUTED OS DISADVANTAGES
● In operating systems, to improve the performance of more than one CPU can
be used within one computer system called Multiprocessor operating system.
● Multiple CPUs are interconnected so that a job can be divided among them
for faster execution.
● When a job finishes, results from all CPUs are collected and compiled to give
the final output.
● Jobs needed to share main memory and they may also share other system
resources among themselves. Multiple CPUs can also be used to run multiple
jobs simultaneously.
● For Example: UNIX Operating system is one of the most widely used
multiprocessing systems.
TYPES OF OS(CONT)
ADV AND DISADV OF MULTIPROCESSING OS
• A) ADVANTAGES
● Increased reliability: Due to the multiprocessing system, processing tasks can be
distributed among several processors. This increases reliability as if one processor
fails; the task can be given to another processor for completion.
● Increased throughout: As several processors increase, more work can be done in
less
● The economy of Scale: As multiprocessors systems share peripherals, secondary
storage devices, and power supplies, they are relatively cheaper than single-processor
systems.
● B) DISADVANTAGE
● Operating system of multiprocessing is more complex and sophisticated as it takes
care of multiple CPUs at the same time..
TYPES OF OS(CONT)
REAL TIME OS(RTOS)
● The output is more and quick owing to the maximum utilization of devices
and system
● Task shifting is very quick, e.g., 3 microseconds, due to which it seems that
several tasks are executed simultaneously
● Gives more importance to the currently running applications than the queued
application
● It can be used in embedded systems like in transport and others.
● It is free of errors.
● Memory is allocated appropriately.
TYPES OF OS(CONT)
DISADVANTAGES OF REAL TIME OS(RTOS)