SlideShare a Scribd company logo
CHAPTER 1
Introduction
To
Operating System
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Introduction
What is a Computer?
Most important software – Operating System
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Operating System Concepts
Definition :
-> Manages the computer hardware and
-> Provides user program with simpler interface to the
hardware
 Goal :
-> Convenience for users; and
-> Efficient operation of the computer system
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Components of the Computer System
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Components of the Computer System
Hardware : physical devices –
processor, keyboard, mouse, monitor, etc.
Operating System : manages hardware and masks the
complex details of hardware from the user
 provides simple interface between application programs
and hardware
Application Programs : particular tasks, different kinds of
functionalities provided by OS
 airline reservation system, banking system
Users : interact with the system by using application
programs to perform particular tasks
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Operating System : from user view
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
A top down view
Considered as an extended machine
OS as a machine – easier to program
Hides all details from user. Provides a layer between user
and hardware
Need not to concern about the complexities of hardware
Simply uses the functionalities provided by the OS, such as
system calls, to make his job done
Goal : User Convenience
Introduction to Operating System
Operating System : from system view
A bottom-up view
Considered as a Resource Manager
OS manages all the resources such as CPU, memory, I/O
devices
Resources are shared in one of two ways :
(i) By multiplexing them in Time :
 Each user takes a turn to use the resource (CPU)
(ii) By multiplexing them in Space :
 Each user gets part of the resource (memory)
 Primary goal : Efficiency
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
History of Operating System
 Charles Babbage – a true digital computer
1. The First Generation (1945 - 1955)
 Hardware : vacuum tubes and plug boards
 Neumann and others succeeded in building Calculating
engine
 No OS, no programming languages
 Introduction of Punch Cards
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
History of Operating System
2. The Second Generation (1955 - 1965)
 Hardware : transistors
 Clear separation between
designers, builders, operators, programmers and maintenance
personnel
 Machines were called mainframes
 Batch Operating System took birth
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
History of Operating System
3. The Third Generation (1965 - 1980)
 Hardware : Integrated Circuits
 Multiprogramming OS and variations of it such as Time
sharing, Interactive, Multitasking OS came in picture
 SPOOLing (Simultaneous Peripheral Operation On Line)
began during this time duration
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
History of Operating System
4. The Fourth Generation (1980 - present)
 Hardware : LSI (Large Scale Integration) Circuits
 Personal Computers evolved
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
1. Batch Operating System
 input devices : card readers, tap drives
 output devices : line printers, punch cards, tap drives
 OS was very simple and resident in main memory
 Prepare a job and submit to operator. Job was consisted of
program, data and some control information
 sort them in batches with similar requirements, and as
computer became available, run them batch wise
 after some time (some hours or even after some days)
output appeared. Output includes result and error information.
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
Memory Structure in Batch Operating System
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
Disadvantages :
 Low throughput : CPU remains idle when I/O is going on
 Programmers do not have direct interaction with Job
 Debugging is possible only offline, after output appears
 Operations were too much time consuming
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
2. Multiprogramming Operating System
 Run more than one program concurrently
 more than one program loaded in main memory
simultaneously. These programs can be executed concurrently.
Memory is shared between OS and such kind of programs.
 Multiprogramming = Multitasking
 significantly improves system throughput and resource
utilization
 CPU can be utilized as much as possible. Eg. During I/O
operation, CPU will be free, and it can be allocated to other
Job.
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
Multiprogramming with three programs
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
Implementation :
1. Non-preemptive :
 A program is allowed to execute until it voluntarily gives up
the CPU
 A program voluntarily gives up the CPU when it waits for
some event, such as I/O operation, or when it terminates
 Once a CPU becomes free, it can be allocated to some other
program.
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
2. Preemptive :
 A program is allowed to execute for some maximum amount
of time.
 After this time, a CPU is forcibly taken away from the
program
 minimize the response time for user
 suitable for interactive programs
 Today most of the Operating Systems
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
Required Features :
 better memory management and protection
 swapping and virtual memory
 CPU scheduling
 Disk management and file system
 Synchronization & communication between running
programs and problems like deadlock should be overcome
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
3. Multi-user Operating System
 Single user Os allows single user to access computer system
at a time.
 Multiple users cannot use single computer at a time. Eg.
Situation at home
 Multi-user allow multiple users to access computer system
at a time
 remote access is provided via a network, So that users can
access the computer remotely using a terminal or other
computer
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
A terminal contains I/O devices eg. ATM machine or
computer at railway station
Multiple user can access the single computer through time-
sharing and multiprogramming
CPU is time-sliced at a regular interval
Eg. Unix, VMS and mainframe OS
The OS must make sure that –
 Each and every program executed by multiple users has
sufficient and separate resource
 Resources, such as printers, should be shared in fair and
proper way.
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
Introduction to Operating System
Types of Operating System
 Request from one user should not affect the operation of
other users
 only authenticate and valid users should use the data stored
on computers
Expensive hardwares can be shared among several users
using multi-user OS. This provides better utilization of
resources.
As more users access it, the performance becomes slower and
slower.
Cost of hardware and software in multi-user environment is
more than single user OS.
Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic

More Related Content

PPTX
Operating system
PPTX
Operating Systems & Applications
PPT
Introduction to operating system
PPT
Operating systems By Awais
PPTX
Introduction to Operating Systems
PPTX
Operating System PPT
PPT
introduction To Operating System
PPTX
Types Of Operating Systems
Operating system
Operating Systems & Applications
Introduction to operating system
Operating systems By Awais
Introduction to Operating Systems
Operating System PPT
introduction To Operating System
Types Of Operating Systems

What's hot (20)

PPTX
operating system
PPTX
Types of Operating System
PPTX
Modern operating system.......
PPTX
Operating systems Overview
PDF
Operating System-Introduction
PDF
Operating systems
PPTX
Operating systems (For CBSE School Students)
PPT
Operating systems11 9-07
PPTX
Operating system and its types
PPTX
Operating System concepts
PPTX
Operating system and its function
PPTX
chapter 1 introduction to operating system
PPTX
Operating system
PPT
3 definition of operating systems
PPTX
Operating system
PPT
Operating System
PPT
Presentation on operating system
PPTX
Types of o.s
PPTX
Os bhavesh
PPT
Introduction to operating syatem
operating system
Types of Operating System
Modern operating system.......
Operating systems Overview
Operating System-Introduction
Operating systems
Operating systems (For CBSE School Students)
Operating systems11 9-07
Operating system and its types
Operating System concepts
Operating system and its function
chapter 1 introduction to operating system
Operating system
3 definition of operating systems
Operating system
Operating System
Presentation on operating system
Types of o.s
Os bhavesh
Introduction to operating syatem
Ad

Viewers also liked (20)

PDF
PPTX
PPT
4 various operating systems
PPTX
Learning Session 2: Computer Basics, Operating Systems, File Management, an...
PPTX
Operating System - Types Of Operating System Unit-1
PDF
Operating systems Basics
DOC
Lesson 4 Types Of Operating Systems
PPT
Windows 98
PPTX
Types of operating system
PPT
Electronic mail : Introduction, drafting effective email, email etiquettes
PPT
Overview of various types of operating system
PPTX
INTRODUCTION TO OPERATING SYSTEM
PPTX
Windows 95 Powepoint Presentation
PPT
Basics of Internet and WWW
PPT
Types of Operating System
PPT
Computer Internet Basics I
PPTX
Batch operating system
PDF
Operating Systems Basics
PPT
Chapter 1: Introduction to Operating System
PDF
Operating Systems Part I-Basics
4 various operating systems
Learning Session 2: Computer Basics, Operating Systems, File Management, an...
Operating System - Types Of Operating System Unit-1
Operating systems Basics
Lesson 4 Types Of Operating Systems
Windows 98
Types of operating system
Electronic mail : Introduction, drafting effective email, email etiquettes
Overview of various types of operating system
INTRODUCTION TO OPERATING SYSTEM
Windows 95 Powepoint Presentation
Basics of Internet and WWW
Types of Operating System
Computer Internet Basics I
Batch operating system
Operating Systems Basics
Chapter 1: Introduction to Operating System
Operating Systems Part I-Basics
Ad

Similar to Operating system introduction to operating system (20)

PPTX
Operating system
PPTX
EE469-ch1.pptx
PPTX
EE469-ch1.pptx
PDF
3330701_unit-1_operating-system-concepts.pdf
PPTX
Unit 1 introduction to os
PPT
Introduction to Operating Systems
PDF
1 intro and overview
PPT
unit1 part1.ppt
PPT
Introduction of os and types
PPT
An Overview of Operating Systems and algorithms.ppt
PPTX
Advanced computer architecture lesson 1 and 2
PPTX
Operating_System_Overview, Types and function of OS
PPTX
OS - BACKGROUND HANDLING
PPTX
Unit - I Intro and Types of Operating system.pptx
PPTX
os unit 1 (2).pptx. introduction to operating systems
PPT
Operating systems11 9-07 (1)
PPTX
Unit 1 -Introduction of Operating System
PPT
Introduction to OS 1.ppt
PPT
chapter 1 intoduction to operating system
PDF
Ch1 - OS.pdf
Operating system
EE469-ch1.pptx
EE469-ch1.pptx
3330701_unit-1_operating-system-concepts.pdf
Unit 1 introduction to os
Introduction to Operating Systems
1 intro and overview
unit1 part1.ppt
Introduction of os and types
An Overview of Operating Systems and algorithms.ppt
Advanced computer architecture lesson 1 and 2
Operating_System_Overview, Types and function of OS
OS - BACKGROUND HANDLING
Unit - I Intro and Types of Operating system.pptx
os unit 1 (2).pptx. introduction to operating systems
Operating systems11 9-07 (1)
Unit 1 -Introduction of Operating System
Introduction to OS 1.ppt
chapter 1 intoduction to operating system
Ch1 - OS.pdf

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
MYSQL Presentation for SQL database connectivity
PDF
cuic standard and advanced reporting.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Approach and Philosophy of On baking technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
The AUB Centre for AI in Media Proposal.docx
MIND Revenue Release Quarter 2 2025 Press Release
Programs and apps: productivity, graphics, security and other tools
MYSQL Presentation for SQL database connectivity
cuic standard and advanced reporting.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Review of recent advances in non-invasive hemoglobin estimation
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Mobile App Security Testing_ A Comprehensive Guide.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
sap open course for s4hana steps from ECC to s4
Approach and Philosophy of On baking technology

Operating system introduction to operating system

  • 1. CHAPTER 1 Introduction To Operating System Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 2. Introduction to Operating System Introduction What is a Computer? Most important software – Operating System Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 3. Introduction to Operating System Operating System Concepts Definition : -> Manages the computer hardware and -> Provides user program with simpler interface to the hardware  Goal : -> Convenience for users; and -> Efficient operation of the computer system Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 4. Introduction to Operating System Components of the Computer System Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 5. Introduction to Operating System Components of the Computer System Hardware : physical devices – processor, keyboard, mouse, monitor, etc. Operating System : manages hardware and masks the complex details of hardware from the user  provides simple interface between application programs and hardware Application Programs : particular tasks, different kinds of functionalities provided by OS  airline reservation system, banking system Users : interact with the system by using application programs to perform particular tasks Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 6. Introduction to Operating System Operating System : from user view Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic A top down view Considered as an extended machine OS as a machine – easier to program Hides all details from user. Provides a layer between user and hardware Need not to concern about the complexities of hardware Simply uses the functionalities provided by the OS, such as system calls, to make his job done Goal : User Convenience
  • 7. Introduction to Operating System Operating System : from system view A bottom-up view Considered as a Resource Manager OS manages all the resources such as CPU, memory, I/O devices Resources are shared in one of two ways : (i) By multiplexing them in Time :  Each user takes a turn to use the resource (CPU) (ii) By multiplexing them in Space :  Each user gets part of the resource (memory)  Primary goal : Efficiency Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 8. Introduction to Operating System History of Operating System  Charles Babbage – a true digital computer 1. The First Generation (1945 - 1955)  Hardware : vacuum tubes and plug boards  Neumann and others succeeded in building Calculating engine  No OS, no programming languages  Introduction of Punch Cards Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 9. Introduction to Operating System History of Operating System 2. The Second Generation (1955 - 1965)  Hardware : transistors  Clear separation between designers, builders, operators, programmers and maintenance personnel  Machines were called mainframes  Batch Operating System took birth Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 10. Introduction to Operating System History of Operating System 3. The Third Generation (1965 - 1980)  Hardware : Integrated Circuits  Multiprogramming OS and variations of it such as Time sharing, Interactive, Multitasking OS came in picture  SPOOLing (Simultaneous Peripheral Operation On Line) began during this time duration Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 11. Introduction to Operating System History of Operating System 4. The Fourth Generation (1980 - present)  Hardware : LSI (Large Scale Integration) Circuits  Personal Computers evolved Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 12. Introduction to Operating System Types of Operating System 1. Batch Operating System  input devices : card readers, tap drives  output devices : line printers, punch cards, tap drives  OS was very simple and resident in main memory  Prepare a job and submit to operator. Job was consisted of program, data and some control information  sort them in batches with similar requirements, and as computer became available, run them batch wise  after some time (some hours or even after some days) output appeared. Output includes result and error information. Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 13. Introduction to Operating System Types of Operating System Memory Structure in Batch Operating System Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 14. Introduction to Operating System Types of Operating System Disadvantages :  Low throughput : CPU remains idle when I/O is going on  Programmers do not have direct interaction with Job  Debugging is possible only offline, after output appears  Operations were too much time consuming Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 15. Introduction to Operating System Types of Operating System 2. Multiprogramming Operating System  Run more than one program concurrently  more than one program loaded in main memory simultaneously. These programs can be executed concurrently. Memory is shared between OS and such kind of programs.  Multiprogramming = Multitasking  significantly improves system throughput and resource utilization  CPU can be utilized as much as possible. Eg. During I/O operation, CPU will be free, and it can be allocated to other Job. Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 16. Introduction to Operating System Types of Operating System Multiprogramming with three programs Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 17. Introduction to Operating System Types of Operating System Implementation : 1. Non-preemptive :  A program is allowed to execute until it voluntarily gives up the CPU  A program voluntarily gives up the CPU when it waits for some event, such as I/O operation, or when it terminates  Once a CPU becomes free, it can be allocated to some other program. Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 18. Introduction to Operating System Types of Operating System 2. Preemptive :  A program is allowed to execute for some maximum amount of time.  After this time, a CPU is forcibly taken away from the program  minimize the response time for user  suitable for interactive programs  Today most of the Operating Systems Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 19. Introduction to Operating System Types of Operating System Required Features :  better memory management and protection  swapping and virtual memory  CPU scheduling  Disk management and file system  Synchronization & communication between running programs and problems like deadlock should be overcome Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 20. Introduction to Operating System Types of Operating System 3. Multi-user Operating System  Single user Os allows single user to access computer system at a time.  Multiple users cannot use single computer at a time. Eg. Situation at home  Multi-user allow multiple users to access computer system at a time  remote access is provided via a network, So that users can access the computer remotely using a terminal or other computer Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 21. Introduction to Operating System Types of Operating System A terminal contains I/O devices eg. ATM machine or computer at railway station Multiple user can access the single computer through time- sharing and multiprogramming CPU is time-sliced at a regular interval Eg. Unix, VMS and mainframe OS The OS must make sure that –  Each and every program executed by multiple users has sufficient and separate resource  Resources, such as printers, should be shared in fair and proper way. Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic
  • 22. Introduction to Operating System Types of Operating System  Request from one user should not affect the operation of other users  only authenticate and valid users should use the data stored on computers Expensive hardwares can be shared among several users using multi-user OS. This provides better utilization of resources. As more users access it, the performance becomes slower and slower. Cost of hardware and software in multi-user environment is more than single user OS. Jaydeep Patel Dept. of Computer Engineering LJ Polytechnic