OS Chapter 1
OS Chapter 1
Chapter one
Introduction
Topics
• What is an operating system?
• Operating System Functions
• Operating System Goals
• Computer System Components
• History of Operating System
• Types of Operating System
What is an Operating system
• A program that acts as an intermediary
between a user of a computer and the
computer hardware
• A systems program which controls and
manages all the computer's resources and
provides a base upon which application
programs can be written
Operating System functions
• Extending the machine: hiding the internal
complication of the hardware and presenting
simple view that is simpler and easier to use
– E.g. files instead of physical disk addresses
• Managing resources : provides an orderly and
controlled allocation of resources ( processers,
memories, printers ,etc) among various
programs competing for them
– E.g. printing service, space and time multiplexing
Operating system goals
• Execute user programs and make solving
user problems easier
• Make the computer system convenient
to use
• Use the computer hardware in an
efficient manner
Computer System Components
• Hardware - provides basic computing resources
(CPU, memory, I/O devices).
• Operating system - controls and coordinates the
use of the hardware among the various
application programs for the various users.
• Applications programs - define the ways in which
the system resources are used to solve the
computing problems of the users (compilers,
database systems, video games, business pro
grams).
• Users (people, machines, other computers).
Computer System
Cont’d
• Early Software
– Assemblers
– Loaders
– Linkers
– Libraries of common subroutines
– Compilers
– Device drivers
Operating System
• Resource allocator - manages and allocates
resources.
• Control program - controls the execution of
user programs and operation of I/O devices.
• Kernel - the one program running at all times
(all else being application programs).
Early Systems - bare machine (early 1950s) - First Generation
• Structure
– Large machines run from console
– Single user system
– Programmer/User as operator
– Paper tape or punched cards
• Secure
• Inefficient use of expensive resources
– Low CPU utilization
– Significant amount of setup time
Simple Batch Systems - Second Generation