SlideShare una empresa de Scribd logo
1 de 43
Operating Systems
What is OS?
 Operating System is a software, which makes a
computer to actually work.
 It is the software the enables all the programs we use.
 The OS organizes and controls the hardware.
 OS acts as an interface between the application
programs and the machine hardware.
 Examples: Windows, Linux, Unix and Mac OS, etc.,
What OS does?
An operating system performs basic tasks such as,
 controlling and allocating memory,
 prioritizing system requests,
 controlling input and output devices,
 facilitating networking and
 managing file systems.
Structure of Operating System:
Application Programs
System Programs
Software (Operating System)
HARDWARE
(Contd…)
Structure of Operating System
(Contd…):
 The structure of OS consists of 4 layers:
1. Hardware
Hardware consists of CPU, Main memory, I/O
Devices, etc,
2. Software (Operating System)
Software includes process management
routines, memory management routines, I/O
control routines, file management routines.
(Contd…)
Structure of Operating System
(Contd…):
3. System programs
This layer consists of compilers, Assemblers,
linker etc.
4. Application programs
This is dependent on users need. Ex. Railway
reservation system, Bank database
management etc.,
Types of Operating System
 Operating System can be classified into
various categories on the basis of several
criteria
 number of simultaneously active programs
 number of users working simultaneously
 number of processors in the computer system
 Application Oriented
 Etc.
Types of Operating System
 Batch Operating System
 Multiprogramming Operating System
 Time-sharing/Multitasking Operating System
 Multi Processing Operating System
 Multi-user Operating System
 Real-time Operating systems
 Distributed Operating Systems
Batch Operating System:
 Batch processing. Batch processing is the execution of a
series of programs ("jobs") on a computer without
manual intervention.
 Jobs are set up so they can be run to completion without
human interaction.
 All input parameters are predefined through scripts,
command line arguments, control files, or job control
language.
 The OS was simple, its major task was to transfer control
from one job to the next.
 The job was submitted to the computer operator in form
of punch cards. At some later time the output appeared.
Batch Operating System (Contd…):
Batch Operating System (Contd…):
 Common output devices were line printers, tape drives,
and card punches.
 Example: Bank statements - At the end of month the
bank makes statements for each account holder. So
these bank statements can be made easily by batch
systems at the end of month.
OS
User
program
area
Memory:
The OS was
always resident
in memory
Batch Operating System (Contd…):
 Questions:
 Write a limitation of batch Processing with
respectively CPU time.
 Any one real world example of batch processing
(other than subject teacher given)
Multiprogramming Operating System:
 Main Limitation of Batch Processing:
 CPU Idle time is more.
 All Jobs in batch are executed in sequence manner only.
So required to more utilization of CPU
 Multiprogramming is a technique
 To execute number of programs simultaneously by a single
processor.
 number of processes reside in main memory at a time.
 Picks and begins to executes one of the jobs in the main memory.
 If any I/O wait happened in a process, then CPU switches from
that job to another job.
Hence CPU in not idle at any time.
Multiprogramming (Contd…):
OS
Job 1
Job 2
Job 3
Job 4
Job 5
• Figure dipicts the layout of
multiprogramming system.
• The main memory consists of 5
jobs at a time, the CPU executes
one by one.
Advantages:
•Efficient memory utilization
•Throughput increases
•CPU is never idle, so performance
increases.
Multiprogramming (Contd…):
 Questions:
 “Memory management must provide isolation and
protection in multiprogramming operating system”,
Why?
Time Sharing Operating Systems:
 Time sharing, or multitasking,
 Logical extension of multiprogramming.
 Multiple jobs are executed by switching the CPU
between them.
 The CPU time is shared by different processes, so it is
called as “Time sharing Systems”.
 Time slice is defined by the OS, for sharing CPU time
between processes.
 Examples: Multics, Unix, etc.,
Time Sharing Operating Systems:
 Advantages
 Quick response.
 Avoid duplication of software.
 Reduces CPU idle time.
 Disadvantages
 Reliability.
 More security and integrity of user programs required.
Time Sharing Operating Systems:
Question:
Why Time Sharing Operating System is called as logical
extension of multiprogramming? Describe with example
and both objectives.
Multi Processing Operating System
 Use of two or more central processing units (CPUs)
within a single computer system.
 Ability of a system to support more than one processor.
 Ability to allocate tasks between processors.
Multi-user Operating Systems:
 Allow multiple user to use same computer at
time and/or different time.
 Question:
 Write at least five operating system names which
is multi-user supported operating system.
 Multi processing Operating System and Multi-user
Operating System are similar. Comment on it.
Real-time Operating systems:
 Ability to provide a required level of services
in bounded response time.
 Quick Response
 Task is completed within specific time delay.
Examples:
Controlling Traffic Signals, Aircraft
 Two types - Hard Real Time and Soft Real Time
Real-time Operating systems:
 Hard Real Time:
 The Action must be taken within the specified
timeline.
 Failure to meet deadlines is fatal
 Example: Flight Control System
Soft Real Time:
 Not mandatory to meet deadlines.
 Late completion of jobs is undesirable but not
fatal.
 Example- Online Database, Computer Games
Real-time Operating systems:
 Questions:
 Understand and write about any one of real time
operating system example with respective to CPU
utilization, Memory management and I/O
Operation.
Operating Systems Structure:
 Need to understand Operating System from
various Viewpoints .
 System Components – How connected and
their roles.
 Services Offered and how provided
 Interface
 Etc.
Operating Systems Components:
 Process Management
 Main Memory Management
 File Management
 I/O-System Management
 Secondary-Storage Management
 Networking
 Protection System
 Command-Interpreter System
Operating Systems Components:
 Process Management
 A process is a program in execution
 (A program is passive, a process active.)
 Responsibilities Covered:
 To create & delete processes (User & System)
 Process suspension and resumption
 Process Scheduling (priority, time management, . . . )
 Provision of mechanisms for
 process synchronization, communication
 deadlock handling
Operating Systems Components:
 Main Memory Management
 Memory is a large array of words or bytes, each with its
own address.
 It is a repository of quickly accessible data shared by the
CPU and I/O devices.
 Responsibilities Covered:
 Allocate and deallocate memory space as needed.
 Decide which processes to be loaded when memory space
becomes available.
 Keep track of which parts of memory are currently being
used and by whom.
Operating Systems Components:
 File Management
 A file is a collection of related information and defined a
logical storage unit.
 Associated with its attributes like name, size, type, etc.
 Responsibilities Covered:
 File/Directory creation and deletion.
 File backup on stable (nonvolatile) storage media.
 Mapping with secondary storage.
 Support of primitives for manipulating contents of files and
directories.
Operating Systems Components:
 I/O-System Management
 OS hides the peculiarities of specific hardware of I/O
devices from the user. (through Kernel to use device-driver)
 Responsibilities Covered:
 A memory-management component that includes
buffering, caching, and spooling.
 A general device-driver interface.
 Drivers for each device - translate read/write
requests into disk position commands.
Operating Systems Components:
 Secondary-Storage Management
 Secondary-storage devices are used to store data and
programs of the users. Hard Disks, tapes, optical, ...
 OS uses optimal techniques for secondary-storage
management in order to increase its efficiency.
 Responsibilities Covered:
 Free space management.
 Storage allocation.
 Disk scheduling.
Operating Systems Components:
 Networking
 Communication system between distributed processors.
 Getting information about files/processes/etc. on a remote
machine.
 Can use either a message passing or a shared memory
model.
Operating Systems Components:
 Protection System
 Users must be protected during the concurrent execution of
multiple processes.
 OS’s authorization is required to utilize the resources (i.e. files,
memory segments, CPU, plotters, printers, tapes).
 Protection refers to a mechanism for controlling access by
programs, processes, or users to both system and user
resources.
 Responsibilities Covered:
 Authorized and unauthorized usage.
 Improves reliability by detecting errors
Operating Systems Interface:
 Command Line Interface
Operating Systems Interface:
 Graphical User Interface
Operating Systems Services:
 Objective: Reduce the burden of programming
 OS services for convenience of the users / programmers
 User Interface
 Program execution
 I/O operations
 File-system manipulation
 Communications
 Error detection
Operating Systems Services:
 OS services for ensuring efficient system operations
 Resource allocation
 Accounting
 Protection
System Call:
 Provide the interface between a process and the OS.
 Used to complete a specific task:
 Reading input file name
 Opening a file
 Prompting a message
 Reading data from the file or console
 Writing data to the file or console
 Etc.
 Example: fork()
Operating System Structure:
 How an Operating System is put together
everything?
 Simple Structure
 Monolithic kernel
 Layer Structure
 Microkernels
 Modules
Operating System Structure:
 Simple Structure
 MS-DOS
Operating System Structure:
 Simple Structure
 UNIX (Monolithic Kernel)
Operating System Structure:
 Layer Structure
Operating System Structure:
 Microkernels
Operating System Structure:
 Modules

Más contenido relacionado

La actualidad más candente

Operating systems
Operating systemsOperating systems
Operating systemsJoshuaIgo
 
Operating system concepts (notes)
Operating system concepts (notes)Operating system concepts (notes)
Operating system concepts (notes)Sohaib Danish
 
Mca ii os u-1 introduction to os
Mca  ii  os u-1 introduction to osMca  ii  os u-1 introduction to os
Mca ii os u-1 introduction to osRai University
 
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESsuthi
 
Operating system notes
Operating system notesOperating system notes
Operating system notesSANTOSH RATH
 
Operating system Concepts
Operating system Concepts Operating system Concepts
Operating system Concepts RANVIJAY GAUR
 
2 operating system structures
2 operating system structures2 operating system structures
2 operating system structuresDr. Loganathan R
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1sphs
 
Fundamental concepts and_principles_of_operating_systems (2)
Fundamental concepts and_principles_of_operating_systems (2)Fundamental concepts and_principles_of_operating_systems (2)
Fundamental concepts and_principles_of_operating_systems (2)DanaAlexander13
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture NotesFellowBuddy.com
 
Bba203 unit 2 operating system concepts
Bba203   unit 2 operating system conceptsBba203   unit 2 operating system concepts
Bba203 unit 2 operating system conceptskinjal patel
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OSC.U
 

La actualidad más candente (20)

Operating systems
Operating systemsOperating systems
Operating systems
 
Operating system concepts (notes)
Operating system concepts (notes)Operating system concepts (notes)
Operating system concepts (notes)
 
Mca ii os u-1 introduction to os
Mca  ii  os u-1 introduction to osMca  ii  os u-1 introduction to os
Mca ii os u-1 introduction to os
 
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTES
 
Operating system notes
Operating system notesOperating system notes
Operating system notes
 
Operating system Concepts
Operating system Concepts Operating system Concepts
Operating system Concepts
 
2 operating system structures
2 operating system structures2 operating system structures
2 operating system structures
 
Operating System
Operating System Operating System
Operating System
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1
 
Basic os-concepts
Basic os-conceptsBasic os-concepts
Basic os-concepts
 
Fundamental concepts and_principles_of_operating_systems (2)
Fundamental concepts and_principles_of_operating_systems (2)Fundamental concepts and_principles_of_operating_systems (2)
Fundamental concepts and_principles_of_operating_systems (2)
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
 
Ch1
Ch1Ch1
Ch1
 
Bba203 unit 2 operating system concepts
Bba203   unit 2 operating system conceptsBba203   unit 2 operating system concepts
Bba203 unit 2 operating system concepts
 
OS
OSOS
OS
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OS
 
OS_Ch3
OS_Ch3OS_Ch3
OS_Ch3
 
Operating system notes pdf
Operating system notes pdfOperating system notes pdf
Operating system notes pdf
 
operating system lecture notes
operating system lecture notesoperating system lecture notes
operating system lecture notes
 
computer Unit 7
computer Unit 7computer Unit 7
computer Unit 7
 

Similar a Introduction of operating system

Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Amit Gupta
 
introduce computer .pptx
introduce computer .pptxintroduce computer .pptx
introduce computer .pptxSHUJEHASSAN
 
installing and optimizing operating system software
installing and optimizing operating system software   installing and optimizing operating system software
installing and optimizing operating system software Jaleto Sunkemo
 
Unit 1-Operating Systems Overview .pptx
Unit 1-Operating Systems Overview .pptxUnit 1-Operating Systems Overview .pptx
Unit 1-Operating Systems Overview .pptxThamaraiselviAvinuty
 
OS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptxOS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptxPRABAVATHIH
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxUttara University
 
Lecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionLecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionArnoyKhan
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating SystemsShweta Shah
 
Basics of Operating System
Basics of Operating SystemBasics of Operating System
Basics of Operating SystemSoumit Ghosh
 

Similar a Introduction of operating system (20)

Ch3
Ch3Ch3
Ch3
 
Unit 1 q&a
Unit  1 q&aUnit  1 q&a
Unit 1 q&a
 
Operating System
Operating SystemOperating System
Operating System
 
Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]
 
introduce computer .pptx
introduce computer .pptxintroduce computer .pptx
introduce computer .pptx
 
installing and optimizing operating system software
installing and optimizing operating system software   installing and optimizing operating system software
installing and optimizing operating system software
 
OSCh3
OSCh3OSCh3
OSCh3
 
Unit 1-Operating Systems Overview .pptx
Unit 1-Operating Systems Overview .pptxUnit 1-Operating Systems Overview .pptx
Unit 1-Operating Systems Overview .pptx
 
Chapter 2 operating systems
Chapter 2 operating systemsChapter 2 operating systems
Chapter 2 operating systems
 
OS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptxOS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptx
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
 
Introduction to OS 1.ppt
Introduction to OS 1.pptIntroduction to OS 1.ppt
Introduction to OS 1.ppt
 
Lecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionLecture_01 Operating System Course Introduction
Lecture_01 Operating System Course Introduction
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 
Basics of Operating System
Basics of Operating SystemBasics of Operating System
Basics of Operating System
 
LEC 1.pptx
LEC 1.pptxLEC 1.pptx
LEC 1.pptx
 
OS.pptx
OS.pptxOS.pptx
OS.pptx
 
Os
OsOs
Os
 

Último

Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Último (20)

Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 

Introduction of operating system

  • 2. What is OS?  Operating System is a software, which makes a computer to actually work.  It is the software the enables all the programs we use.  The OS organizes and controls the hardware.  OS acts as an interface between the application programs and the machine hardware.  Examples: Windows, Linux, Unix and Mac OS, etc.,
  • 3. What OS does? An operating system performs basic tasks such as,  controlling and allocating memory,  prioritizing system requests,  controlling input and output devices,  facilitating networking and  managing file systems.
  • 4. Structure of Operating System: Application Programs System Programs Software (Operating System) HARDWARE (Contd…)
  • 5. Structure of Operating System (Contd…):  The structure of OS consists of 4 layers: 1. Hardware Hardware consists of CPU, Main memory, I/O Devices, etc, 2. Software (Operating System) Software includes process management routines, memory management routines, I/O control routines, file management routines. (Contd…)
  • 6. Structure of Operating System (Contd…): 3. System programs This layer consists of compilers, Assemblers, linker etc. 4. Application programs This is dependent on users need. Ex. Railway reservation system, Bank database management etc.,
  • 7. Types of Operating System  Operating System can be classified into various categories on the basis of several criteria  number of simultaneously active programs  number of users working simultaneously  number of processors in the computer system  Application Oriented  Etc.
  • 8. Types of Operating System  Batch Operating System  Multiprogramming Operating System  Time-sharing/Multitasking Operating System  Multi Processing Operating System  Multi-user Operating System  Real-time Operating systems  Distributed Operating Systems
  • 9. Batch Operating System:  Batch processing. Batch processing is the execution of a series of programs ("jobs") on a computer without manual intervention.  Jobs are set up so they can be run to completion without human interaction.  All input parameters are predefined through scripts, command line arguments, control files, or job control language.  The OS was simple, its major task was to transfer control from one job to the next.  The job was submitted to the computer operator in form of punch cards. At some later time the output appeared.
  • 10. Batch Operating System (Contd…):
  • 11. Batch Operating System (Contd…):  Common output devices were line printers, tape drives, and card punches.  Example: Bank statements - At the end of month the bank makes statements for each account holder. So these bank statements can be made easily by batch systems at the end of month. OS User program area Memory: The OS was always resident in memory
  • 12. Batch Operating System (Contd…):  Questions:  Write a limitation of batch Processing with respectively CPU time.  Any one real world example of batch processing (other than subject teacher given)
  • 13. Multiprogramming Operating System:  Main Limitation of Batch Processing:  CPU Idle time is more.  All Jobs in batch are executed in sequence manner only. So required to more utilization of CPU  Multiprogramming is a technique  To execute number of programs simultaneously by a single processor.  number of processes reside in main memory at a time.  Picks and begins to executes one of the jobs in the main memory.  If any I/O wait happened in a process, then CPU switches from that job to another job. Hence CPU in not idle at any time.
  • 14. Multiprogramming (Contd…): OS Job 1 Job 2 Job 3 Job 4 Job 5 • Figure dipicts the layout of multiprogramming system. • The main memory consists of 5 jobs at a time, the CPU executes one by one. Advantages: •Efficient memory utilization •Throughput increases •CPU is never idle, so performance increases.
  • 15. Multiprogramming (Contd…):  Questions:  “Memory management must provide isolation and protection in multiprogramming operating system”, Why?
  • 16. Time Sharing Operating Systems:  Time sharing, or multitasking,  Logical extension of multiprogramming.  Multiple jobs are executed by switching the CPU between them.  The CPU time is shared by different processes, so it is called as “Time sharing Systems”.  Time slice is defined by the OS, for sharing CPU time between processes.  Examples: Multics, Unix, etc.,
  • 17. Time Sharing Operating Systems:  Advantages  Quick response.  Avoid duplication of software.  Reduces CPU idle time.  Disadvantages  Reliability.  More security and integrity of user programs required.
  • 18. Time Sharing Operating Systems: Question: Why Time Sharing Operating System is called as logical extension of multiprogramming? Describe with example and both objectives.
  • 19. Multi Processing Operating System  Use of two or more central processing units (CPUs) within a single computer system.  Ability of a system to support more than one processor.  Ability to allocate tasks between processors.
  • 20. Multi-user Operating Systems:  Allow multiple user to use same computer at time and/or different time.  Question:  Write at least five operating system names which is multi-user supported operating system.  Multi processing Operating System and Multi-user Operating System are similar. Comment on it.
  • 21. Real-time Operating systems:  Ability to provide a required level of services in bounded response time.  Quick Response  Task is completed within specific time delay. Examples: Controlling Traffic Signals, Aircraft  Two types - Hard Real Time and Soft Real Time
  • 22. Real-time Operating systems:  Hard Real Time:  The Action must be taken within the specified timeline.  Failure to meet deadlines is fatal  Example: Flight Control System Soft Real Time:  Not mandatory to meet deadlines.  Late completion of jobs is undesirable but not fatal.  Example- Online Database, Computer Games
  • 23. Real-time Operating systems:  Questions:  Understand and write about any one of real time operating system example with respective to CPU utilization, Memory management and I/O Operation.
  • 24. Operating Systems Structure:  Need to understand Operating System from various Viewpoints .  System Components – How connected and their roles.  Services Offered and how provided  Interface  Etc.
  • 25. Operating Systems Components:  Process Management  Main Memory Management  File Management  I/O-System Management  Secondary-Storage Management  Networking  Protection System  Command-Interpreter System
  • 26. Operating Systems Components:  Process Management  A process is a program in execution  (A program is passive, a process active.)  Responsibilities Covered:  To create & delete processes (User & System)  Process suspension and resumption  Process Scheduling (priority, time management, . . . )  Provision of mechanisms for  process synchronization, communication  deadlock handling
  • 27. Operating Systems Components:  Main Memory Management  Memory is a large array of words or bytes, each with its own address.  It is a repository of quickly accessible data shared by the CPU and I/O devices.  Responsibilities Covered:  Allocate and deallocate memory space as needed.  Decide which processes to be loaded when memory space becomes available.  Keep track of which parts of memory are currently being used and by whom.
  • 28. Operating Systems Components:  File Management  A file is a collection of related information and defined a logical storage unit.  Associated with its attributes like name, size, type, etc.  Responsibilities Covered:  File/Directory creation and deletion.  File backup on stable (nonvolatile) storage media.  Mapping with secondary storage.  Support of primitives for manipulating contents of files and directories.
  • 29. Operating Systems Components:  I/O-System Management  OS hides the peculiarities of specific hardware of I/O devices from the user. (through Kernel to use device-driver)  Responsibilities Covered:  A memory-management component that includes buffering, caching, and spooling.  A general device-driver interface.  Drivers for each device - translate read/write requests into disk position commands.
  • 30. Operating Systems Components:  Secondary-Storage Management  Secondary-storage devices are used to store data and programs of the users. Hard Disks, tapes, optical, ...  OS uses optimal techniques for secondary-storage management in order to increase its efficiency.  Responsibilities Covered:  Free space management.  Storage allocation.  Disk scheduling.
  • 31. Operating Systems Components:  Networking  Communication system between distributed processors.  Getting information about files/processes/etc. on a remote machine.  Can use either a message passing or a shared memory model.
  • 32. Operating Systems Components:  Protection System  Users must be protected during the concurrent execution of multiple processes.  OS’s authorization is required to utilize the resources (i.e. files, memory segments, CPU, plotters, printers, tapes).  Protection refers to a mechanism for controlling access by programs, processes, or users to both system and user resources.  Responsibilities Covered:  Authorized and unauthorized usage.  Improves reliability by detecting errors
  • 33. Operating Systems Interface:  Command Line Interface
  • 34. Operating Systems Interface:  Graphical User Interface
  • 35. Operating Systems Services:  Objective: Reduce the burden of programming  OS services for convenience of the users / programmers  User Interface  Program execution  I/O operations  File-system manipulation  Communications  Error detection
  • 36. Operating Systems Services:  OS services for ensuring efficient system operations  Resource allocation  Accounting  Protection
  • 37. System Call:  Provide the interface between a process and the OS.  Used to complete a specific task:  Reading input file name  Opening a file  Prompting a message  Reading data from the file or console  Writing data to the file or console  Etc.  Example: fork()
  • 38. Operating System Structure:  How an Operating System is put together everything?  Simple Structure  Monolithic kernel  Layer Structure  Microkernels  Modules
  • 39. Operating System Structure:  Simple Structure  MS-DOS
  • 40. Operating System Structure:  Simple Structure  UNIX (Monolithic Kernel)