SlideShare a Scribd company logo
1 of 3
Download to read offline
What is an OS?
• Interface between application programs and hardware
• Ultimate control program
– Exploits hardware resources of one or more processors to provide a set of services to users
– Coordinates the use of hardware among various application programs for different users
– Manages secondary memory and I/O devices on behalf of its users
• Two different views of an OS
1. Extended machine view
– Virtual machine that is easier to understand and program
– Tool to make programmer’s job easy
2. Resource manager view
– Tool to facilitate efficient operation of computer system
– Provides services to users; processor, memory, I/O, system bus
– Must be fair; not partial to any process, specially for process in the same class
– Must discriminate between different class of jobs with different service requirements
– Do the above efficiently
Within the constraints of fairness and efficiency, an OS should attempt to maximize throughput,
minimize
response time, and accommodate as many users as possible
Basic elements
• A computer has a number of modules, with possibly more than one instance of each
• Processor/CPU
– Controls the operations of computer and performs data processing functions
– Exchanges data with memory using memory address register and memory buffer register
– Exchanges data with I/O devices using I/O address register and I/O buffer register
• Main memory/Primary memory
– Stores data and programs
– Typically volatile
– Abstracted as a set of locations, defined by sequentially numbered addresses
– Each location contains a bit pattern to be interpreted as either an instruction or data
• I/O modules/architecture
– Move data between a computer and external environment
– Communicate with a variety of devices including secondary memory (disks), communications
equipment, and
terminals
– Data flows between CPUs, RAM and I/O devices over buses
– System bus
Provides for communications among processors, main memory, and I/O modules
Connects most of the internal hardware devices
PCI bus, ISA bus, EISA bus, SCSI, USB
Solution
What is an OS?
• Interface between application programs and hardware
• Ultimate control program
– Exploits hardware resources of one or more processors to provide a set of services to users
– Coordinates the use of hardware among various application programs for different users
– Manages secondary memory and I/O devices on behalf of its users
• Two different views of an OS
1. Extended machine view
– Virtual machine that is easier to understand and program
– Tool to make programmer’s job easy
2. Resource manager view
– Tool to facilitate efficient operation of computer system
– Provides services to users; processor, memory, I/O, system bus
– Must be fair; not partial to any process, specially for process in the same class
– Must discriminate between different class of jobs with different service requirements
– Do the above efficiently
Within the constraints of fairness and efficiency, an OS should attempt to maximize throughput,
minimize
response time, and accommodate as many users as possible
Basic elements
• A computer has a number of modules, with possibly more than one instance of each
• Processor/CPU
– Controls the operations of computer and performs data processing functions
– Exchanges data with memory using memory address register and memory buffer register
– Exchanges data with I/O devices using I/O address register and I/O buffer register
• Main memory/Primary memory
– Stores data and programs
– Typically volatile
– Abstracted as a set of locations, defined by sequentially numbered addresses
– Each location contains a bit pattern to be interpreted as either an instruction or data
• I/O modules/architecture
– Move data between a computer and external environment
– Communicate with a variety of devices including secondary memory (disks), communications
equipment, and
terminals
– Data flows between CPUs, RAM and I/O devices over buses
– System bus
Provides for communications among processors, main memory, and I/O modules
Connects most of the internal hardware devices
PCI bus, ISA bus, EISA bus, SCSI, USB

More Related Content

Similar to What is an OS • Interface between application programs and hardwa.pdf

Module 1 Introduction.ppt
Module 1 Introduction.pptModule 1 Introduction.ppt
Module 1 Introduction.ppt
shreesha16
 

Similar to What is an OS • Interface between application programs and hardwa.pdf (20)

ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
 
Introduction to Operating Systems.pdf
Introduction to Operating Systems.pdfIntroduction to Operating Systems.pdf
Introduction to Operating Systems.pdf
 
Os1
Os1Os1
Os1
 
Operating systems1[1]
Operating systems1[1]Operating systems1[1]
Operating systems1[1]
 
OS M1.1.pptx
OS M1.1.pptxOS M1.1.pptx
OS M1.1.pptx
 
Co module 1 2019 20-converted
Co module 1 2019 20-convertedCo module 1 2019 20-converted
Co module 1 2019 20-converted
 
Advanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.pptAdvanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.ppt
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptx
 
Module 1 Introduction.ppt
Module 1 Introduction.pptModule 1 Introduction.ppt
Module 1 Introduction.ppt
 
Operating system concepts
Operating system conceptsOperating system concepts
Operating system concepts
 
OS UNIT1.pptx
OS UNIT1.pptxOS UNIT1.pptx
OS UNIT1.pptx
 
Operating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTESOperating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTES
 
Lecture 02 hardwares
Lecture 02 hardwaresLecture 02 hardwares
Lecture 02 hardwares
 
Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and types
 
Operating system v1 d1
Operating system v1 d1Operating system v1 d1
Operating system v1 d1
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Operating System Introduction.pptx
Operating System Introduction.pptxOperating System Introduction.pptx
Operating System Introduction.pptx
 
cs-intro-os.ppt
cs-intro-os.pptcs-intro-os.ppt
cs-intro-os.ppt
 
Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
 
Operating System
Operating SystemOperating System
Operating System
 

More from aparnacollection

The multiplication sign simply means that the molecules have their i.pdf
The multiplication sign simply means that the molecules have their i.pdfThe multiplication sign simply means that the molecules have their i.pdf
The multiplication sign simply means that the molecules have their i.pdf
aparnacollection
 
Program-a. library is importedimport java.awt.; import j.pdf
Program-a. library is importedimport java.awt.; import j.pdfProgram-a. library is importedimport java.awt.; import j.pdf
Program-a. library is importedimport java.awt.; import j.pdf
aparnacollection
 
package com.test;public class Team {    private String teamId;.pdf
package com.test;public class Team {    private String teamId;.pdfpackage com.test;public class Team {    private String teamId;.pdf
package com.test;public class Team {    private String teamId;.pdf
aparnacollection
 
Given below is the completed code along with comments. Output of the.pdf
Given below is the completed code along with comments. Output of the.pdfGiven below is the completed code along with comments. Output of the.pdf
Given below is the completed code along with comments. Output of the.pdf
aparnacollection
 
(a) The American Institute of Certified Accountants. (AICPA)(b) Th.pdf
(a) The American Institute of Certified Accountants. (AICPA)(b) Th.pdf(a) The American Institute of Certified Accountants. (AICPA)(b) Th.pdf
(a) The American Institute of Certified Accountants. (AICPA)(b) Th.pdf
aparnacollection
 
Yes. The compound is actively active. It is mainl.pdf
                     Yes. The compound is actively active. It is mainl.pdf                     Yes. The compound is actively active. It is mainl.pdf
Yes. The compound is actively active. It is mainl.pdf
aparnacollection
 
Adding elements public void add(String element) { For fi.pdf
 Adding elements public void add(String element) {  For fi.pdf Adding elements public void add(String element) {  For fi.pdf
Adding elements public void add(String element) { For fi.pdf
aparnacollection
 
1) Investment Grade Domestic Bonds As bond bears a fixed rate of i.pdf
    1) Investment Grade Domestic Bonds As bond bears a fixed rate of i.pdf    1) Investment Grade Domestic Bonds As bond bears a fixed rate of i.pdf
1) Investment Grade Domestic Bonds As bond bears a fixed rate of i.pdf
aparnacollection
 

More from aparnacollection (20)

}Solution}.pdf
}Solution}.pdf}Solution}.pdf
}Solution}.pdf
 
Using a broad definition of file(note that it doesnt count h.pdf
Using a broad definition of file(note that it doesnt count h.pdfUsing a broad definition of file(note that it doesnt count h.pdf
Using a broad definition of file(note that it doesnt count h.pdf
 
unable to open it ....it asks for username and passwordSolution.pdf
unable to open it ....it asks for username and passwordSolution.pdfunable to open it ....it asks for username and passwordSolution.pdf
unable to open it ....it asks for username and passwordSolution.pdf
 
This is called a dehydrationreaction. a) H2SO4 H20Solution.pdf
This is called a dehydrationreaction. a) H2SO4  H20Solution.pdfThis is called a dehydrationreaction. a) H2SO4  H20Solution.pdf
This is called a dehydrationreaction. a) H2SO4 H20Solution.pdf
 
The multiplication sign simply means that the molecules have their i.pdf
The multiplication sign simply means that the molecules have their i.pdfThe multiplication sign simply means that the molecules have their i.pdf
The multiplication sign simply means that the molecules have their i.pdf
 
SolutionThe variance of individual assets is measure of total ris.pdf
SolutionThe variance of individual assets is measure of total ris.pdfSolutionThe variance of individual assets is measure of total ris.pdf
SolutionThe variance of individual assets is measure of total ris.pdf
 
soldefnition of critical thinkingit is an intellectual process o.pdf
soldefnition of critical thinkingit is an intellectual process o.pdfsoldefnition of critical thinkingit is an intellectual process o.pdf
soldefnition of critical thinkingit is an intellectual process o.pdf
 
Program-a. library is importedimport java.awt.; import j.pdf
Program-a. library is importedimport java.awt.; import j.pdfProgram-a. library is importedimport java.awt.; import j.pdf
Program-a. library is importedimport java.awt.; import j.pdf
 
package com.test;public class Team {    private String teamId;.pdf
package com.test;public class Team {    private String teamId;.pdfpackage com.test;public class Team {    private String teamId;.pdf
package com.test;public class Team {    private String teamId;.pdf
 
Given below is the completed code along with comments. Output of the.pdf
Given below is the completed code along with comments. Output of the.pdfGiven below is the completed code along with comments. Output of the.pdf
Given below is the completed code along with comments. Output of the.pdf
 
(a) The American Institute of Certified Accountants. (AICPA)(b) Th.pdf
(a) The American Institute of Certified Accountants. (AICPA)(b) Th.pdf(a) The American Institute of Certified Accountants. (AICPA)(b) Th.pdf
(a) The American Institute of Certified Accountants. (AICPA)(b) Th.pdf
 
Yes. The compound is actively active. It is mainl.pdf
                     Yes. The compound is actively active. It is mainl.pdf                     Yes. The compound is actively active. It is mainl.pdf
Yes. The compound is actively active. It is mainl.pdf
 
The probability of A and its complement will sum to oneSolution.pdf
 The probability of A and its complement will sum to oneSolution.pdf The probability of A and its complement will sum to oneSolution.pdf
The probability of A and its complement will sum to oneSolution.pdf
 
H+,CN-Solution H+,CN-.pdf
 H+,CN-Solution H+,CN-.pdf H+,CN-Solution H+,CN-.pdf
H+,CN-Solution H+,CN-.pdf
 
Adding elements public void add(String element) { For fi.pdf
 Adding elements public void add(String element) {  For fi.pdf Adding elements public void add(String element) {  For fi.pdf
Adding elements public void add(String element) { For fi.pdf
 
1) Investment Grade Domestic Bonds As bond bears a fixed rate of i.pdf
    1) Investment Grade Domestic Bonds As bond bears a fixed rate of i.pdf    1) Investment Grade Domestic Bonds As bond bears a fixed rate of i.pdf
1) Investment Grade Domestic Bonds As bond bears a fixed rate of i.pdf
 
When atoms share one or more pairs of electrons t.pdf
                     When atoms share one or more pairs of electrons t.pdf                     When atoms share one or more pairs of electrons t.pdf
When atoms share one or more pairs of electrons t.pdf
 
This is quite simple to do. Barium sulfate is ins.pdf
                     This is quite simple to do. Barium sulfate is ins.pdf                     This is quite simple to do. Barium sulfate is ins.pdf
This is quite simple to do. Barium sulfate is ins.pdf
 
Step1 Cocentration of NaCl =.250 moles Step2 Mol.pdf
                     Step1 Cocentration of NaCl =.250 moles  Step2 Mol.pdf                     Step1 Cocentration of NaCl =.250 moles  Step2 Mol.pdf
Step1 Cocentration of NaCl =.250 moles Step2 Mol.pdf
 
Nitric acid is a strong acid... we can assume com.pdf
                     Nitric acid is a strong acid... we can assume com.pdf                     Nitric acid is a strong acid... we can assume com.pdf
Nitric acid is a strong acid... we can assume com.pdf
 

Recently uploaded

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 

Recently uploaded (20)

OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Scopus Indexed Journals 2024 - ISCOPUS Publications
Scopus Indexed Journals 2024 - ISCOPUS PublicationsScopus Indexed Journals 2024 - ISCOPUS Publications
Scopus Indexed Journals 2024 - ISCOPUS Publications
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
Climbers and Creepers used in landscaping
Climbers and Creepers used in landscapingClimbers and Creepers used in landscaping
Climbers and Creepers used in landscaping
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 

What is an OS • Interface between application programs and hardwa.pdf

  • 1. What is an OS? • Interface between application programs and hardware • Ultimate control program – Exploits hardware resources of one or more processors to provide a set of services to users – Coordinates the use of hardware among various application programs for different users – Manages secondary memory and I/O devices on behalf of its users • Two different views of an OS 1. Extended machine view – Virtual machine that is easier to understand and program – Tool to make programmer’s job easy 2. Resource manager view – Tool to facilitate efficient operation of computer system – Provides services to users; processor, memory, I/O, system bus – Must be fair; not partial to any process, specially for process in the same class – Must discriminate between different class of jobs with different service requirements – Do the above efficiently Within the constraints of fairness and efficiency, an OS should attempt to maximize throughput, minimize response time, and accommodate as many users as possible Basic elements • A computer has a number of modules, with possibly more than one instance of each • Processor/CPU – Controls the operations of computer and performs data processing functions – Exchanges data with memory using memory address register and memory buffer register – Exchanges data with I/O devices using I/O address register and I/O buffer register • Main memory/Primary memory – Stores data and programs – Typically volatile – Abstracted as a set of locations, defined by sequentially numbered addresses – Each location contains a bit pattern to be interpreted as either an instruction or data • I/O modules/architecture – Move data between a computer and external environment – Communicate with a variety of devices including secondary memory (disks), communications equipment, and terminals
  • 2. – Data flows between CPUs, RAM and I/O devices over buses – System bus Provides for communications among processors, main memory, and I/O modules Connects most of the internal hardware devices PCI bus, ISA bus, EISA bus, SCSI, USB Solution What is an OS? • Interface between application programs and hardware • Ultimate control program – Exploits hardware resources of one or more processors to provide a set of services to users – Coordinates the use of hardware among various application programs for different users – Manages secondary memory and I/O devices on behalf of its users • Two different views of an OS 1. Extended machine view – Virtual machine that is easier to understand and program – Tool to make programmer’s job easy 2. Resource manager view – Tool to facilitate efficient operation of computer system – Provides services to users; processor, memory, I/O, system bus – Must be fair; not partial to any process, specially for process in the same class – Must discriminate between different class of jobs with different service requirements – Do the above efficiently Within the constraints of fairness and efficiency, an OS should attempt to maximize throughput, minimize response time, and accommodate as many users as possible Basic elements • A computer has a number of modules, with possibly more than one instance of each • Processor/CPU – Controls the operations of computer and performs data processing functions – Exchanges data with memory using memory address register and memory buffer register – Exchanges data with I/O devices using I/O address register and I/O buffer register • Main memory/Primary memory – Stores data and programs – Typically volatile
  • 3. – Abstracted as a set of locations, defined by sequentially numbered addresses – Each location contains a bit pattern to be interpreted as either an instruction or data • I/O modules/architecture – Move data between a computer and external environment – Communicate with a variety of devices including secondary memory (disks), communications equipment, and terminals – Data flows between CPUs, RAM and I/O devices over buses – System bus Provides for communications among processors, main memory, and I/O modules Connects most of the internal hardware devices PCI bus, ISA bus, EISA bus, SCSI, USB