SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Chapter 1: Introduction
What is an Operating System?
 What is an Operating system?
 A program that acts as an intermediary between a user of a
computer and the computer hardware.
 Resource allocator
 Control Program
 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
 An operating system is the one program that is running at
all the times on the computer- usually called the
kernel.(System programs and application programs)
Computer System Structure
 Computer system can be divided into four components
 Hardware – provides basic computing resources
 CPU, memory, I/O devices
 Operating system
 Controls and coordinates use of hardware among various
applications and users
 Application programs – define the ways in which the system
resources are used to solve the computing problems of the
users
 Word processors, compilers, web browsers, database
systems, video games
 Users
 People, machines, other computers
Four Components of a Computer System
Operating System Definition
To understand more fully the OS role, we explore OS from 2 view
points.:
User view: In single user, it should be easy to use.
In other cases, where users access the same user through different
terminals, More emphasize is on resource allocation and
utilization.
System View:
 OS is a resource allocator
 Manages all resources
 Decides between conflicting requests for efficient and fair
resource use
 OS is a control program
 Controls execution of programs to prevent errors and improper
use of the computer
Operating-System Operations
 Modern OS s are Interrupt driven. If no process, no I/o devices, No users
Os will sit quietly waiting for some event to occur.
 Hardware generates interrupt and..
 Program or software send generate events by using system calls. Error or
request by a software creates exception or trap
 Division by zero, request for operating system service
 Since OS and users share h/w, s/w resources, we make to sure that an
error in a program does not affect any other program.
 Dual-mode operation allows OS to protect itself and other system
components
 User mode and kernel mode
 Mode bit provided by hardware
 Provides ability to distinguish when system is running user code or
kernel code
 Some instructions designated as privileged, only executable in
kernel mode
 System call changes mode to kernel, return from call resets it to user
Transition from User to Kernel Mode
Computer System Organization
 Computer-system operation
 One or more CPUs, device controllers connect through common bus
providing access to shared memory
 Concurrent execution of CPUs and devices competing for memory
cycles
TYPES OF OS: Batch Systems
 Early computers were Physically enormous machines run from a
console
 The common input devices were card readers and tape drives.
 The common output devices were line printers, tape drives, and
card punches.
 The user did not interact directly with the computer systems. Rather,
the user prepared a job -which consisted of the program, the data,
and some control information about the nature of the job (control
cards)-and submitted it to the computer operator. The job was
usually in the form of punch punch cards. At some later time (after
minutes, hours, or days), the output appeared.
 To speed up processing, operators batched together jobs with
similar needs and ran them through the computer as a group.
Multiprogrammed OS
 needed for efficiency
 Single user cannot keep CPU and I/O devices busy at
all times
 Multiprogramming organizes jobs (code and data) so
CPU always has one to execute
 A subset of total jobs in system is kept in memory
 One job selected and run via job scheduling
 When it has to wait (for I/O for example), OS switches
to another job
Timesharing OS
 Timesharing (multitasking) is logical extension in
which CPU switches jobs so frequently that users can
interact with each job while it is running, creating
interactive computing
 Each user has at least one program executing in
memory process
 If several jobs ready to run at the same time  CPU
scheduling
 If processes don’t fit in memory, swapping moves
them in and out to run
 Virtual memory allows execution of processes not
completely in memory
Multiprocessing OS
 Most systems to date are single-processor systems; that is, they
have only one main CPU.
 However, multiprocessor systems (also known as parallel
systems or tightly coupled systems) are growing in importance.
 Such systems have more than one processor in close
communication, sharing the computer bus, the clock, and
sometimes memory and peripheral devices.
 Multiprocessor systems have three main advantages:
 Increased throughput.
 Economy of scale.
 Increased reliability.
Distributed Systems
 A network, in the simplest terms, is a communication
path between two or more systems. Distributed systems
depend on networking for their functionality. By being
able to communicate, distributed systems are able to
share computational tasks, and provide a rich set of
features to users.
 CLIENT SERVER SYSTEMS
 PEER TO PEER SYSTEMS
 A client operating system is a computer OS that
runs on desktop computers and other portable
devices like laptops and smartphones. It may
handle different hardware components
connected to it, such as printers, monitors, and
cameras.
 These OSs support a single user at a time. A
client operating system may use a server
operating system to acquire services
 Features of Client Operating System
 Various features of the client operating
system are as follows:
1.It provides support to a single user at a
time.
2.It runs on desktop systems and portable
devices.
3.Some client operating systems are
Windows, Android, Mac, etc.
Server Operating System
 A server operating system is an OS that
runs on a server. It is a more advanced
version of an OS with more efficient
features and capabilities for providing
several services to other devices or client
machines that are connected to it.
 There are services for software, advanced
hardware, and network configuration.
These operating systems help install and
use business and online web applications.
They can also manage and monitor the
client devices connected to them.
 Features of Server Operating System
 Various features of the server OS are as
follows:
1.It may access the server both in GUI and
CLI.
2.It controls and monitors client computers
and operating systems.
3.It installs and uses web applications and
business applications.
4. It helps to execute most processes from
the OS commands.
5. It offers a central interface for managing
users, implementing security, and
performing other administrative tasks.
 Real time embedded systems:
Embedded computers are most prevalent form of computers in existence.
these are found everywhere ex: robots, microwave oven. Now a days
entire house can be made computerized. Used in alarm systems, coffee
makers, CCTV cameras etc. They tend to have specific tasks.
OS has limited features.
 have little user interface.
these systems run Real time OS.
Rigid time constraints. Processing must be done within that time constraint.
Used as a control device for a specific application.
 Handheld systems:
Include PDAs(Personal digital assistants). Such as palm and pocket PCs, cell
phones.
More challenging.
Limited size, weight.
Small memory, slow processor, small display screens.
Only a small subset of web page is displayed on the handheld device. Known
as web clipping
Storage structure and Hierarchy

Weitere ähnliche Inhalte

Ähnlich wie Introduction to OS 1.ppt

Operating system notes
Operating system notesOperating system notes
Operating system notes
SANTOSH RATH
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
MemMem25
 
Ch1 OS
Ch1 OSCh1 OS
Ch1 OS
C.U
 
Unit 1_Operating system
Unit 1_Operating system Unit 1_Operating system
Unit 1_Operating system
JayeshGadhave1
 
3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdf3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdf
rohitbaweja26
 
ITFT _ Operating system
ITFT _ Operating systemITFT _ Operating system
ITFT _ Operating system
Navneet Kaur
 

Ähnlich wie Introduction to OS 1.ppt (20)

Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: Introduction
 
Operating system notes
Operating system notesOperating system notes
Operating system notes
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
 
Ch1
Ch1Ch1
Ch1
 
Os notes
Os notesOs notes
Os notes
 
Introduction of operating system
Introduction of operating systemIntroduction of operating system
Introduction of operating system
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
 
Operating system
Operating systemOperating system
Operating system
 
Ch1 OS
Ch1 OSCh1 OS
Ch1 OS
 
OS_Ch1
OS_Ch1OS_Ch1
OS_Ch1
 
OSCh1
OSCh1OSCh1
OSCh1
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system calls
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2
 
ITM(2).ppt
ITM(2).pptITM(2).ppt
ITM(2).ppt
 
Unit 1_Operating system
Unit 1_Operating system Unit 1_Operating system
Unit 1_Operating system
 
3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdf3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdf
 
Operating System-Introduction
Operating System-IntroductionOperating System-Introduction
Operating System-Introduction
 
operating system notes by madhavi.pdf
operating system notes by madhavi.pdfoperating system notes by madhavi.pdf
operating system notes by madhavi.pdf
 
ITFT _ Operating system
ITFT _ Operating systemITFT _ Operating system
ITFT _ Operating system
 

KĂźrzlich hochgeladen

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

KĂźrzlich hochgeladen (20)

Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 

Introduction to OS 1.ppt

  • 2. What is an Operating System?  What is an Operating system?  A program that acts as an intermediary between a user of a computer and the computer hardware.  Resource allocator  Control Program  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  An operating system is the one program that is running at all the times on the computer- usually called the kernel.(System programs and application programs)
  • 3. Computer System Structure  Computer system can be divided into four components  Hardware – provides basic computing resources  CPU, memory, I/O devices  Operating system  Controls and coordinates use of hardware among various applications and users  Application programs – define the ways in which the system resources are used to solve the computing problems of the users  Word processors, compilers, web browsers, database systems, video games  Users  People, machines, other computers
  • 4. Four Components of a Computer System
  • 5. Operating System Definition To understand more fully the OS role, we explore OS from 2 view points.: User view: In single user, it should be easy to use. In other cases, where users access the same user through different terminals, More emphasize is on resource allocation and utilization. System View:  OS is a resource allocator  Manages all resources  Decides between conflicting requests for efficient and fair resource use  OS is a control program  Controls execution of programs to prevent errors and improper use of the computer
  • 6. Operating-System Operations  Modern OS s are Interrupt driven. If no process, no I/o devices, No users Os will sit quietly waiting for some event to occur.  Hardware generates interrupt and..  Program or software send generate events by using system calls. Error or request by a software creates exception or trap  Division by zero, request for operating system service  Since OS and users share h/w, s/w resources, we make to sure that an error in a program does not affect any other program.  Dual-mode operation allows OS to protect itself and other system components  User mode and kernel mode  Mode bit provided by hardware  Provides ability to distinguish when system is running user code or kernel code  Some instructions designated as privileged, only executable in kernel mode  System call changes mode to kernel, return from call resets it to user
  • 7. Transition from User to Kernel Mode
  • 8.
  • 9.
  • 10. Computer System Organization  Computer-system operation  One or more CPUs, device controllers connect through common bus providing access to shared memory  Concurrent execution of CPUs and devices competing for memory cycles
  • 11. TYPES OF OS: Batch Systems  Early computers were Physically enormous machines run from a console  The common input devices were card readers and tape drives.  The common output devices were line printers, tape drives, and card punches.  The user did not interact directly with the computer systems. Rather, the user prepared a job -which consisted of the program, the data, and some control information about the nature of the job (control cards)-and submitted it to the computer operator. The job was usually in the form of punch punch cards. At some later time (after minutes, hours, or days), the output appeared.  To speed up processing, operators batched together jobs with similar needs and ran them through the computer as a group.
  • 12. Multiprogrammed OS  needed for efficiency  Single user cannot keep CPU and I/O devices busy at all times  Multiprogramming organizes jobs (code and data) so CPU always has one to execute  A subset of total jobs in system is kept in memory  One job selected and run via job scheduling  When it has to wait (for I/O for example), OS switches to another job
  • 13. Timesharing OS  Timesharing (multitasking) is logical extension in which CPU switches jobs so frequently that users can interact with each job while it is running, creating interactive computing  Each user has at least one program executing in memory process  If several jobs ready to run at the same time  CPU scheduling  If processes don’t fit in memory, swapping moves them in and out to run  Virtual memory allows execution of processes not completely in memory
  • 14.
  • 15. Multiprocessing OS  Most systems to date are single-processor systems; that is, they have only one main CPU.  However, multiprocessor systems (also known as parallel systems or tightly coupled systems) are growing in importance.  Such systems have more than one processor in close communication, sharing the computer bus, the clock, and sometimes memory and peripheral devices.  Multiprocessor systems have three main advantages:  Increased throughput.  Economy of scale.  Increased reliability.
  • 16. Distributed Systems  A network, in the simplest terms, is a communication path between two or more systems. Distributed systems depend on networking for their functionality. By being able to communicate, distributed systems are able to share computational tasks, and provide a rich set of features to users.  CLIENT SERVER SYSTEMS  PEER TO PEER SYSTEMS
  • 17.  A client operating system is a computer OS that runs on desktop computers and other portable devices like laptops and smartphones. It may handle different hardware components connected to it, such as printers, monitors, and cameras.  These OSs support a single user at a time. A client operating system may use a server operating system to acquire services
  • 18.  Features of Client Operating System  Various features of the client operating system are as follows: 1.It provides support to a single user at a time. 2.It runs on desktop systems and portable devices. 3.Some client operating systems are Windows, Android, Mac, etc.
  • 19. Server Operating System  A server operating system is an OS that runs on a server. It is a more advanced version of an OS with more efficient features and capabilities for providing several services to other devices or client machines that are connected to it.
  • 20.  There are services for software, advanced hardware, and network configuration. These operating systems help install and use business and online web applications. They can also manage and monitor the client devices connected to them.
  • 21.  Features of Server Operating System  Various features of the server OS are as follows: 1.It may access the server both in GUI and CLI. 2.It controls and monitors client computers and operating systems. 3.It installs and uses web applications and business applications.
  • 22. 4. It helps to execute most processes from the OS commands. 5. It offers a central interface for managing users, implementing security, and performing other administrative tasks.
  • 23.  Real time embedded systems: Embedded computers are most prevalent form of computers in existence. these are found everywhere ex: robots, microwave oven. Now a days entire house can be made computerized. Used in alarm systems, coffee makers, CCTV cameras etc. They tend to have specific tasks. OS has limited features.  have little user interface. these systems run Real time OS. Rigid time constraints. Processing must be done within that time constraint. Used as a control device for a specific application.
  • 24.  Handheld systems: Include PDAs(Personal digital assistants). Such as palm and pocket PCs, cell phones. More challenging. Limited size, weight. Small memory, slow processor, small display screens. Only a small subset of web page is displayed on the handheld device. Known as web clipping
  • 25.