SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Kürzlich hochgeladen (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
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
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

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