際際滷

際際滷Share a Scribd company logo
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
Introduction to OS 1.ppt
Introduction to OS 1.ppt
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 dont fit in memory, swapping moves
them in and out to run
 Virtual memory allows execution of processes not
completely in memory
Introduction to OS 1.ppt
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
Introduction to OS 1.ppt
Storage structure and Hierarchy

More Related Content

Similar to Introduction to OS 1.ppt (20)

ch1.ppt
ch1.pptch1.ppt
ch1.ppt
VandanaGaria
A brief introduction about an operating system and its architecture
A brief introduction about an operating system and its architectureA brief introduction about an operating system and its architecture
A brief introduction about an operating system and its architecture
Guna Dhondwad
An Overview of Operating Systems and algorithms.ppt
An Overview of Operating Systems and algorithms.pptAn Overview of Operating Systems and algorithms.ppt
An Overview of Operating Systems and algorithms.ppt
pojectstudy
Operating_Systems_UNIT_Concept of an Operating System1.pptx
Operating_Systems_UNIT_Concept of an Operating System1.pptxOperating_Systems_UNIT_Concept of an Operating System1.pptx
Operating_Systems_UNIT_Concept of an Operating System1.pptx
yatakonakiran2
Operating System-unit 1.pptxX X A A A A A A A A A A
Operating System-unit 1.pptxX X  A A A A A A  A A A     AOperating System-unit 1.pptxX X  A A A A A A  A A A     A
Operating System-unit 1.pptxX X A A A A A A A A A A
RahulNavale5
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
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
FellowBuddy.com
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: Introduction
AnkonGopalBanik
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
Ch1Ch1
Ch1
Lokesh Kannaiyan
Os notes
Os notesOs notes
Os notes
SANTOSH RATH
Introduction of operating system
Introduction of operating systemIntroduction of operating system
Introduction of operating system
Jitendrakumar Upadhyay
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
Uttara University
Operating system
Operating systemOperating system
Operating system
Ibrahim MH
Demo 1 presentation. this is tells about os
Demo 1 presentation. this is tells about osDemo 1 presentation. this is tells about os
Demo 1 presentation. this is tells about os
Baswamy Cse
Ch1 OS
Ch1 OSCh1 OS
Ch1 OS
C.U
OS_Ch1
OS_Ch1OS_Ch1
OS_Ch1
Supriya Shrivastava
OSCh1
OSCh1OSCh1
OSCh1
Joe Christensen
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system calls
manideepakc
A brief introduction about an operating system and its architecture
A brief introduction about an operating system and its architectureA brief introduction about an operating system and its architecture
A brief introduction about an operating system and its architecture
Guna Dhondwad
An Overview of Operating Systems and algorithms.ppt
An Overview of Operating Systems and algorithms.pptAn Overview of Operating Systems and algorithms.ppt
An Overview of Operating Systems and algorithms.ppt
pojectstudy
Operating_Systems_UNIT_Concept of an Operating System1.pptx
Operating_Systems_UNIT_Concept of an Operating System1.pptxOperating_Systems_UNIT_Concept of an Operating System1.pptx
Operating_Systems_UNIT_Concept of an Operating System1.pptx
yatakonakiran2
Operating System-unit 1.pptxX X A A A A A A A A A A
Operating System-unit 1.pptxX X  A A A A A A  A A A     AOperating System-unit 1.pptxX X  A A A A A A  A A A     A
Operating System-unit 1.pptxX X A A A A A A A A A A
RahulNavale5
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
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
FellowBuddy.com
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: Introduction
AnkonGopalBanik
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
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
Uttara University
Operating system
Operating systemOperating system
Operating system
Ibrahim MH
Demo 1 presentation. this is tells about os
Demo 1 presentation. this is tells about osDemo 1 presentation. this is tells about os
Demo 1 presentation. this is tells about os
Baswamy Cse
Ch1 OS
Ch1 OSCh1 OS
Ch1 OS
C.U
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system calls
manideepakc

Recently uploaded (20)

Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
AI Publications
PCB Design - Top Factors Related to Data Routing and Layout
PCB Design - Top Factors Related to Data Routing and LayoutPCB Design - Top Factors Related to Data Routing and Layout
PCB Design - Top Factors Related to Data Routing and Layout
Epec Engineered Technologies
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-8-2025 FINAL ver4...
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-8-2025 FINAL ver4...YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-8-2025 FINAL ver4...
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-8-2025 FINAL ver4...
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
Mastering Secure Login Mechanisms for React Apps.pdf
Mastering Secure Login Mechanisms for React Apps.pdfMastering Secure Login Mechanisms for React Apps.pdf
Mastering Secure Login Mechanisms for React Apps.pdf
Brion Mario
hyderabad ins tech and management cyber security
hyderabad ins tech and management cyber securityhyderabad ins tech and management cyber security
hyderabad ins tech and management cyber security
aramaky
Electromechanical Engineering Portfolio RJH
Electromechanical Engineering Portfolio RJHElectromechanical Engineering Portfolio RJH
Electromechanical Engineering Portfolio RJH
rhoustonx1
OFFICE AUTOMATION USING ESP32 AND ESP RAINMAKER
OFFICE AUTOMATION USING ESP32 AND ESP RAINMAKEROFFICE AUTOMATION USING ESP32 AND ESP RAINMAKER
OFFICE AUTOMATION USING ESP32 AND ESP RAINMAKER
AdityaSK5
Supervised Learning Ensemble Techniques Machine Learning
Supervised Learning Ensemble Techniques Machine LearningSupervised Learning Ensemble Techniques Machine Learning
Supervised Learning Ensemble Techniques Machine Learning
ShivarkarSandip
Optimize AI Latency & Response Time with LLumo
Optimize AI Latency & Response Time with LLumoOptimize AI Latency & Response Time with LLumo
Optimize AI Latency & Response Time with LLumo
sgupta86
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
Guru Nanak Technical Institutions
Airport Components Part1 ppt.pptx-Site layout,RUNWAY,TAXIWAY,TAXILANE
Airport Components Part1 ppt.pptx-Site layout,RUNWAY,TAXIWAY,TAXILANEAirport Components Part1 ppt.pptx-Site layout,RUNWAY,TAXIWAY,TAXILANE
Airport Components Part1 ppt.pptx-Site layout,RUNWAY,TAXIWAY,TAXILANE
Priyanka Dange
CS50x: CS50's Introduction to Computer Science.pdf
CS50x: CS50's Introduction to Computer Science.pdfCS50x: CS50's Introduction to Computer Science.pdf
CS50x: CS50's Introduction to Computer Science.pdf
Naiyan Noor
LA2-64 -bit assemby language program to count number of positive and negative...
LA2-64 -bit assemby language program to count number of positive and negative...LA2-64 -bit assemby language program to count number of positive and negative...
LA2-64 -bit assemby language program to count number of positive and negative...
VidyaAshokNemade
Reinventando el CD_ Unificando Aplicaciones e Infraestructura con Crossplane-...
Reinventando el CD_ Unificando Aplicaciones e Infraestructura con Crossplane-...Reinventando el CD_ Unificando Aplicaciones e Infraestructura con Crossplane-...
Reinventando el CD_ Unificando Aplicaciones e Infraestructura con Crossplane-...
Alberto Lorenzo
"Introduction to VLSI Design: Concepts and Applications"
"Introduction to VLSI Design: Concepts and Applications""Introduction to VLSI Design: Concepts and Applications"
"Introduction to VLSI Design: Concepts and Applications"
GtxDriver
NFPA 70B & 70E Changes and Additions Webinar Presented By Fluke
NFPA 70B & 70E Changes and Additions Webinar Presented By FlukeNFPA 70B & 70E Changes and Additions Webinar Presented By Fluke
NFPA 70B & 70E Changes and Additions Webinar Presented By Fluke
Transcat
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
josephmigliorini1
Intro PPT SY_HONORS.pptx- Teaching scheme
Intro PPT SY_HONORS.pptx- Teaching schemeIntro PPT SY_HONORS.pptx- Teaching scheme
Intro PPT SY_HONORS.pptx- Teaching scheme
Priyanka Dange
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Ba誰na
UHV UNIT-5 IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
UHV UNIT-5  IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...UHV UNIT-5  IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
UHV UNIT-5 IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
arivazhaganrajangam
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
AI Publications
PCB Design - Top Factors Related to Data Routing and Layout
PCB Design - Top Factors Related to Data Routing and LayoutPCB Design - Top Factors Related to Data Routing and Layout
PCB Design - Top Factors Related to Data Routing and Layout
Epec Engineered Technologies
Mastering Secure Login Mechanisms for React Apps.pdf
Mastering Secure Login Mechanisms for React Apps.pdfMastering Secure Login Mechanisms for React Apps.pdf
Mastering Secure Login Mechanisms for React Apps.pdf
Brion Mario
hyderabad ins tech and management cyber security
hyderabad ins tech and management cyber securityhyderabad ins tech and management cyber security
hyderabad ins tech and management cyber security
aramaky
Electromechanical Engineering Portfolio RJH
Electromechanical Engineering Portfolio RJHElectromechanical Engineering Portfolio RJH
Electromechanical Engineering Portfolio RJH
rhoustonx1
OFFICE AUTOMATION USING ESP32 AND ESP RAINMAKER
OFFICE AUTOMATION USING ESP32 AND ESP RAINMAKEROFFICE AUTOMATION USING ESP32 AND ESP RAINMAKER
OFFICE AUTOMATION USING ESP32 AND ESP RAINMAKER
AdityaSK5
Supervised Learning Ensemble Techniques Machine Learning
Supervised Learning Ensemble Techniques Machine LearningSupervised Learning Ensemble Techniques Machine Learning
Supervised Learning Ensemble Techniques Machine Learning
ShivarkarSandip
Optimize AI Latency & Response Time with LLumo
Optimize AI Latency & Response Time with LLumoOptimize AI Latency & Response Time with LLumo
Optimize AI Latency & Response Time with LLumo
sgupta86
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
Guru Nanak Technical Institutions
Airport Components Part1 ppt.pptx-Site layout,RUNWAY,TAXIWAY,TAXILANE
Airport Components Part1 ppt.pptx-Site layout,RUNWAY,TAXIWAY,TAXILANEAirport Components Part1 ppt.pptx-Site layout,RUNWAY,TAXIWAY,TAXILANE
Airport Components Part1 ppt.pptx-Site layout,RUNWAY,TAXIWAY,TAXILANE
Priyanka Dange
CS50x: CS50's Introduction to Computer Science.pdf
CS50x: CS50's Introduction to Computer Science.pdfCS50x: CS50's Introduction to Computer Science.pdf
CS50x: CS50's Introduction to Computer Science.pdf
Naiyan Noor
LA2-64 -bit assemby language program to count number of positive and negative...
LA2-64 -bit assemby language program to count number of positive and negative...LA2-64 -bit assemby language program to count number of positive and negative...
LA2-64 -bit assemby language program to count number of positive and negative...
VidyaAshokNemade
Reinventando el CD_ Unificando Aplicaciones e Infraestructura con Crossplane-...
Reinventando el CD_ Unificando Aplicaciones e Infraestructura con Crossplane-...Reinventando el CD_ Unificando Aplicaciones e Infraestructura con Crossplane-...
Reinventando el CD_ Unificando Aplicaciones e Infraestructura con Crossplane-...
Alberto Lorenzo
"Introduction to VLSI Design: Concepts and Applications"
"Introduction to VLSI Design: Concepts and Applications""Introduction to VLSI Design: Concepts and Applications"
"Introduction to VLSI Design: Concepts and Applications"
GtxDriver
NFPA 70B & 70E Changes and Additions Webinar Presented By Fluke
NFPA 70B & 70E Changes and Additions Webinar Presented By FlukeNFPA 70B & 70E Changes and Additions Webinar Presented By Fluke
NFPA 70B & 70E Changes and Additions Webinar Presented By Fluke
Transcat
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
josephmigliorini1
Intro PPT SY_HONORS.pptx- Teaching scheme
Intro PPT SY_HONORS.pptx- Teaching schemeIntro PPT SY_HONORS.pptx- Teaching scheme
Intro PPT SY_HONORS.pptx- Teaching scheme
Priyanka Dange
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Ba誰na
UHV UNIT-5 IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
UHV UNIT-5  IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...UHV UNIT-5  IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
UHV UNIT-5 IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
arivazhaganrajangam

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
  • 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 dont fit in memory, swapping moves them in and out to run Virtual memory allows execution of processes not completely in memory
  • 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