SlideShare a Scribd company logo
1 of 18
Download to read offline
14CS3305
PREPARED BY,
EKTA MISHRA
What is an Operating System??
An operating system is a program that manages a
computer’s hardware. It also provides a basis for
application programs and acts as an intermediary between
the computer user and the computer hardware.
An Operating System (shortly OS) is a set of programs that
manage computer hardware resources and provide
common services for application software.
Based on the need and usage, some operating systems are
designed to be , others to be , and
others to be some combination of the two.
Operating Systems 14CS3503 EKTA MISHRA Asst Prof.
Computer System Structure
Computer system can be divided into four components:
• CPU, memory, I/O devices
• Controls and coordinates use of hardware among various
applications and users
– 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
• People, machines, other computers
Operating Systems 14CS3503 EKTA MISHRA, Asst Prof.
The dominant desktop operating system is Microsoft Windows
with a market share of around 82.74%. macOS by Apple Inc. is
in second place (13.23%), and the varieties of Linux are
collectively in third place (1.57%).
What Operating Systems Do??
In case of a single user system, the operating system is designed mostly for ease
of use, with some attention paid to performance and none paid to resource
utilization—how various hardware and software resources are shared.
In cases, where a user sits at a terminal connected to a mainframe or a
minicomputer, the OS is designed to maximize resource utilization— to assure
that all available CPU time, memory, and I/O are used efficiently and that no
individual user takes more than her fair share.
In some cases, users of workstations have dedicated resources, but frequently
use shared resources from servers. their operating system is designed to
compromise between individual usability and resource utilization.
Handheld computers are resource poor, and are optimized for usability and
battery life.
Some computers have little or no user interface, such as embedded computers in
devices and automobiles. The OS are designed to run without human
intervention.
What Operating Systems Do??
• 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
Definition of OS
• A more common definition, and the one that we usually
follow, is that the operating system is the one program
running at all times on the computer—usually called the
• Along with the kernel, there are two other types of
programs: system programs, which are associated with the
operating system but are not necessarily part of the kernel,
and application programs, which include all programs not
associated with the operation of the system.
Operating Systems 14CS3503 EKTA MISHRA, Asst Prof.
Computer System Organization
A modern general-purpose computer system consists of one or more
CPUs and a number of device controllers connected through a
common bus that provides access to shared memory. Each device
controller is in charge of a specific type of device.
The CPU and the device controllers can execute in parallel,
competing for memory cycles. To ensure orderly access to the shared
memory, a memory controller synchronizes access to the memory.
Operating Systems 14CS3503 EKTA MISHRA, Asst Prof.
Computer System Operation
For a computer to start running, when it is powered up or rebooted—it needs to
have an initial program to run called a .
It is stored within the computer hardware in or
known by
the general term firmware.
It initializes all aspects of the system, from CPU registers to device controllers
to memory contents.
To start execution of the OS, the bootstrap program must locate the Operating-
system kernel and load into memory.
Once the kernel is loaded and executing, it can start providing services to the
system and its users. Some services are provided outside of the kernel, by
system programs that are loaded into memory at boot time to become system
processes, or system daemons that run the entire time the kernel is running.
Once this phase is complete, the system is fully booted, and the system waits
for some event to occur.
Operating Sytems 14CS3503 Mukesh Chinta, Asst Prof, CSE, VRSEC
The occurrence of an event is usually signaled by an from either
the hardware or the software.
Hardware may trigger an interrupt at any time by sending a signal to the CPU,
usually by way of the system bus.
Software may trigger an interrupt by executing a special operation called a
(also called a ).
When the CPU is interrupted, it stops what it is doing and immediately
transfers execution to a fixed location. The fixed location usually contains the
starting address where the service routine for the interrupt is located. The
interrupt service routine executes; on completion, the CPU resumes the
interrupted computation.
Storage Structure
The CPU can load instructions only from memory, so any programs
to run must be stored there.
General-purpose computers run most of their programs from
rewritable memory, called (also called
or RAM). Main memory commonly is implemented in a
semiconductor technology called
.
Because ROM cannot be changed, only static programs, such as the
bootstrap program, are stored there.
EEPROM can be changed but cannot be changed frequently and so
contains mostly static programs.
Operating Systems 14CS3503 EKTA MISHRA, Asst Prof.
All forms of memory provide an array of bytes. Each byte has its own address.
Interaction is achieved through a sequence of load or store instructions to
specific memory addresses.
The operands for all arithmetic and logic operations are contained in registers.
To operate on data in main memory, the data is first copied into registers. A
load operation copies data from main memory into a register. A store operation
copies data from a register into main memory.
A typical instruction–execution cycle, as
executed on a system with a von Neumann
architecture, first fetches an instruction from
memory and stores that instruction in the
instruction register. The instruction is then
decoded and may cause operands to be
fetched from memory and stored in some
internal register. After the instruction on the
operands has been executed, the result may be
stored back in memory.
Though its preferred to have all the programs and data to reside in the main
memory, the following constraints are present:
1. Main memory is usually too small to store all needed programs and data
permanently.
2. Main memory is a volatile storage device that loses its contents when power is
turned off or otherwise lost.
Thus, most computer systems provide secondary storage as an extension of
main memory. The main requirement for secondary storage is that it be able to
hold large quantities of data permanently.
The most common secondary-storage device is a magnetic disk, which
provides storage for both programs and data.
Others include cache memory, CD-ROM, magnetic tapes, and so on. Each
storage system provides the basic functions of storing a datum and holding that
datum until it is retrieved at a later time. The main differences among the
various storage systems lie in speed, cost, size, and volatility.
Operating Systems 14CS3503
Operating Systems 14CS3503 EKTA MISHRA, Asst Prof.
I/O Structure
Management of I/O devices is a very important part of the operating system.
The range of devices on a modern computer is hugely varied, from mice,
keyboards, disk drives, display adapters, USB devices, network connections,
audio I/O, printers, special devices for the handicapped etc.
Device drivers are software modules that can be plugged into an OS to handle a
particular device. The Device Controller works like an interface between a
device and a device driver.
Device controller is an intermediary between Device and OS and the Device
driver is an interface between device controller and OS. Device drivers are
modules that can be plugged into an OS to handle a particular device or
category of similar devices.
There is always a device controller and a device driver for each device to
communicate with the Operating Systems. A device controller may be able to
handle multiple devices.
Seven or more devices can be attached to the small computer-systems interface (SCSI)
controller
Operating Sytems 14CS3503 EKTA MISHRA, Asst Prof.
SYCS OS PPT INTRODUCTION LECTURE-01.pdf

More Related Content

Similar to SYCS OS PPT INTRODUCTION LECTURE-01.pdf

Session1 intro to_os
Session1 intro to_osSession1 intro to_os
Session1 intro to_osKalyani Patil
 
Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Amit Gupta
 
OS - Operating System
OS - Operating System OS - Operating System
OS - Operating System MaqdamYasir
 
Operating system
Operating systemOperating system
Operating systemmak120
 
installing and optimizing operating system software
installing and optimizing operating system software   installing and optimizing operating system software
installing and optimizing operating system software Jaleto Sunkemo
 
Lecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionLecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionArnoyKhan
 
STORAGE DEVICES & OPERATING SYSTEM SERVICES
STORAGE DEVICES & OPERATING SYSTEM SERVICESSTORAGE DEVICES & OPERATING SYSTEM SERVICES
STORAGE DEVICES & OPERATING SYSTEM SERVICESAyesha Tahir
 
What is operating system
What is operating systemWhat is operating system
What is operating systemSuvithak
 
operating system over view.ppt operating sysyems
operating system over view.ppt operating sysyemsoperating system over view.ppt operating sysyems
operating system over view.ppt operating sysyemsJyoReddy9
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1sphs
 

Similar to SYCS OS PPT INTRODUCTION LECTURE-01.pdf (20)

Session1 intro to_os
Session1 intro to_osSession1 intro to_os
Session1 intro to_os
 
Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]
 
OS - Operating System
OS - Operating System OS - Operating System
OS - Operating System
 
Spr ch-01
Spr ch-01Spr ch-01
Spr ch-01
 
Ch1
Ch1Ch1
Ch1
 
Operating system
Operating systemOperating system
Operating system
 
installing and optimizing operating system software
installing and optimizing operating system software   installing and optimizing operating system software
installing and optimizing operating system software
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 
Operating System
Operating SystemOperating System
Operating System
 
Lecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionLecture_01 Operating System Course Introduction
Lecture_01 Operating System Course Introduction
 
Cs8493 unit 1
Cs8493 unit 1Cs8493 unit 1
Cs8493 unit 1
 
STORAGE DEVICES & OPERATING SYSTEM SERVICES
STORAGE DEVICES & OPERATING SYSTEM SERVICESSTORAGE DEVICES & OPERATING SYSTEM SERVICES
STORAGE DEVICES & OPERATING SYSTEM SERVICES
 
Ch1
Ch1Ch1
Ch1
 
LEC 1.pptx
LEC 1.pptxLEC 1.pptx
LEC 1.pptx
 
Ch1 - OS.pdf
Ch1 - OS.pdfCh1 - OS.pdf
Ch1 - OS.pdf
 
CH01.pdf
CH01.pdfCH01.pdf
CH01.pdf
 
What is operating system
What is operating systemWhat is operating system
What is operating system
 
Operating system notes pdf
Operating system notes pdfOperating system notes pdf
Operating system notes pdf
 
operating system over view.ppt operating sysyems
operating system over view.ppt operating sysyemsoperating system over view.ppt operating sysyems
operating system over view.ppt operating sysyems
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1
 

Recently uploaded

Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service DewasVip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewasmakika9823
 
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...lizamodels9
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneCall girls in Ahmedabad High profile
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCRsoniya singh
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Marketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet CreationsMarketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet Creationsnakalysalcedo61
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurSuhani Kapoor
 
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts ServiceVip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Serviceankitnayak356677
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechNewman George Leech
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...lizamodels9
 
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiFULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiMalviyaNagarCallGirl
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfmuskan1121w
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 

Recently uploaded (20)

Best Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting PartnershipBest Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting Partnership
 
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service DewasVip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
 
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Marketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet CreationsMarketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet Creations
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
 
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts ServiceVip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman Leech
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
 
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiFULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdf
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 

SYCS OS PPT INTRODUCTION LECTURE-01.pdf

  • 2. What is an Operating System?? An operating system is a program that manages a computer’s hardware. It also provides a basis for application programs and acts as an intermediary between the computer user and the computer hardware. An Operating System (shortly OS) is a set of programs that manage computer hardware resources and provide common services for application software. Based on the need and usage, some operating systems are designed to be , others to be , and others to be some combination of the two. Operating Systems 14CS3503 EKTA MISHRA Asst Prof.
  • 3. Computer System Structure Computer system can be divided into four components: • CPU, memory, I/O devices • Controls and coordinates use of hardware among various applications and users – 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 • People, machines, other computers Operating Systems 14CS3503 EKTA MISHRA, Asst Prof.
  • 4. The dominant desktop operating system is Microsoft Windows with a market share of around 82.74%. macOS by Apple Inc. is in second place (13.23%), and the varieties of Linux are collectively in third place (1.57%).
  • 5. What Operating Systems Do?? In case of a single user system, the operating system is designed mostly for ease of use, with some attention paid to performance and none paid to resource utilization—how various hardware and software resources are shared. In cases, where a user sits at a terminal connected to a mainframe or a minicomputer, the OS is designed to maximize resource utilization— to assure that all available CPU time, memory, and I/O are used efficiently and that no individual user takes more than her fair share. In some cases, users of workstations have dedicated resources, but frequently use shared resources from servers. their operating system is designed to compromise between individual usability and resource utilization. Handheld computers are resource poor, and are optimized for usability and battery life. Some computers have little or no user interface, such as embedded computers in devices and automobiles. The OS are designed to run without human intervention.
  • 6. What Operating Systems Do?? • 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
  • 7. Definition of OS • A more common definition, and the one that we usually follow, is that the operating system is the one program running at all times on the computer—usually called the • Along with the kernel, there are two other types of programs: system programs, which are associated with the operating system but are not necessarily part of the kernel, and application programs, which include all programs not associated with the operation of the system. Operating Systems 14CS3503 EKTA MISHRA, Asst Prof.
  • 8. Computer System Organization A modern general-purpose computer system consists of one or more CPUs and a number of device controllers connected through a common bus that provides access to shared memory. Each device controller is in charge of a specific type of device. The CPU and the device controllers can execute in parallel, competing for memory cycles. To ensure orderly access to the shared memory, a memory controller synchronizes access to the memory. Operating Systems 14CS3503 EKTA MISHRA, Asst Prof.
  • 9. Computer System Operation For a computer to start running, when it is powered up or rebooted—it needs to have an initial program to run called a . It is stored within the computer hardware in or known by the general term firmware. It initializes all aspects of the system, from CPU registers to device controllers to memory contents. To start execution of the OS, the bootstrap program must locate the Operating- system kernel and load into memory. Once the kernel is loaded and executing, it can start providing services to the system and its users. Some services are provided outside of the kernel, by system programs that are loaded into memory at boot time to become system processes, or system daemons that run the entire time the kernel is running. Once this phase is complete, the system is fully booted, and the system waits for some event to occur. Operating Sytems 14CS3503 Mukesh Chinta, Asst Prof, CSE, VRSEC
  • 10. The occurrence of an event is usually signaled by an from either the hardware or the software. Hardware may trigger an interrupt at any time by sending a signal to the CPU, usually by way of the system bus. Software may trigger an interrupt by executing a special operation called a (also called a ). When the CPU is interrupted, it stops what it is doing and immediately transfers execution to a fixed location. The fixed location usually contains the starting address where the service routine for the interrupt is located. The interrupt service routine executes; on completion, the CPU resumes the interrupted computation.
  • 11. Storage Structure The CPU can load instructions only from memory, so any programs to run must be stored there. General-purpose computers run most of their programs from rewritable memory, called (also called or RAM). Main memory commonly is implemented in a semiconductor technology called . Because ROM cannot be changed, only static programs, such as the bootstrap program, are stored there. EEPROM can be changed but cannot be changed frequently and so contains mostly static programs. Operating Systems 14CS3503 EKTA MISHRA, Asst Prof.
  • 12. All forms of memory provide an array of bytes. Each byte has its own address. Interaction is achieved through a sequence of load or store instructions to specific memory addresses. The operands for all arithmetic and logic operations are contained in registers. To operate on data in main memory, the data is first copied into registers. A load operation copies data from main memory into a register. A store operation copies data from a register into main memory. A typical instruction–execution cycle, as executed on a system with a von Neumann architecture, first fetches an instruction from memory and stores that instruction in the instruction register. The instruction is then decoded and may cause operands to be fetched from memory and stored in some internal register. After the instruction on the operands has been executed, the result may be stored back in memory.
  • 13. Though its preferred to have all the programs and data to reside in the main memory, the following constraints are present: 1. Main memory is usually too small to store all needed programs and data permanently. 2. Main memory is a volatile storage device that loses its contents when power is turned off or otherwise lost. Thus, most computer systems provide secondary storage as an extension of main memory. The main requirement for secondary storage is that it be able to hold large quantities of data permanently. The most common secondary-storage device is a magnetic disk, which provides storage for both programs and data. Others include cache memory, CD-ROM, magnetic tapes, and so on. Each storage system provides the basic functions of storing a datum and holding that datum until it is retrieved at a later time. The main differences among the various storage systems lie in speed, cost, size, and volatility. Operating Systems 14CS3503
  • 14.
  • 15. Operating Systems 14CS3503 EKTA MISHRA, Asst Prof.
  • 16.
  • 17. I/O Structure Management of I/O devices is a very important part of the operating system. The range of devices on a modern computer is hugely varied, from mice, keyboards, disk drives, display adapters, USB devices, network connections, audio I/O, printers, special devices for the handicapped etc. Device drivers are software modules that can be plugged into an OS to handle a particular device. The Device Controller works like an interface between a device and a device driver. Device controller is an intermediary between Device and OS and the Device driver is an interface between device controller and OS. Device drivers are modules that can be plugged into an OS to handle a particular device or category of similar devices. There is always a device controller and a device driver for each device to communicate with the Operating Systems. A device controller may be able to handle multiple devices. Seven or more devices can be attached to the small computer-systems interface (SCSI) controller Operating Sytems 14CS3503 EKTA MISHRA, Asst Prof.