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, Application
 Software and Driver Programs
• 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
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
Basic functions of the 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
Operating   recovery
 System
            Memory management
            Allocates the use of random access memory (RAM) to
            requesting processes

            Interface platform
            Allows the computer to run other applications
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       without multiprocessing


       with multiprocessing                      Job 4


                                                 Job 3
               Job 4
                                                 Job 2
time                          Job 3   time

                                                 Job 1
               Job 1          Job 2


          CPU 1        CPU 2                 CPU 1
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?

Was ist angesagt? (20)

Operating system basics
Operating system basicsOperating system basics
Operating system basics
 
Os ppt
Os pptOs ppt
Os ppt
 
Types Of Operating Systems
Types Of Operating SystemsTypes Of Operating Systems
Types Of Operating Systems
 
Function of Operating system
Function of Operating systemFunction of Operating system
Function of Operating system
 
Presentation on operating system
 Presentation on operating system Presentation on operating system
Presentation on operating system
 
operating system
operating systemoperating system
operating system
 
Operating System PPT
Operating System PPTOperating System PPT
Operating System PPT
 
Operating system
Operating system Operating system
Operating system
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Operating systems
Operating systems Operating systems
Operating systems
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating system
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Functions Of Operating Systems
Functions Of Operating SystemsFunctions Of Operating Systems
Functions Of Operating Systems
 
Operating System - Types Of Operating System Unit-1
Operating System - Types Of Operating System Unit-1Operating System - Types Of Operating System Unit-1
Operating System - Types Of Operating System Unit-1
 
Organization of a computer
Organization of a computerOrganization of a computer
Organization of a computer
 
Computer Components
Computer ComponentsComputer Components
Computer Components
 
Ms DOS
Ms DOSMs DOS
Ms DOS
 
Operating System-Types-Examples-Advantages & disadvantages
Operating System-Types-Examples-Advantages & disadvantagesOperating System-Types-Examples-Advantages & disadvantages
Operating System-Types-Examples-Advantages & disadvantages
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 

Ähnlich wie Operating system.ppt (1)

Bca i-fundamental of computer-u-3-functions operating systems
Bca  i-fundamental of  computer-u-3-functions operating systemsBca  i-fundamental of  computer-u-3-functions operating systems
Bca i-fundamental of computer-u-3-functions operating systemsRai University
 
Mca i-fundamental of computer-u-3-functions operating systems
Mca  i-fundamental of  computer-u-3-functions operating systemsMca  i-fundamental of  computer-u-3-functions operating systems
Mca i-fundamental of 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
 
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
 
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
 
Nt introduction(os)
Nt introduction(os)Nt introduction(os)
Nt introduction(os)NehaTadam
 
Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Gaurav Aggarwal
 
introduce computer .pptx
introduce computer .pptxintroduce computer .pptx
introduce computer .pptxSHUJEHASSAN
 
Mba i-ifm-u-3 operating systems
Mba i-ifm-u-3 operating systemsMba i-ifm-u-3 operating systems
Mba i-ifm-u-3 operating systemsRai University
 
Mba i-ifm-u-3 operating systems
Mba i-ifm-u-3 operating systemsMba i-ifm-u-3 operating systems
Mba i-ifm-u-3 operating systemsRai University
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computerSHIKHA GAUTAM
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxakhilagajjala
 
Operating System Unit 1
Operating System Unit 1Operating System Unit 1
Operating System Unit 1SanthiNivas
 
Operating Systems & Applications
Operating Systems & ApplicationsOperating Systems & Applications
Operating Systems & ApplicationsMaulen Bale
 

Ähnlich wie Operating system.ppt (1) (20)

5
55
5
 
Bca i-fundamental of computer-u-3-functions operating systems
Bca  i-fundamental of  computer-u-3-functions operating systemsBca  i-fundamental of  computer-u-3-functions operating systems
Bca i-fundamental of computer-u-3-functions operating systems
 
Mca i-fundamental of computer-u-3-functions operating systems
Mca  i-fundamental of  computer-u-3-functions operating systemsMca  i-fundamental of  computer-u-3-functions operating systems
Mca i-fundamental of 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
 
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
 
Advanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.pptAdvanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.ppt
 
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
 
Operating system
Operating systemOperating system
Operating system
 
Nt introduction(os)
Nt introduction(os)Nt introduction(os)
Nt introduction(os)
 
unit1 part1.ppt
unit1 part1.pptunit1 part1.ppt
unit1 part1.ppt
 
Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)
 
introduce computer .pptx
introduce computer .pptxintroduce computer .pptx
introduce computer .pptx
 
Mba i-ifm-u-3 operating systems
Mba i-ifm-u-3 operating systemsMba i-ifm-u-3 operating systems
Mba i-ifm-u-3 operating systems
 
Mba i-ifm-u-3 operating systems
Mba i-ifm-u-3 operating systemsMba i-ifm-u-3 operating systems
Mba i-ifm-u-3 operating systems
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computer
 
Operating system
Operating systemOperating system
Operating system
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptx
 
Operating System Unit 1
Operating System Unit 1Operating System Unit 1
Operating System Unit 1
 
Operating Systems & Applications
Operating Systems & ApplicationsOperating Systems & Applications
Operating Systems & Applications
 
Operating System 1.pptx
Operating System 1.pptxOperating System 1.pptx
Operating System 1.pptx
 

Mehr von Vaibhav Bajaj (20)

Stroustrup c++0x overview
Stroustrup c++0x overviewStroustrup c++0x overview
Stroustrup c++0x overview
 
P smile
P smileP smile
P smile
 
Ppt history-of-apple2203 (1)
Ppt history-of-apple2203 (1)Ppt history-of-apple2203 (1)
Ppt history-of-apple2203 (1)
 
Os
OsOs
Os
 
Oop1
Oop1Oop1
Oop1
 
Mem hierarchy
Mem hierarchyMem hierarchy
Mem hierarchy
 
Database
DatabaseDatabase
Database
 
C++0x
C++0xC++0x
C++0x
 
Blu ray disc slides
Blu ray disc slidesBlu ray disc slides
Blu ray disc slides
 
Assembler
AssemblerAssembler
Assembler
 
Assembler (2)
Assembler (2)Assembler (2)
Assembler (2)
 
Projection of solids
Projection of solidsProjection of solids
Projection of solids
 
Projection of planes
Projection of planesProjection of planes
Projection of planes
 
Ortographic projection
Ortographic projectionOrtographic projection
Ortographic projection
 
Isometric
IsometricIsometric
Isometric
 
Intersection 1
Intersection 1Intersection 1
Intersection 1
 
Important q
Important qImportant q
Important q
 
Eg o31
Eg o31Eg o31
Eg o31
 
Development of surfaces of solids
Development of surfaces of solidsDevelopment of surfaces of solids
Development of surfaces of solids
 
Development of surfaces of solids copy
Development of surfaces of solids   copyDevelopment of surfaces of solids   copy
Development of surfaces of solids copy
 

Kürzlich hochgeladen

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Kürzlich hochgeladen (20)

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 

Operating system.ppt (1)

  • 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, Application Software and Driver Programs • 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
  • 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. Basic functions of the 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 Operating recovery System Memory management Allocates the use of random access memory (RAM) to requesting processes Interface platform Allows the computer to run other applications
  • 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 without multiprocessing with multiprocessing Job 4 Job 3 Job 4 Job 2 time Job 3 time Job 1 Job 1 Job 2 CPU 1 CPU 2 CPU 1
  • 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