SlideShare a Scribd company logo
OPERATING SYSTEMS
Introduction to ComputingCHAPTER # 9
Introduction to Computing 2Chapter # 9
Operating System Definition
 Operating Systems
 OS is a control program which manages computer
resources and allocate these resources among competing
tasks
 OS control and coordinates use of hardware among
applications for users
 OS is the interface between the hardware and software
environment
 OS is a program that acts as an intermediary between the
user and computer hardware
Introduction to Computing 3Chapter # 9
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
Introduction to Computing 4Chapter # 9
Computer System Overview
 From hardware and software point of view, a
computer system can be divided into six parts
 Application programs
 Compliers, editors, interpreters
 Operating system
 Machine language
 Microprogramming
 Physical devices
Introduction to Computing 5Chapter # 9
Computer System Overview
Introduction to Computing 6Chapter # 9
Computer System Overview
 Operating Systems
 OS is an integrated set of programs used to manage the
computer resources and its overall operations
 Provide a layer of services which manage the resources of
the hardware and permit the user to drive the system
Introduction to Computing 7Chapter # 9
Computer System Overview
 Operating Systems
 An operating system performs
 Resource Management
 CPU management
 Memory management
 File System management
 I/O management
 Resource Sharing
 Among Users
 Among CPUs
 Interfacing between hardware and users
Introduction to Computing 8Chapter # 9
Operating Systems Evolution
 In early systems the programs were entered by using a set of
switches to define memory address value
 The program was started by setting the program counter to
the first instruction word and pressing a start button
 The execution was progressed by displaying light on console
 The first step towards improvement was to reduce human
involvement in this process
 Offline input devices like cards or paper tape reader were
introduced later
 A program loader was established in Computer memory to
read program from input device and setup it in memory
Introduction to Computing 9Chapter # 9
Operating Systems Evolution
 Around 1960, a new computer called Atlas was developed
with the requirements of an operating system in mind
 Batch processing was applied to submit jobs in batches to the
computer
 Multiprogramming was introduced to run several programs at
the same time
 The processor should be kept busy for most of the time by switching its
attention from one program to another
 Fist time sharing system (support multiple interactive users)
was developed at MIT
 Mini Computer took place having multi-user OS
Introduction to Computing 10Chapter # 9
Types of Operating Systems
 With the passage of time operating systems are
divided into different categories. They can be
categories as follows
 Single User OS
 Network OS
 Distributed OS
 Multiprocessor OS
 Real-time OS
 Embedded OS
Introduction to Computing 11Chapter # 9
Single User Operating Systems
 These types of OS are used with modern computer systems referred as
Personal Computers
 Cheaper OS
 Easy to use
 May run several different types of operating systems (Windows, Mac
OS, UNIX, Linux)
 Supports multiple applications
 not dedicated for one type of application
 Have centralized resources
 Supports multimedia (images, text, graphics and audio/video)
 Example:
 Windows 98,ME
 Linux, Fedora, Mac OS
Introduction to Computing 12Chapter # 9
Network Operating Systems
 Network Operating Systems are used to connect more than
one computer
 User can login to a remote computer, to share its resources
 Network OS do not follow any transparency (e.g. location,
migration)
 Every operation has to be explicitly specified by the user
 User knows where his job is processing
 Examples:
 Windows NT
 Sun Solaris
Introduction to Computing 13Chapter # 9
Distributed Operating Systems
 Distribute computation among several physical processors
 Follows the transparencies
 Requires networking infrastructure
 Local area networks (LAN) or Wide area networks (WAN)
 May be either client-server or peer-to-peer systems
 Main features of Distributed System
 Resource sharing
 Computation speed up
 Reliability
 Communication
Introduction to Computing 14Chapter # 9
Distributed Operating Systems
 Two types of Distributed OS
 Tightly coupled DOS (Multiprocessor)
 Multiprocessor system
 Processor share memory
 Communication takes place through memory
 Loosely coupled DOS (Multicomputer)
 Single processor system
 Clusters of workstations
 Do not communicate via memory
 Communicate via high speed buses, telephone lines
 Examples:
 Windows 2000, XP, Vista, 7, 8
 Linux
 Unix
Introduction to Computing 15Chapter # 9
Multiprocessor Operating Systems
 These are actually distributed operating systems which run on
machines having more than one processor
 Communication is done via shared memory through message passing,
pipes etc.
 Microsoft Windows 2000 Profile
 Windows 2000 Professional supports 2 processors at same machine
 Windows 2000 Server supports 4 processors at same machine
 Windows Advanced Server supports 8 processors at same machine
 Windows 2000 Datacenter Server supports 16 processors at same
machine
Introduction to Computing 16Chapter # 9
Real-time Operating Systems
 These OS run on Real-time systems
 Very fast operating system
 Normally designed for a set of specific applications
 A real-time system is any information processing system
which has to respond to externally generated input stimuli
within a finite and specified period
 the correctness depends not only on the logical result but also the
time it was delivered
 failure to respond is as bad as the wrong response
 In a real time system emphasis is on timely execution of tasks
than speed of execution
 Often used as a control device in a dedicated application such
as controlling scientific experiments, medical imaging
systems, industrial control systems, and some display systems
 Real-Time systems may be either hard or soft real-time
Introduction to Computing 17Chapter # 9
Real-time Operating Systems
 Hard real-time system
 systems where it is absolutely imperative that responses occur within
the required deadline
 E.g. Flight control systems
 Secondary storage limited or absent, data stored in short term
memory, or read-only memory (ROM)
 Soft real-time system
 systems where deadlines are important but which will still function
correctly if deadlines are occasionally missed
 E.g. Data acquisition system
 Limited utility in industrial control of robotics
 Useful in applications (multimedia, virtual reality) requiring advanced
operating-system features
Introduction to Computing 18Chapter # 9
Mobile Operating System
 A mobile operating system, is the operating system that operates a
smart phone, tablet, PDA, or other digital mobile devices
 Modern mobile operating systems combine the features of a
personal computer operating system with some other features
 like touch screen, cellular, Bluetooth, Wi-Fi, GPS mobile navigation,
camera, video camera, speech recognition, voice recorder, music player,
Near field communication, personal digital assistant (PDA) and other
features
 Example includes
 Google Android
 Apple I OS
 Symbian
 Windows Mobile
 Blackberry OS
Introduction to Computing 19Chapter # 9
Embedded Operating Systems
 These operating systems are dedicated for devices
 These are normally built-in with devices
 Embedded operating systems are designed to be used in embedded
computer systems
 They are designed to operate on small machines like PDAs with less
autonomy
 They are able to operate with a limited number of resources
 They are very compact and extremely efficient by design
 Windows Mobile and I OS are some examples of embedded operating
systems
 Example:
 Mobile set OS
 PDA OS
 Issues:
 Limited memory
 Slow processors
 Small display screens
Introduction to Computing 20Chapter # 9
Operating System Management
 Process management
 Memory management
 File management
 I/O system management
 Secondary storage management
Introduction to Computing 21Chapter # 9
Process Management
 A process is a program in execution
 A process needs certain resources, including CPU time,
memory, files, and I/O devices, to accomplish its task
 The operating system is responsible for the following
activities in connection with process manager
 Process creation and termination
 Process suspension and resumption
 Provision of mechanisms for:
 process synchronization
 process communication
Introduction to Computing 22Chapter # 9Chapter # 2 22
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.
 Main memory is a volatile storage device
 It loses its contents in the case of system failure
 The operating system is responsible for the following activities in
connections with memory management:
 Keep track of which parts of memory are currently being used and by
whom
 Decide which processes to load when memory space becomes
available
 Allocate and deallocate memory space as needed
Introduction to Computing 23Chapter # 9Chapter # 2 23
File Management
 A file is a collection of related information defined by its
creator
 Commonly, files represent programs (both source and
object forms) and data
 The operating system is responsible for the following
activities in connections with file management:
 File creation and deletion
 Directory creation and deletion
 Support of primitives for manipulating files and directories
 Mapping files onto secondary storage
 File backup on stable (nonvolatile) storage media
Introduction to Computing 24Chapter # 9Chapter # 2 24
I/O System Management
 Operating system is responsible for I/O system
management
 The I/O system consists of:
 A buffer-caching system
 A general device-driver interface
 Drivers for specific hardware devices
Introduction to Computing 25Chapter # 9Chapter # 2 25
Secondary Storage Management
 Since main memory (primary storage) is volatile and too small
to accommodate all data and programs permanently, the
computer system must provide secondary storage to back up
main memory
 Most modern computer systems use disks as the principle on-
line storage medium, for both programs and data
 The operating system is responsible for the following
activities in connection with disk management:
 Free space management
 Storage allocation
 Disk scheduling
Introduction to Computing 26Chapter # 9
Operating System Services
 Program execution
 system capability to load a program into memory and to run it
 I/O operations
 since user programs cannot execute I/O operations directly, the
operating system must provide some means to perform I/O
 File-system manipulation
 program capability to read, write, create, and delete files
 Communications
 exchange of information between processes executing either on the
same computer or on different systems tied together by a network.
Implemented via shared memory or message passing
Introduction to Computing 27Chapter # 9
Operating System Services
 Error detection
 ensure correct computing by detecting errors in the CPU and memory
hardware, in I/O devices, or in user programs
 Resource allocation
 allocating resources to multiple users or multiple jobs running at the
same time
 Accounting
 keep track of and record which users use how much and what kinds of
computer resources for account billing or for accumulating usage
statistics
 Protection
 ensuring that all access to system resources is controlled
Introduction to Computing 28Chapter # 9Chapter # 2 28
System Protection
 Protection refers to a mechanism for controlling access by
programs, processes, or users to both system and user
resources
 The protection mechanism must
 distinguish between authorized and unauthorized access
 specify the controls to be imposed
 provide a means of enforcement
Introduction to Computing 29Chapter # 9
System Design Goals
 User goals
 Operating system should be convenient to use, easy to
learn, reliable, safe, and fast
 System goals
 Operating system should be easy to design, implement,
and maintain, as well as flexible, reliable, error-free, and
efficient
Introduction to Computing 30Chapter # 9
Operating System Implementation
 Traditionally written in assembly language, operating
systems can now be written in higher-level languages
like C or C++
 Code written in a high-level language:
 can be written faster
 is more compact
 is easier to understand and debug
 An operating system is far easier to port (move to some
other hardware) if it is written in a high-level language

More Related Content

What's hot

CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2
Kathirvel Ayyaswamy
 
Modern Operating System Windows Server 2008
Modern Operating System  Windows Server 2008Modern Operating System  Windows Server 2008
Modern Operating System Windows Server 2008Sneha Chopra
 
Operating Systems FYBSC IT UNIT I- Introduction to Operating Systems
Operating Systems FYBSC IT UNIT I- Introduction to Operating SystemsOperating Systems FYBSC IT UNIT I- Introduction to Operating Systems
Operating Systems FYBSC IT UNIT I- Introduction to Operating Systems
Arti Parab Academics
 
Operating System a Case Study
Operating System a Case StudyOperating System a Case Study
Operating System a Case Study
ijtsrd
 
Introduction to operating syatem
Introduction to operating syatemIntroduction to operating syatem
Introduction to operating syatem
Rafi Dar
 
SYNCHRONIZATION
SYNCHRONIZATIONSYNCHRONIZATION
SYNCHRONIZATION
vinothinisureshbabu
 
Unit 1 introduction to os
Unit 1 introduction to osUnit 1 introduction to os
Unit 1 introduction to os
GaneshThapa27
 
Desktop system,clustered system,Handheld system
Desktop system,clustered system,Handheld systemDesktop system,clustered system,Handheld system
Desktop system,clustered system,Handheld system
Lokesh Singrol
 
Operating System
Operating SystemOperating System
Operating System
Raja Adapa
 
30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt
raj732723
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
achal02
 
How Operating system works.
How Operating system works. How Operating system works.
How Operating system works.
Fahad Farooq
 
Operating system-1
Operating system-1Operating system-1
Operating system-1
jayalakshmi268
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
venkateswarlu G
 
Secondary storage management in os
Secondary storage management in osSecondary storage management in os
Secondary storage management in osSumant Diwakar
 
Operating System Concepts Presentation
Operating System Concepts PresentationOperating System Concepts Presentation
Operating System Concepts Presentation
Nitish Jadia
 
Operating system structures
Operating system structuresOperating system structures
Operating system structuresMohd Arif
 

What's hot (20)

CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2
 
Modern Operating System Windows Server 2008
Modern Operating System  Windows Server 2008Modern Operating System  Windows Server 2008
Modern Operating System Windows Server 2008
 
Chapter02 new
Chapter02 newChapter02 new
Chapter02 new
 
It
ItIt
It
 
Operating Systems FYBSC IT UNIT I- Introduction to Operating Systems
Operating Systems FYBSC IT UNIT I- Introduction to Operating SystemsOperating Systems FYBSC IT UNIT I- Introduction to Operating Systems
Operating Systems FYBSC IT UNIT I- Introduction to Operating Systems
 
Operating System a Case Study
Operating System a Case StudyOperating System a Case Study
Operating System a Case Study
 
Introduction to operating syatem
Introduction to operating syatemIntroduction to operating syatem
Introduction to operating syatem
 
SYNCHRONIZATION
SYNCHRONIZATIONSYNCHRONIZATION
SYNCHRONIZATION
 
Unit 1 introduction to os
Unit 1 introduction to osUnit 1 introduction to os
Unit 1 introduction to os
 
Desktop system,clustered system,Handheld system
Desktop system,clustered system,Handheld systemDesktop system,clustered system,Handheld system
Desktop system,clustered system,Handheld system
 
Operating System
Operating SystemOperating System
Operating System
 
30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
How Operating system works.
How Operating system works. How Operating system works.
How Operating system works.
 
Operating system-1
Operating system-1Operating system-1
Operating system-1
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
Secondary storage management in os
Secondary storage management in osSecondary storage management in os
Secondary storage management in os
 
Operating System Concepts Presentation
Operating System Concepts PresentationOperating System Concepts Presentation
Operating System Concepts Presentation
 
Operating system structures
Operating system structuresOperating system structures
Operating system structures
 

Similar to Itc chapter # 9

OS - BACKGROUND HANDLING
OS - BACKGROUND HANDLING OS - BACKGROUND HANDLING
OS - BACKGROUND HANDLING
ImranBhatti58
 
Modern operating system.......
Modern operating system.......Modern operating system.......
Modern operating system.......
vignesh0009
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptx
ArjayBalberan1
 
Introduction to OS 1.ppt
Introduction to OS 1.pptIntroduction to OS 1.ppt
Introduction to OS 1.ppt
ShannykumarSingh
 
MC 7204 OS Question Bank with Answer
MC 7204 OS Question Bank with AnswerMC 7204 OS Question Bank with Answer
MC 7204 OS Question Bank with Answer
sellappasiva
 
new1.pptx
new1.pptxnew1.pptx
new1.pptx
SuveerJain2
 
Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.ppt
Dr.YNM
 
Operating system by aman kr kushwaha
Operating system by aman kr kushwahaOperating system by aman kr kushwaha
Operating system by aman kr kushwaha
AMAN KUMAR KUSHWAHA
 
Operating system
Operating systemOperating system
Operating system
Amogh Rana
 
lesson_1_Introduction_to_computers_pptx.pptx
lesson_1_Introduction_to_computers_pptx.pptxlesson_1_Introduction_to_computers_pptx.pptx
lesson_1_Introduction_to_computers_pptx.pptx
noveriustelaumbanua
 
Unit 1 q&a
Unit  1 q&aUnit  1 q&a
Operating System PPT
Operating System PPTOperating System PPT
Operating System PPT
Rajneesh Chaubey
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
Aiman Hafeez
 
Operating system
Operating systemOperating system
Operating system
MusTufa Nullwala
 
OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)
Muhammad Osama
 
system software and operating System
system software and operating Systemsystem software and operating System
system software and operating System
imtiazalijoono
 
Operating system lecture1
Operating system lecture1Operating system lecture1
Operating system lecture1
AhalyaSri
 
Foundation of information system - Software
Foundation of information system - SoftwareFoundation of information system - Software
Foundation of information system - Software
rh8g7p44p7
 

Similar to Itc chapter # 9 (20)

OS - BACKGROUND HANDLING
OS - BACKGROUND HANDLING OS - BACKGROUND HANDLING
OS - BACKGROUND HANDLING
 
Modern operating system.......
Modern operating system.......Modern operating system.......
Modern operating system.......
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptx
 
Introduction to OS 1.ppt
Introduction to OS 1.pptIntroduction to OS 1.ppt
Introduction to OS 1.ppt
 
MC 7204 OS Question Bank with Answer
MC 7204 OS Question Bank with AnswerMC 7204 OS Question Bank with Answer
MC 7204 OS Question Bank with Answer
 
new1.pptx
new1.pptxnew1.pptx
new1.pptx
 
Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.ppt
 
Operating system by aman kr kushwaha
Operating system by aman kr kushwahaOperating system by aman kr kushwaha
Operating system by aman kr kushwaha
 
MIS assignement
MIS assignementMIS assignement
MIS assignement
 
operating systems
operating systemsoperating systems
operating systems
 
Operating system
Operating systemOperating system
Operating system
 
lesson_1_Introduction_to_computers_pptx.pptx
lesson_1_Introduction_to_computers_pptx.pptxlesson_1_Introduction_to_computers_pptx.pptx
lesson_1_Introduction_to_computers_pptx.pptx
 
Unit 1 q&a
Unit  1 q&aUnit  1 q&a
Unit 1 q&a
 
Operating System PPT
Operating System PPTOperating System PPT
Operating System PPT
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Operating system
Operating systemOperating system
Operating system
 
OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)
 
system software and operating System
system software and operating Systemsystem software and operating System
system software and operating System
 
Operating system lecture1
Operating system lecture1Operating system lecture1
Operating system lecture1
 
Foundation of information system - Software
Foundation of information system - SoftwareFoundation of information system - Software
Foundation of information system - Software
 

More from National university of modern languages

Science and technology in society
Science and technology in societyScience and technology in society
Science and technology in society
National university of modern languages
 
Internal and external_security_threats_to_pakistan
Internal and external_security_threats_to_pakistanInternal and external_security_threats_to_pakistan
Internal and external_security_threats_to_pakistan
National university of modern languages
 
Itc chapter # 11
Itc   chapter # 11Itc   chapter # 11
Itc chapter # 8
Itc   chapter # 8Itc   chapter # 8
Itc chapter # 7
Itc   chapter # 7Itc   chapter # 7
Itc chapter # 4
Itc   chapter # 4Itc   chapter # 4
Itc chapter # 3
Itc   chapter # 3Itc   chapter # 3
Itc chapter # 2
Itc   chapter # 2Itc   chapter # 2
Chapter1
Chapter1Chapter1
Fall of communism
Fall of communismFall of communism
External challenges to pakistan
External challenges to pakistanExternal challenges to pakistan
External challenges to pakistan
National university of modern languages
 
Types of the speech
Types of the speechTypes of the speech
Types letters
Types lettersTypes letters
Feminism
FeminismFeminism

More from National university of modern languages (20)

Heart land Theory
Heart land TheoryHeart land Theory
Heart land Theory
 
Science and technology in society
Science and technology in societyScience and technology in society
Science and technology in society
 
Germanys way to_democracy
Germanys way to_democracyGermanys way to_democracy
Germanys way to_democracy
 
Terrorism in Pakistan
Terrorism in PakistanTerrorism in Pakistan
Terrorism in Pakistan
 
Internal and external_security_threats_to_pakistan
Internal and external_security_threats_to_pakistanInternal and external_security_threats_to_pakistan
Internal and external_security_threats_to_pakistan
 
Foreign policy of pakistan
Foreign policy of pakistanForeign policy of pakistan
Foreign policy of pakistan
 
Itc chapter # 11
Itc   chapter # 11Itc   chapter # 11
Itc chapter # 11
 
Itc chapter # 8
Itc   chapter # 8Itc   chapter # 8
Itc chapter # 8
 
Itc chapter # 7
Itc   chapter # 7Itc   chapter # 7
Itc chapter # 7
 
Itc chapter # 6
Itc   chapter # 6Itc   chapter # 6
Itc chapter # 6
 
Itc chapter # 4
Itc   chapter # 4Itc   chapter # 4
Itc chapter # 4
 
Itc chapter # 3
Itc   chapter # 3Itc   chapter # 3
Itc chapter # 3
 
Itc chapter # 2
Itc   chapter # 2Itc   chapter # 2
Itc chapter # 2
 
Chapter1
Chapter1Chapter1
Chapter1
 
Fall of communism
Fall of communismFall of communism
Fall of communism
 
External challenges to pakistan
External challenges to pakistanExternal challenges to pakistan
External challenges to pakistan
 
Types of the speech
Types of the speechTypes of the speech
Types of the speech
 
Types letters
Types lettersTypes letters
Types letters
 
Feminism
FeminismFeminism
Feminism
 
Exec macro-economic indicators
Exec macro-economic indicatorsExec macro-economic indicators
Exec macro-economic indicators
 

Recently uploaded

Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 

Recently uploaded (20)

Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 

Itc chapter # 9

  • 1. OPERATING SYSTEMS Introduction to ComputingCHAPTER # 9
  • 2. Introduction to Computing 2Chapter # 9 Operating System Definition  Operating Systems  OS is a control program which manages computer resources and allocate these resources among competing tasks  OS control and coordinates use of hardware among applications for users  OS is the interface between the hardware and software environment  OS is a program that acts as an intermediary between the user and computer hardware
  • 3. Introduction to Computing 3Chapter # 9 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
  • 4. Introduction to Computing 4Chapter # 9 Computer System Overview  From hardware and software point of view, a computer system can be divided into six parts  Application programs  Compliers, editors, interpreters  Operating system  Machine language  Microprogramming  Physical devices
  • 5. Introduction to Computing 5Chapter # 9 Computer System Overview
  • 6. Introduction to Computing 6Chapter # 9 Computer System Overview  Operating Systems  OS is an integrated set of programs used to manage the computer resources and its overall operations  Provide a layer of services which manage the resources of the hardware and permit the user to drive the system
  • 7. Introduction to Computing 7Chapter # 9 Computer System Overview  Operating Systems  An operating system performs  Resource Management  CPU management  Memory management  File System management  I/O management  Resource Sharing  Among Users  Among CPUs  Interfacing between hardware and users
  • 8. Introduction to Computing 8Chapter # 9 Operating Systems Evolution  In early systems the programs were entered by using a set of switches to define memory address value  The program was started by setting the program counter to the first instruction word and pressing a start button  The execution was progressed by displaying light on console  The first step towards improvement was to reduce human involvement in this process  Offline input devices like cards or paper tape reader were introduced later  A program loader was established in Computer memory to read program from input device and setup it in memory
  • 9. Introduction to Computing 9Chapter # 9 Operating Systems Evolution  Around 1960, a new computer called Atlas was developed with the requirements of an operating system in mind  Batch processing was applied to submit jobs in batches to the computer  Multiprogramming was introduced to run several programs at the same time  The processor should be kept busy for most of the time by switching its attention from one program to another  Fist time sharing system (support multiple interactive users) was developed at MIT  Mini Computer took place having multi-user OS
  • 10. Introduction to Computing 10Chapter # 9 Types of Operating Systems  With the passage of time operating systems are divided into different categories. They can be categories as follows  Single User OS  Network OS  Distributed OS  Multiprocessor OS  Real-time OS  Embedded OS
  • 11. Introduction to Computing 11Chapter # 9 Single User Operating Systems  These types of OS are used with modern computer systems referred as Personal Computers  Cheaper OS  Easy to use  May run several different types of operating systems (Windows, Mac OS, UNIX, Linux)  Supports multiple applications  not dedicated for one type of application  Have centralized resources  Supports multimedia (images, text, graphics and audio/video)  Example:  Windows 98,ME  Linux, Fedora, Mac OS
  • 12. Introduction to Computing 12Chapter # 9 Network Operating Systems  Network Operating Systems are used to connect more than one computer  User can login to a remote computer, to share its resources  Network OS do not follow any transparency (e.g. location, migration)  Every operation has to be explicitly specified by the user  User knows where his job is processing  Examples:  Windows NT  Sun Solaris
  • 13. Introduction to Computing 13Chapter # 9 Distributed Operating Systems  Distribute computation among several physical processors  Follows the transparencies  Requires networking infrastructure  Local area networks (LAN) or Wide area networks (WAN)  May be either client-server or peer-to-peer systems  Main features of Distributed System  Resource sharing  Computation speed up  Reliability  Communication
  • 14. Introduction to Computing 14Chapter # 9 Distributed Operating Systems  Two types of Distributed OS  Tightly coupled DOS (Multiprocessor)  Multiprocessor system  Processor share memory  Communication takes place through memory  Loosely coupled DOS (Multicomputer)  Single processor system  Clusters of workstations  Do not communicate via memory  Communicate via high speed buses, telephone lines  Examples:  Windows 2000, XP, Vista, 7, 8  Linux  Unix
  • 15. Introduction to Computing 15Chapter # 9 Multiprocessor Operating Systems  These are actually distributed operating systems which run on machines having more than one processor  Communication is done via shared memory through message passing, pipes etc.  Microsoft Windows 2000 Profile  Windows 2000 Professional supports 2 processors at same machine  Windows 2000 Server supports 4 processors at same machine  Windows Advanced Server supports 8 processors at same machine  Windows 2000 Datacenter Server supports 16 processors at same machine
  • 16. Introduction to Computing 16Chapter # 9 Real-time Operating Systems  These OS run on Real-time systems  Very fast operating system  Normally designed for a set of specific applications  A real-time system is any information processing system which has to respond to externally generated input stimuli within a finite and specified period  the correctness depends not only on the logical result but also the time it was delivered  failure to respond is as bad as the wrong response  In a real time system emphasis is on timely execution of tasks than speed of execution  Often used as a control device in a dedicated application such as controlling scientific experiments, medical imaging systems, industrial control systems, and some display systems  Real-Time systems may be either hard or soft real-time
  • 17. Introduction to Computing 17Chapter # 9 Real-time Operating Systems  Hard real-time system  systems where it is absolutely imperative that responses occur within the required deadline  E.g. Flight control systems  Secondary storage limited or absent, data stored in short term memory, or read-only memory (ROM)  Soft real-time system  systems where deadlines are important but which will still function correctly if deadlines are occasionally missed  E.g. Data acquisition system  Limited utility in industrial control of robotics  Useful in applications (multimedia, virtual reality) requiring advanced operating-system features
  • 18. Introduction to Computing 18Chapter # 9 Mobile Operating System  A mobile operating system, is the operating system that operates a smart phone, tablet, PDA, or other digital mobile devices  Modern mobile operating systems combine the features of a personal computer operating system with some other features  like touch screen, cellular, Bluetooth, Wi-Fi, GPS mobile navigation, camera, video camera, speech recognition, voice recorder, music player, Near field communication, personal digital assistant (PDA) and other features  Example includes  Google Android  Apple I OS  Symbian  Windows Mobile  Blackberry OS
  • 19. Introduction to Computing 19Chapter # 9 Embedded Operating Systems  These operating systems are dedicated for devices  These are normally built-in with devices  Embedded operating systems are designed to be used in embedded computer systems  They are designed to operate on small machines like PDAs with less autonomy  They are able to operate with a limited number of resources  They are very compact and extremely efficient by design  Windows Mobile and I OS are some examples of embedded operating systems  Example:  Mobile set OS  PDA OS  Issues:  Limited memory  Slow processors  Small display screens
  • 20. Introduction to Computing 20Chapter # 9 Operating System Management  Process management  Memory management  File management  I/O system management  Secondary storage management
  • 21. Introduction to Computing 21Chapter # 9 Process Management  A process is a program in execution  A process needs certain resources, including CPU time, memory, files, and I/O devices, to accomplish its task  The operating system is responsible for the following activities in connection with process manager  Process creation and termination  Process suspension and resumption  Provision of mechanisms for:  process synchronization  process communication
  • 22. Introduction to Computing 22Chapter # 9Chapter # 2 22 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.  Main memory is a volatile storage device  It loses its contents in the case of system failure  The operating system is responsible for the following activities in connections with memory management:  Keep track of which parts of memory are currently being used and by whom  Decide which processes to load when memory space becomes available  Allocate and deallocate memory space as needed
  • 23. Introduction to Computing 23Chapter # 9Chapter # 2 23 File Management  A file is a collection of related information defined by its creator  Commonly, files represent programs (both source and object forms) and data  The operating system is responsible for the following activities in connections with file management:  File creation and deletion  Directory creation and deletion  Support of primitives for manipulating files and directories  Mapping files onto secondary storage  File backup on stable (nonvolatile) storage media
  • 24. Introduction to Computing 24Chapter # 9Chapter # 2 24 I/O System Management  Operating system is responsible for I/O system management  The I/O system consists of:  A buffer-caching system  A general device-driver interface  Drivers for specific hardware devices
  • 25. Introduction to Computing 25Chapter # 9Chapter # 2 25 Secondary Storage Management  Since main memory (primary storage) is volatile and too small to accommodate all data and programs permanently, the computer system must provide secondary storage to back up main memory  Most modern computer systems use disks as the principle on- line storage medium, for both programs and data  The operating system is responsible for the following activities in connection with disk management:  Free space management  Storage allocation  Disk scheduling
  • 26. Introduction to Computing 26Chapter # 9 Operating System Services  Program execution  system capability to load a program into memory and to run it  I/O operations  since user programs cannot execute I/O operations directly, the operating system must provide some means to perform I/O  File-system manipulation  program capability to read, write, create, and delete files  Communications  exchange of information between processes executing either on the same computer or on different systems tied together by a network. Implemented via shared memory or message passing
  • 27. Introduction to Computing 27Chapter # 9 Operating System Services  Error detection  ensure correct computing by detecting errors in the CPU and memory hardware, in I/O devices, or in user programs  Resource allocation  allocating resources to multiple users or multiple jobs running at the same time  Accounting  keep track of and record which users use how much and what kinds of computer resources for account billing or for accumulating usage statistics  Protection  ensuring that all access to system resources is controlled
  • 28. Introduction to Computing 28Chapter # 9Chapter # 2 28 System Protection  Protection refers to a mechanism for controlling access by programs, processes, or users to both system and user resources  The protection mechanism must  distinguish between authorized and unauthorized access  specify the controls to be imposed  provide a means of enforcement
  • 29. Introduction to Computing 29Chapter # 9 System Design Goals  User goals  Operating system should be convenient to use, easy to learn, reliable, safe, and fast  System goals  Operating system should be easy to design, implement, and maintain, as well as flexible, reliable, error-free, and efficient
  • 30. Introduction to Computing 30Chapter # 9 Operating System Implementation  Traditionally written in assembly language, operating systems can now be written in higher-level languages like C or C++  Code written in a high-level language:  can be written faster  is more compact  is easier to understand and debug  An operating system is far easier to port (move to some other hardware) if it is written in a high-level language