SlideShare a Scribd company logo
1 of 30
Operating System
Architecture of Computer System
Hardware
Operating System (OS)
Programming Language (e.g. PASCAL)
Application Programs (e.g. WORD, EXCEL)
Detail Layered View of Computer
• System Software- Performs essential operation tasks
– Operating system
– Utility programs
• Application Software - Performs specific tasks for users
– Business application
– Communications application
– Multimedia application
– Entertainment and educational software
• Driver Programs (Device Driver)
– small program that allows a specific input or output
device to communicate with the rest of the computer
system
System Software, Application
Software and Driver Programs
3 type of programs
• user / application programs
– programs used by the users to perform a task
• system programs
– an interface between user and computer
• driver programs
– communicate I/O devices with computer
Hierarchy of computer software
Program Hierarchy
User 1 User 2 User 3 User n.............
electronic computer text editor database
system spreadsheet game
Operating System
Computer
Hardware
Operating System
• a collection of programs which control the
resources of a computer system
• written in low-level languages (i.e.
machine-dependent)
• an interface between the users and the
hardware
• when the computer is on, OS will first load
into the main memory
Operating
System
Device configuration
Controls peripheral devices connected to the computer
File management
Transfers files between main memory and secondary
storage, manages file folders, allocates the secondary
storage space, and provides file protection and
recovery
Memory management
Allocates the use of random access memory (RAM) to
requesting processes
Interface platform
Allows the computer to run other applications
Basic functions of the operating
system
Other function of Operating
System
• best use of the computer resources
• provide a background for user’s programs
to execute
• display and deal with errors when it
happens
• control the selection and operation of the
peripherals
• act as a communication link between users
• system protection
Common Operating Systems and
Their Differences
• Network Operating System
– UNIX / Linux / MS Windows2000 Server
• Desktop Operating System
– MS Windows 9X/Me / Mac OS / DOS
• Mobile Operating System
– Palm OS and Pocket PC
Examples
• Common operating systems
– WINDOW
• used in IBM compatible microcomputers
– UNIX
• multi-user, multi-tasking OS used in minicomputers
and microcomputers
– VAX/VMS
• used in DEC’s VAX series of minicomputers
DOS interface
GUI
Different Types of Operating System
Cross-Platform Issues
• Cross-Platform
– developing software for, or running software, on more
than one type of operating platform.
• Machine-independent Programming Languages
– JVM
• Makeup Languages
– HTML
– XML
• Advantages
– cost-effective
– saves time
– develop the program on different computers
Disk Operating System (DOS)
• a part of operating system to control disk
operation
• 2 parts
– small system data
• keep track of key information of the disk
– data area
• where data file is stored
SMALL SYSTEM AREA in DOS
• 3 parts
– boot/boot record
• i.e. a short program for loading DOS into
computer’s memory
– file allocation table (FAT)
• i.e. record the status of each part of the disk and
keep track of all data
– root directory
• i.e. record the filename, size of the file , date and
time
Good Operating System
• efficient
– time spent to execute its programs should be
short
• small in size
– memory occupied should be as small as
possible
• reliable
Type of Operating System
• Batch processing
• Real time processing
• Time sharing processing
Batch processing
• Jobs, together with input data, are fed into
the system in a batch.
• The jobs are then run one after another.
• No job can be started until previous job is
completed
Real time processing
• immediate response is needed.
• For example
– anti-missile defense system
– airplane landing control system
– interrupt error in computer system
Time sharing processing
• Each user is given a time slice to interact
with the CPU.
• The size of the time slice will depend on the
system.
• Each user is served in sequence.
Special Features of OS
• multi-tasking
• multi-programming
• parallel processing
• buffering
• spooling
Multi-tasking
• to handle 2 or more programs at the same
time from a single user ‘s perception
– CPU can only perform one task at a time,
however, it runs so fast that 2 or more jobs
seem to execute at the same time
Multi-programming
• 2 or more programs store in the main
memory at the same time
• when one job reeds to wait (e.g. I/O
operation), CPU switch to another job to
execute
• when the first job finishes waiting, CPU
will get back the first job to execute
Parallel Processing
• use 2 or more CPUs to handle jobs
• computer networking
Job 1 Job 2
Job 3
Job 4
Job 1
Job 2
Job 3
Job 4
CPU 1 CPU 2 CPU 1
time time
without multiprocessing
with multiprocessing
Buffering
• a temporary storage area (buffers) to read
data from input device or send data to the
output device
• keep CPU busy
– because I/O operation is slow
Spooling
• a larger buffer from hard disk
• buffer store the data through I/O operation
– because I/O operation is slow and CPU
operation is fast

More Related Content

What's hot

Operating system introducton and tyes
Operating system introducton and tyesOperating system introducton and tyes
Operating system introducton and tyesNancy Verma
 
Introduction to Operating system CBSE
Introduction to Operating system CBSE Introduction to Operating system CBSE
Introduction to Operating system CBSE PrashantChahal3
 
ITFT_Device management in Operating System
ITFT_Device management in Operating SystemITFT_Device management in Operating System
ITFT_Device management in Operating SystemSneh Prabha
 
fundamental of computer-u-1-computer hardware system
fundamental of  computer-u-1-computer hardware systemfundamental of  computer-u-1-computer hardware system
fundamental of computer-u-1-computer hardware systemRai University
 
Unit 1 introduction to os
Unit 1 introduction to osUnit 1 introduction to os
Unit 1 introduction to osGaneshThapa27
 
Multiprogramming&timesharing
Multiprogramming&timesharingMultiprogramming&timesharing
Multiprogramming&timesharingTanuj Tyagi
 
Nt introduction(os)
Nt introduction(os)Nt introduction(os)
Nt introduction(os)NehaTadam
 
Operating system
Operating systemOperating system
Operating systemSonika koul
 
The operating system
The operating systemThe operating system
The operating system11jonesjordan
 
System programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniSystem programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniHardik Nathani
 

What's hot (15)

Operating system introducton and tyes
Operating system introducton and tyesOperating system introducton and tyes
Operating system introducton and tyes
 
Os ppt
Os pptOs ppt
Os ppt
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Introduction to Operating system CBSE
Introduction to Operating system CBSE Introduction to Operating system CBSE
Introduction to Operating system CBSE
 
ITFT_Device management in Operating System
ITFT_Device management in Operating SystemITFT_Device management in Operating System
ITFT_Device management in Operating System
 
fundamental of computer-u-1-computer hardware system
fundamental of  computer-u-1-computer hardware systemfundamental of  computer-u-1-computer hardware system
fundamental of computer-u-1-computer hardware system
 
Unit 1 introduction to os
Unit 1 introduction to osUnit 1 introduction to os
Unit 1 introduction to os
 
Multiprogramming&timesharing
Multiprogramming&timesharingMultiprogramming&timesharing
Multiprogramming&timesharing
 
Nt introduction(os)
Nt introduction(os)Nt introduction(os)
Nt introduction(os)
 
Operating system
Operating systemOperating system
Operating system
 
The operating system
The operating systemThe operating system
The operating system
 
Presentation simulation
Presentation simulationPresentation simulation
Presentation simulation
 
OPERATING SYSTEM
OPERATING SYSTEMOPERATING SYSTEM
OPERATING SYSTEM
 
System programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniSystem programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathani
 
Multitasking
MultitaskingMultitasking
Multitasking
 

Similar to OS Architecture, Software Layers, and System Functions

Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)Vaibhav Bajaj
 
Bba i-introduction to computer-u-3-functions operating systems
Bba  i-introduction to computer-u-3-functions operating systemsBba  i-introduction to computer-u-3-functions operating systems
Bba i-introduction to computer-u-3-functions operating systemsRai University
 
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsBsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsRai University
 
Introduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxIntroduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxssuserf7df42
 
Unit 1 operating system
Unit 1 operating systemUnit 1 operating system
Unit 1 operating systemMeeta
 
Operating System
Operating SystemOperating System
Operating Systempuneet2home
 
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...naikayushkumar32
 
Foundation of information system - Software
Foundation of information system - SoftwareFoundation of information system - Software
Foundation of information system - Softwarerh8g7p44p7
 
Operation Java games apps systems presentation
Operation Java games apps systems presentationOperation Java games apps systems presentation
Operation Java games apps systems presentationnofove2839
 

Similar to OS Architecture, Software Layers, and System Functions (20)

Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
 
Bba i-introduction to computer-u-3-functions operating systems
Bba  i-introduction to computer-u-3-functions operating systemsBba  i-introduction to computer-u-3-functions operating systems
Bba i-introduction to computer-u-3-functions operating systems
 
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsBsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systems
 
Chap2
Chap2Chap2
Chap2
 
Operating system
Operating systemOperating system
Operating system
 
Operatingsystem
Operatingsystem Operatingsystem
Operatingsystem
 
Operating system
Operating systemOperating system
Operating system
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
Advanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.pptAdvanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.ppt
 
os_1.pdf
os_1.pdfos_1.pdf
os_1.pdf
 
Introduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxIntroduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptx
 
Operating System 1.pptx
Operating System 1.pptxOperating System 1.pptx
Operating System 1.pptx
 
Unit 1 operating system
Unit 1 operating systemUnit 1 operating system
Unit 1 operating system
 
Operating System
Operating SystemOperating System
Operating System
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
 
Foundation of information system - Software
Foundation of information system - SoftwareFoundation of information system - Software
Foundation of information system - Software
 
systems_software
systems_softwaresystems_software
systems_software
 
Operation Java games apps systems presentation
Operation Java games apps systems presentationOperation Java games apps systems presentation
Operation Java games apps systems presentation
 
Software introduction
Software introductionSoftware introduction
Software introduction
 

Recently uploaded

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 

OS Architecture, Software Layers, and System Functions

  • 2. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
  • 3. Detail Layered View of Computer
  • 4. • System Software- Performs essential operation tasks – Operating system – Utility programs • Application Software - Performs specific tasks for users – Business application – Communications application – Multimedia application – Entertainment and educational software • Driver Programs (Device Driver) – small program that allows a specific input or output device to communicate with the rest of the computer system System Software, Application Software and Driver Programs
  • 5. 3 type of programs • user / application programs – programs used by the users to perform a task • system programs – an interface between user and computer • driver programs – communicate I/O devices with computer
  • 7. Program Hierarchy User 1 User 2 User 3 User n............. electronic computer text editor database system spreadsheet game Operating System Computer Hardware
  • 8. Operating System • a collection of programs which control the resources of a computer system • written in low-level languages (i.e. machine-dependent) • an interface between the users and the hardware • when the computer is on, OS will first load into the main memory
  • 9. Operating System Device configuration Controls peripheral devices connected to the computer File management Transfers files between main memory and secondary storage, manages file folders, allocates the secondary storage space, and provides file protection and recovery Memory management Allocates the use of random access memory (RAM) to requesting processes Interface platform Allows the computer to run other applications Basic functions of the operating system
  • 10. Other function of Operating System • best use of the computer resources • provide a background for user’s programs to execute • display and deal with errors when it happens • control the selection and operation of the peripherals • act as a communication link between users • system protection
  • 11. Common Operating Systems and Their Differences • Network Operating System – UNIX / Linux / MS Windows2000 Server • Desktop Operating System – MS Windows 9X/Me / Mac OS / DOS • Mobile Operating System – Palm OS and Pocket PC
  • 12. Examples • Common operating systems – WINDOW • used in IBM compatible microcomputers – UNIX • multi-user, multi-tasking OS used in minicomputers and microcomputers – VAX/VMS • used in DEC’s VAX series of minicomputers
  • 14. GUI
  • 15. Different Types of Operating System
  • 16. Cross-Platform Issues • Cross-Platform – developing software for, or running software, on more than one type of operating platform. • Machine-independent Programming Languages – JVM • Makeup Languages – HTML – XML • Advantages – cost-effective – saves time – develop the program on different computers
  • 17. Disk Operating System (DOS) • a part of operating system to control disk operation • 2 parts – small system data • keep track of key information of the disk – data area • where data file is stored
  • 18. SMALL SYSTEM AREA in DOS • 3 parts – boot/boot record • i.e. a short program for loading DOS into computer’s memory – file allocation table (FAT) • i.e. record the status of each part of the disk and keep track of all data – root directory • i.e. record the filename, size of the file , date and time
  • 19. Good Operating System • efficient – time spent to execute its programs should be short • small in size – memory occupied should be as small as possible • reliable
  • 20. Type of Operating System • Batch processing • Real time processing • Time sharing processing
  • 21. Batch processing • Jobs, together with input data, are fed into the system in a batch. • The jobs are then run one after another. • No job can be started until previous job is completed
  • 22. Real time processing • immediate response is needed. • For example – anti-missile defense system – airplane landing control system – interrupt error in computer system
  • 23. Time sharing processing • Each user is given a time slice to interact with the CPU. • The size of the time slice will depend on the system. • Each user is served in sequence.
  • 24.
  • 25. Special Features of OS • multi-tasking • multi-programming • parallel processing • buffering • spooling
  • 26. Multi-tasking • to handle 2 or more programs at the same time from a single user ‘s perception – CPU can only perform one task at a time, however, it runs so fast that 2 or more jobs seem to execute at the same time
  • 27. Multi-programming • 2 or more programs store in the main memory at the same time • when one job reeds to wait (e.g. I/O operation), CPU switch to another job to execute • when the first job finishes waiting, CPU will get back the first job to execute
  • 28. Parallel Processing • use 2 or more CPUs to handle jobs • computer networking Job 1 Job 2 Job 3 Job 4 Job 1 Job 2 Job 3 Job 4 CPU 1 CPU 2 CPU 1 time time without multiprocessing with multiprocessing
  • 29. Buffering • a temporary storage area (buffers) to read data from input device or send data to the output device • keep CPU busy – because I/O operation is slow
  • 30. Spooling • a larger buffer from hard disk • buffer store the data through I/O operation – because I/O operation is slow and CPU operation is fast