SlideShare una empresa de Scribd logo
1 de 47
Ch. 3 – Operating Systems

CS 1 Introduction to Computers and Computer
                 Technology
                Rick Graziani
                 Spring 2012
Software




Rick Graziani graziani@cabrillo.edu   2
Software




• Application software: Programs for performing a specific task
     – Word processing, spreadsheets, gaming, web page design, graphic design
•   System software:
     – Operating software: Software that controls the overall operation of the
        computer
          • (more next)
     – Utility software: Software that extends or customizes the capabilities of
        the operating system
          • Formatting
          • compress/decompress data
          • network communications
•   Distinction between Application and System software can be vague.
     – Anti-trust and unfair business practice lawsuits against Microsoft have
        been filed over the years.
Rick Graziani graziani@cabrillo.edu                                                3
Operating System Software

• Operating System (OS) – Software that controls the overall operation
    of a computer




Rick Graziani graziani@cabrillo.edu                                      4
What is an operating system (OS)?

Operating System Software

Software which manages the overall operation of the computer system
  including:
• hardware (CPU, RAM, I/O)
• security
• system interface
• application interface




Rick Graziani graziani@cabrillo.edu                                   5
What is an operating system (OS)?




Rick Graziani graziani@cabrillo.edu   6
The User’s View




Rick Graziani graziani@cabrillo.edu   7
Rick Graziani graziani@cabrillo.edu   8
What “is” an operating system?

Software files (programs) which are stored on the hard disk
• kernel with the internal programs
• external programs

Supporting Data Files




Rick Graziani graziani@cabrillo.edu                           9
The kernel
 The operating system software file (program) which is copied into
   RAM, usually from the hard disk drive, during the boot-up.

 The kernel remains in RAM while the computer is on and is in
   charge of the overall operation of the computer system.

 The kernel contains the “internal programs” for the most often used
   operations like copying files.

 • kmem (Linux)
 • command.exe (Microsoft)




Rick Graziani graziani@cabrillo.edu                                    10
Kernel




• Kernel – The internal part of the operating system.
      – Those software components that perform the basic functions
        required by the computer.
          • File management
          • Memory management (RAM)
          • Security
Rick Graziani graziani@cabrillo.edu                                  11
The functions of an operating system

1. Manages and Interacts with Computer Hardware

2. Provides and Manages System Security

3. Provides the System Interface

4. Provides the Interface for Application Software




Rick Graziani graziani@cabrillo.edu                  12
1. Manages and Interacts with Computer Hardware


• Manages the CPU
    - What software programs the
      CPU works on and when

• Manages RAM
    - What is stored in RAM and
      where it is stored
    - Virtual memory
    - OS will send message when
      RAM is full



Rick Graziani graziani@cabrillo.edu               13
1. Manages and Interacts with Computer Hardware
  (continued)

• Provides the interface for
   storage devices and manages
   how data is stored on those
   devices
   - in charge of formatting disks
   - creates sectors and clusters
   - creates F.A.T. or V.T.O.C.
   - sends message when disk is
     full or there is some other
     problem with writing data to
     the disk
 - virtual memory
 - CD-ROM, DVD-ROM
 - Flash drive

 Rick Graziani graziani@cabrillo.edu                14
1. Manages and Interacts with Computer Hardware
(continued)

• Provides the Interface for Input
    and Output Devices
     – keyboard, mouse, printer,
     – device drivers = software
       programs which allow the
       hardware device to be used
       by the operating system and
       by application software




 Rick Graziani graziani@cabrillo.edu              15
Preemptive Multitasking vs Cooperative Multitasking

Cooperative Multitasking
OS gives CPU processing
  time to other programs at a
  logical point, usually during
  idle time

Preemptive Multitasking
OS allocates CPU time
  between the different
  programs based on amount
  of time and priority of the
  software application


Rick Graziani graziani@cabrillo.edu                   16
Multiprocessing with Multiple CPU’s
   Asymmetric Multiprocessing = Tasks are assigned to a specific
     CPU and each CPU has its own RAM memory

   Symmetric Multiprocessing = Tasks are assigned to any
     available CPU and CPU’s can share RAM memory




Rick Graziani graziani@cabrillo.edu                                17
Processes

• Scheduler – Maintains a record
    of the processes.
     – Adds new processes when
        launched.
     – Removes old processes
        when completed.
     – Uses a process table.
•   Process Table – Information
    about each process including:
     – Main memory cells (RAM)
     – Priority
     – Running or waiting (input
        from user or saving to disk)



Rick Graziani graziani@cabrillo.edu    18
• Viewing processes with Microsoft Windows
• Task Bar – Right-click, Task Manager
• Ending a process – Killing the process
Rick Graziani graziani@cabrillo.edu          19
Processes

• Dispatcher - Oversees
    the execution of each
    process by the CPU.
     – Gives each process a
       time slice of CPU time.
     – Changes between
       processes.




Rick Graziani graziani@cabrillo.edu   20
Server (Multiuser) Operating Systems
• Found on mainframes, minicomputers and PCs
• server = a computer which processes information (CPU and
     RAM) , stores information (hard disk), and/or provides access
     to peripheral devices (printers) for multiple users
      – Email
      – Web
      – Gaming




Rick Graziani graziani@cabrillo.edu                                  21
Examples of Server Operating
Systems
• MAC OS X Server
• Windows Server




Rick Graziani graziani@cabrillo.edu   22
Advantages/Disadvantages of Server Operating
Systems

Advantages
• Central location for the
  installation and administration
  of all software and data
• More cost effective - less
  expensive than multiple
  computers (PCs, Macs)

Disadvantages
• Single source for possible
   problems
• Loss of individual user control
   of their own software, data, and
   peripherals



 Rick Graziani graziani@cabrillo.edu           23
Virtual Memory




Virtual Memory (VM) = the ability of the CPU and the operating
     system software to use the hard disk drive as additional RAM when
     needed (safety net)
Good – no longer get “insufficient memory” error
Bad - performance is very slow when accessing VM
Solution = more RAM
Rick Graziani graziani@cabrillo.edu                                      24
Virtual Memory




Rick Graziani graziani@cabrillo.edu   25
2. Provides and Manages System Security

Single-user Operating Systems
• minimal security
• user has full authority

Server Operating Systems
• login and password capability
• protection of user’s data
  stored on the server’s central
  hard disk drives
• protection and security for
  software programs




Rick Graziani graziani@cabrillo.edu       26
3. Provides the System Interface

System Interface or shell =
  the interface between the
  user and the computer

Command Line Interface (CLI)
• Linux, UNIX, DOS, older
  OS’s




Graphical User Interface (GUI)


 Rick Graziani graziani@cabrillo.edu   27
Command Line Interface
DOS, UNIX, others




Rick Graziani graziani@cabrillo.edu   28
DOS plus Windows 3.1




Rick Graziani graziani@cabrillo.edu   29
Windows 95




Rick Graziani graziani@cabrillo.edu   30
Windows XP




Rick Graziani graziani@cabrillo.edu   31
Macintosh




Rick Graziani graziani@cabrillo.edu   32
Mac OS X




Rick Graziani graziani@cabrillo.edu   33
UNIX with X-Windows




Rick Graziani graziani@cabrillo.edu   34
Microsoft Windows 8




Rick Graziani graziani@cabrillo.edu   35
4. Provides the Interface for Application Software

• Operating systems are software

• Operating systems are designed
    and developed for a specific CPU
    or “family of CPUs”
     – Macintosh OS: Motorola
       680xx, PowerPC Gx, Intel
     – DOS: Intel CPUs
     – Windows 9x and XP: Intel
       80386, 80486, and Pentium
       CPUs
     – Linux: Intel CPUs
     – MS NT & 2000: Intel CPUs


 Rick Graziani graziani@cabrillo.edu                 36
4. Provides the Interface for Application
Software (continued)

• Application software is developed
    for an operating system

MS Word for Windows XP
• Windows XP
• Intel CPU

MS Word for the Macintosh
• Macintosh OS X
• Gx CPU or Intel CPU


 Rick Graziani graziani@cabrillo.edu        37
Compatibility
   Question
   Will software developed for one operating system work on
      another? Will MS Word for Macintosh run on a PC with
      Windows XP?
   Answer
   No (unless there is special emulation software or hardware). The
      software must be developed separately for each operating
      system.
   Much of this is beginning to change with MAC using the Intel CPU.




Rick Graziani graziani@cabrillo.edu                                    38
Order of Development

1. The CPU



2. Other Hardware
   Components



3. Operating System
   Software



4. Application Software
Rick Graziani graziani@cabrillo.edu   39
History of Operating Systems
1940’s – 1950’s
• Each program (job) required significant
   preparation of equipment.
     – Mounting tapes
     – Loading punch cards
• Computer Operator – Person who
   operated the computer.
     – Mount tapes
     – Load punch cards
     – Take printouts off of printer
• Batch processing – The execution of
   jobs by collecting them in a single
   batch, the executing them without
   further interaction with the user.




Rick Graziani graziani@cabrillo.edu         40
History of Operating Systems
• Job queue – Jobs residing in mass
    storage (hard disk drives, tape)
    waiting for execution.
     – FIFO (First-In, First-Out)
     – Job Priorities and scheduling
•   Job Control Language (JCL) –
    Set of instructions explaining the
    steps of a particular job.
     – Operating system sent these to
        the printer
     – Computer Operator follows the
        instructions




Rick Graziani graziani@cabrillo.edu      41
History of Operating Systems
• Disadvantage to Batch Processing
    – No interaction with the user.
•   Fine for software that does not need
    user interaction:
     – Payroll systems (creating checks)
     – Reporting systems
•   Does not work well for other types of
    software:
     – Word processing
     – Reservation systems
     – Gaming




Rick Graziani graziani@cabrillo.edu         42
History of Operating Systems
• Newer Operating Systems
• Used remote terminals and
    interactive processing
     – Computer must be fast enough to
        coordinate with the needs of the
        user.
•   Real-time processing - Computer
    must execute tasks under a deadline.
•   Time sharing – Provides service to
    multiple users at the same time.
     – Multiprogramming - Time
        divided into intervals.
•   Multitasking – One user executing
    numerous tasks (programs)
    simultaneously




Rick Graziani graziani@cabrillo.edu        43
Today’s Operating Systems
• Today’s CPUs (multiprocessors)
   – Multiple processors
   – Load balancing
          • Dynamically allocating
              tasks to the various
              processors so that all
              processors are used
              efficiently.
   – Scaling
          • Breaking tasks into a
              number of subtasks
              equal to the number of
              processors available.
   – The Network (Internet)
          • Becoming a single
              network-wide operating
              system rather than a
              network of individual
              operating systems.
   Rick Graziani graziani@cabrillo.edu   44
• 3D operating system
• http://www.youtube.com/watch?v=RZcJOZC38iQ

• Prototype
• http://www.youtube.com/watch?v=k_CSRoA0MkA




   Rick Graziani graziani@cabrillo.edu         45
•http://www.youtube.com/watch?v=ae_DKNwK_ms
•http://www.youtube.com/watch?v=UorIwPZU_eg




Rick Graziani graziani@cabrillo.edu           46
Ch. 3 – Operating Systems

CS 1 Introduction to Computers and Computer
                 Technology
                Rick Graziani
                 Spring 2012

Más contenido relacionado

La actualidad más candente

Lesson 1 - Introducing, Installing, and Upgrading Windows 7
Lesson 1 - Introducing, Installing, and Upgrading Windows 7Lesson 1 - Introducing, Installing, and Upgrading Windows 7
Lesson 1 - Introducing, Installing, and Upgrading Windows 7Gene Carboni
 
Operating system &utility program
Operating system &utility programOperating system &utility program
Operating system &utility programDhani Ahmad
 
Chapter 8 Operating Systems And Utility Programs
Chapter 8 Operating Systems And Utility ProgramsChapter 8 Operating Systems And Utility Programs
Chapter 8 Operating Systems And Utility Programsnorzaini
 
1 5 system software and computer management
1 5 system software and computer management1 5 system software and computer management
1 5 system software and computer managementQondileRamokgadi
 
Operating Systems FYBSC IT UNIT I- Introduction to Operating Systems
Operating Systems FYBSC IT UNIT I- Introduction to Operating SystemsOperating Systems FYBSC IT UNIT I- Introduction to Operating Systems
Operating Systems FYBSC IT UNIT I- Introduction to Operating SystemsArti Parab Academics
 
Operating Systems and Utility Programs
Operating Systems and Utility ProgramsOperating Systems and Utility Programs
Operating Systems and Utility ProgramsSamudin Kassan
 
Operating System & Utility Programme
Operating System & Utility ProgrammeOperating System & Utility Programme
Operating System & Utility Programmebbp2067
 
Operating System And Utility Program
Operating System And Utility ProgramOperating System And Utility Program
Operating System And Utility ProgramVicq Chibi'sLover
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and WindowsYasirKhan357
 
Selecting and Installing Operating System
Selecting and Installing Operating SystemSelecting and Installing Operating System
Selecting and Installing Operating SystemAmir Villas
 

La actualidad más candente (19)

Operating systems
Operating systemsOperating systems
Operating systems
 
Lesson 1 - Introducing, Installing, and Upgrading Windows 7
Lesson 1 - Introducing, Installing, and Upgrading Windows 7Lesson 1 - Introducing, Installing, and Upgrading Windows 7
Lesson 1 - Introducing, Installing, and Upgrading Windows 7
 
Operating system &utility program
Operating system &utility programOperating system &utility program
Operating system &utility program
 
Fundamental
FundamentalFundamental
Fundamental
 
Computing 8
Computing 8Computing 8
Computing 8
 
Operating system
Operating system Operating system
Operating system
 
Lab 2 software
Lab 2   softwareLab 2   software
Lab 2 software
 
Chapter 8 Operating Systems And Utility Programs
Chapter 8 Operating Systems And Utility ProgramsChapter 8 Operating Systems And Utility Programs
Chapter 8 Operating Systems And Utility Programs
 
Ict 5
Ict 5Ict 5
Ict 5
 
1 5 system software and computer management
1 5 system software and computer management1 5 system software and computer management
1 5 system software and computer management
 
Week 6
Week 6Week 6
Week 6
 
Operating Systems FYBSC IT UNIT I- Introduction to Operating Systems
Operating Systems FYBSC IT UNIT I- Introduction to Operating SystemsOperating Systems FYBSC IT UNIT I- Introduction to Operating Systems
Operating Systems FYBSC IT UNIT I- Introduction to Operating Systems
 
Operating Systems and Utility Programs
Operating Systems and Utility ProgramsOperating Systems and Utility Programs
Operating Systems and Utility Programs
 
Operating System & Utility Programme
Operating System & Utility ProgrammeOperating System & Utility Programme
Operating System & Utility Programme
 
Operating System And Utility Program
Operating System And Utility ProgramOperating System And Utility Program
Operating System And Utility Program
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and Windows
 
Selecting and Installing Operating System
Selecting and Installing Operating SystemSelecting and Installing Operating System
Selecting and Installing Operating System
 
K04 software
K04 softwareK04 software
K04 software
 
systems_software
systems_softwaresystems_software
systems_software
 

Destacado (6)

CCNA- part 9 isdn
CCNA- part 9 isdnCCNA- part 9 isdn
CCNA- part 9 isdn
 
Isdn y rdsi comparacion ventajas y desventajas
Isdn y rdsi comparacion ventajas y desventajasIsdn y rdsi comparacion ventajas y desventajas
Isdn y rdsi comparacion ventajas y desventajas
 
Spanning Tree Protocol
Spanning Tree ProtocolSpanning Tree Protocol
Spanning Tree Protocol
 
Isdn
IsdnIsdn
Isdn
 
Bgp Basic Labs
Bgp Basic LabsBgp Basic Labs
Bgp Basic Labs
 
Integrated services digital network (isdn)
Integrated services digital network (isdn)Integrated services digital network (isdn)
Integrated services digital network (isdn)
 

Similar a 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 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
 
Uc14 chap05
Uc14 chap05Uc14 chap05
Uc14 chap05ayahye
 
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
 
Chapter 1-2 _ Operating Systems.pdf
Chapter 1-2 _ Operating Systems.pdfChapter 1-2 _ Operating Systems.pdf
Chapter 1-2 _ Operating Systems.pdfAfendeyAthurJinir
 
Foundation of information system - Software
Foundation of information system - SoftwareFoundation of information system - Software
Foundation of information system - Softwarerh8g7p44p7
 
Systems and Applications.pptx
Systems and Applications.pptxSystems and Applications.pptx
Systems and Applications.pptxMonaNashaat3
 
software system and application software
software system and application softwaresoftware system and application software
software system and application softwareCyriac Jose
 
IS740 Chapter 04
IS740 Chapter 04IS740 Chapter 04
IS740 Chapter 04iDocs
 
Trends and technologies in system softwares
Trends and technologies in system softwaresTrends and technologies in system softwares
Trends and technologies in system softwaresTech_MX
 
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
 
Operating System Unit 1
Operating System Unit 1Operating System Unit 1
Operating System Unit 1SanthiNivas
 

Similar a Operating Systems (20)

Operating systems
Operating systemsOperating systems
Operating systems
 
Cs1 3-operating systems
Cs1 3-operating systemsCs1 3-operating systems
Cs1 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
 
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
 
Uc14 chap05
Uc14 chap05Uc14 chap05
Uc14 chap05
 
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
 
Chapter 1-2 _ Operating Systems.pdf
Chapter 1-2 _ Operating Systems.pdfChapter 1-2 _ Operating Systems.pdf
Chapter 1-2 _ Operating Systems.pdf
 
Ch 2
Ch 2Ch 2
Ch 2
 
Foundation of information system - Software
Foundation of information system - SoftwareFoundation of information system - Software
Foundation of information system - Software
 
Systems and Applications.pptx
Systems and Applications.pptxSystems and Applications.pptx
Systems and Applications.pptx
 
software system and application software
software system and application softwaresoftware system and application software
software system and application software
 
Unit i fundamentals
Unit i fundamentalsUnit i fundamentals
Unit i fundamentals
 
IS740 Chapter 04
IS740 Chapter 04IS740 Chapter 04
IS740 Chapter 04
 
Trends and technologies in system softwares
Trends and technologies in system softwaresTrends and technologies in system softwares
Trends and technologies in system softwares
 
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
 
Software
SoftwareSoftware
Software
 
computer basics
computer basicscomputer basics
computer basics
 
Operating System Unit 1
Operating System Unit 1Operating System Unit 1
Operating System Unit 1
 
Operating system
Operating systemOperating system
Operating system
 

Último

Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
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
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"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
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Último (20)

Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
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
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"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...
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
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
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

Operating Systems

  • 1. Ch. 3 – Operating Systems CS 1 Introduction to Computers and Computer Technology Rick Graziani Spring 2012
  • 3. Software • Application software: Programs for performing a specific task – Word processing, spreadsheets, gaming, web page design, graphic design • System software: – Operating software: Software that controls the overall operation of the computer • (more next) – Utility software: Software that extends or customizes the capabilities of the operating system • Formatting • compress/decompress data • network communications • Distinction between Application and System software can be vague. – Anti-trust and unfair business practice lawsuits against Microsoft have been filed over the years. Rick Graziani graziani@cabrillo.edu 3
  • 4. Operating System Software • Operating System (OS) – Software that controls the overall operation of a computer Rick Graziani graziani@cabrillo.edu 4
  • 5. What is an operating system (OS)? Operating System Software Software which manages the overall operation of the computer system including: • hardware (CPU, RAM, I/O) • security • system interface • application interface Rick Graziani graziani@cabrillo.edu 5
  • 6. What is an operating system (OS)? Rick Graziani graziani@cabrillo.edu 6
  • 7. The User’s View Rick Graziani graziani@cabrillo.edu 7
  • 9. What “is” an operating system? Software files (programs) which are stored on the hard disk • kernel with the internal programs • external programs Supporting Data Files Rick Graziani graziani@cabrillo.edu 9
  • 10. The kernel The operating system software file (program) which is copied into RAM, usually from the hard disk drive, during the boot-up. The kernel remains in RAM while the computer is on and is in charge of the overall operation of the computer system. The kernel contains the “internal programs” for the most often used operations like copying files. • kmem (Linux) • command.exe (Microsoft) Rick Graziani graziani@cabrillo.edu 10
  • 11. Kernel • Kernel – The internal part of the operating system. – Those software components that perform the basic functions required by the computer. • File management • Memory management (RAM) • Security Rick Graziani graziani@cabrillo.edu 11
  • 12. The functions of an operating system 1. Manages and Interacts with Computer Hardware 2. Provides and Manages System Security 3. Provides the System Interface 4. Provides the Interface for Application Software Rick Graziani graziani@cabrillo.edu 12
  • 13. 1. Manages and Interacts with Computer Hardware • Manages the CPU - What software programs the CPU works on and when • Manages RAM - What is stored in RAM and where it is stored - Virtual memory - OS will send message when RAM is full Rick Graziani graziani@cabrillo.edu 13
  • 14. 1. Manages and Interacts with Computer Hardware (continued) • Provides the interface for storage devices and manages how data is stored on those devices - in charge of formatting disks - creates sectors and clusters - creates F.A.T. or V.T.O.C. - sends message when disk is full or there is some other problem with writing data to the disk - virtual memory - CD-ROM, DVD-ROM - Flash drive Rick Graziani graziani@cabrillo.edu 14
  • 15. 1. Manages and Interacts with Computer Hardware (continued) • Provides the Interface for Input and Output Devices – keyboard, mouse, printer, – device drivers = software programs which allow the hardware device to be used by the operating system and by application software Rick Graziani graziani@cabrillo.edu 15
  • 16. Preemptive Multitasking vs Cooperative Multitasking Cooperative Multitasking OS gives CPU processing time to other programs at a logical point, usually during idle time Preemptive Multitasking OS allocates CPU time between the different programs based on amount of time and priority of the software application Rick Graziani graziani@cabrillo.edu 16
  • 17. Multiprocessing with Multiple CPU’s Asymmetric Multiprocessing = Tasks are assigned to a specific CPU and each CPU has its own RAM memory Symmetric Multiprocessing = Tasks are assigned to any available CPU and CPU’s can share RAM memory Rick Graziani graziani@cabrillo.edu 17
  • 18. Processes • Scheduler – Maintains a record of the processes. – Adds new processes when launched. – Removes old processes when completed. – Uses a process table. • Process Table – Information about each process including: – Main memory cells (RAM) – Priority – Running or waiting (input from user or saving to disk) Rick Graziani graziani@cabrillo.edu 18
  • 19. • Viewing processes with Microsoft Windows • Task Bar – Right-click, Task Manager • Ending a process – Killing the process Rick Graziani graziani@cabrillo.edu 19
  • 20. Processes • Dispatcher - Oversees the execution of each process by the CPU. – Gives each process a time slice of CPU time. – Changes between processes. Rick Graziani graziani@cabrillo.edu 20
  • 21. Server (Multiuser) Operating Systems • Found on mainframes, minicomputers and PCs • server = a computer which processes information (CPU and RAM) , stores information (hard disk), and/or provides access to peripheral devices (printers) for multiple users – Email – Web – Gaming Rick Graziani graziani@cabrillo.edu 21
  • 22. Examples of Server Operating Systems • MAC OS X Server • Windows Server Rick Graziani graziani@cabrillo.edu 22
  • 23. Advantages/Disadvantages of Server Operating Systems Advantages • Central location for the installation and administration of all software and data • More cost effective - less expensive than multiple computers (PCs, Macs) Disadvantages • Single source for possible problems • Loss of individual user control of their own software, data, and peripherals Rick Graziani graziani@cabrillo.edu 23
  • 24. Virtual Memory Virtual Memory (VM) = the ability of the CPU and the operating system software to use the hard disk drive as additional RAM when needed (safety net) Good – no longer get “insufficient memory” error Bad - performance is very slow when accessing VM Solution = more RAM Rick Graziani graziani@cabrillo.edu 24
  • 25. Virtual Memory Rick Graziani graziani@cabrillo.edu 25
  • 26. 2. Provides and Manages System Security Single-user Operating Systems • minimal security • user has full authority Server Operating Systems • login and password capability • protection of user’s data stored on the server’s central hard disk drives • protection and security for software programs Rick Graziani graziani@cabrillo.edu 26
  • 27. 3. Provides the System Interface System Interface or shell = the interface between the user and the computer Command Line Interface (CLI) • Linux, UNIX, DOS, older OS’s Graphical User Interface (GUI) Rick Graziani graziani@cabrillo.edu 27
  • 28. Command Line Interface DOS, UNIX, others Rick Graziani graziani@cabrillo.edu 28
  • 29. DOS plus Windows 3.1 Rick Graziani graziani@cabrillo.edu 29
  • 30. Windows 95 Rick Graziani graziani@cabrillo.edu 30
  • 31. Windows XP Rick Graziani graziani@cabrillo.edu 31
  • 33. Mac OS X Rick Graziani graziani@cabrillo.edu 33
  • 34. UNIX with X-Windows Rick Graziani graziani@cabrillo.edu 34
  • 35. Microsoft Windows 8 Rick Graziani graziani@cabrillo.edu 35
  • 36. 4. Provides the Interface for Application Software • Operating systems are software • Operating systems are designed and developed for a specific CPU or “family of CPUs” – Macintosh OS: Motorola 680xx, PowerPC Gx, Intel – DOS: Intel CPUs – Windows 9x and XP: Intel 80386, 80486, and Pentium CPUs – Linux: Intel CPUs – MS NT & 2000: Intel CPUs Rick Graziani graziani@cabrillo.edu 36
  • 37. 4. Provides the Interface for Application Software (continued) • Application software is developed for an operating system MS Word for Windows XP • Windows XP • Intel CPU MS Word for the Macintosh • Macintosh OS X • Gx CPU or Intel CPU Rick Graziani graziani@cabrillo.edu 37
  • 38. Compatibility Question Will software developed for one operating system work on another? Will MS Word for Macintosh run on a PC with Windows XP? Answer No (unless there is special emulation software or hardware). The software must be developed separately for each operating system. Much of this is beginning to change with MAC using the Intel CPU. Rick Graziani graziani@cabrillo.edu 38
  • 39. Order of Development 1. The CPU 2. Other Hardware Components 3. Operating System Software 4. Application Software Rick Graziani graziani@cabrillo.edu 39
  • 40. History of Operating Systems 1940’s – 1950’s • Each program (job) required significant preparation of equipment. – Mounting tapes – Loading punch cards • Computer Operator – Person who operated the computer. – Mount tapes – Load punch cards – Take printouts off of printer • Batch processing – The execution of jobs by collecting them in a single batch, the executing them without further interaction with the user. Rick Graziani graziani@cabrillo.edu 40
  • 41. History of Operating Systems • Job queue – Jobs residing in mass storage (hard disk drives, tape) waiting for execution. – FIFO (First-In, First-Out) – Job Priorities and scheduling • Job Control Language (JCL) – Set of instructions explaining the steps of a particular job. – Operating system sent these to the printer – Computer Operator follows the instructions Rick Graziani graziani@cabrillo.edu 41
  • 42. History of Operating Systems • Disadvantage to Batch Processing – No interaction with the user. • Fine for software that does not need user interaction: – Payroll systems (creating checks) – Reporting systems • Does not work well for other types of software: – Word processing – Reservation systems – Gaming Rick Graziani graziani@cabrillo.edu 42
  • 43. History of Operating Systems • Newer Operating Systems • Used remote terminals and interactive processing – Computer must be fast enough to coordinate with the needs of the user. • Real-time processing - Computer must execute tasks under a deadline. • Time sharing – Provides service to multiple users at the same time. – Multiprogramming - Time divided into intervals. • Multitasking – One user executing numerous tasks (programs) simultaneously Rick Graziani graziani@cabrillo.edu 43
  • 44. Today’s Operating Systems • Today’s CPUs (multiprocessors) – Multiple processors – Load balancing • Dynamically allocating tasks to the various processors so that all processors are used efficiently. – Scaling • Breaking tasks into a number of subtasks equal to the number of processors available. – The Network (Internet) • Becoming a single network-wide operating system rather than a network of individual operating systems. Rick Graziani graziani@cabrillo.edu 44
  • 45. • 3D operating system • http://www.youtube.com/watch?v=RZcJOZC38iQ • Prototype • http://www.youtube.com/watch?v=k_CSRoA0MkA Rick Graziani graziani@cabrillo.edu 45
  • 47. Ch. 3 – Operating Systems CS 1 Introduction to Computers and Computer Technology Rick Graziani Spring 2012