OPERATING SYSTEMS
System Software




ď‚—   System software includes all of the
    programs needed to keep a computer and its
    peripheral devices running smoothly.
ď‚—   Two major categories of system software are:
    â—¦ Operating systems (OS)
    â—¦ System utilities
The Operating System (OS):
The Computer’s Traffic Cop
ď‚—   The operating system is a set of
    programs that perform certain basic
    functions with a specific type of
    hardware.
ď‚—   The functions of the operating system
    are:
    â—¦ Starting the computer
    â—¦ Managing programs
    â—¦ Managing memory
    â—¦ Handling messages from input and output
      devices
Starting the Computer




 Booting – The process of loading or
  reloading the operating system into the
  computer’s memory.
ď‚— The booting processes are:
    ◦ Cold boot – Loads the OS when the power is
      turned on.
    ◦ Warm boot – Reloads the OS when the
ď‚—   The computer copies the kernel from the
    hard drive into the computer’s memory.
    â—¦ The kernel:
     ď‚– Is the central part of the operating system
     ď‚– Starts all applications
     ď‚– Manages devices and memory
     ď‚– Resides in memory at all times
     ď‚– Performs other essential functions




Starting the Computer
The step-by-step booting process:
  I.     The BIOS (basic input/output system) and
         setup program
  II.    The power-on-self-test (POST)
  III.   The operating system loads
  IV.    System configuration
  V.     System utilities loads
  VI.    Users Authenticated



Starting the Computer
Managing Programs
ď‚—   Single-tasking systems run one application
    program at a time.
ď‚—   Multitasking operating systems have the ability
    to run more than one application program at a
    time.
    â—¦   Example

   What’s the difference between Time Sharing and
    Multitasking?
    â—¦   Windows 3.1 vs. Windows 95

ď‚—   Multitasking is accomplished by:
    ◦   A foreground application – The active program or
        program in use
    ◦   One or more background applications – Inactive
        program(s) or program(s) not in use
Managing Memory
ď‚—   Computers use memory to make processing
    more fluid.
ď‚—   The operating system allocates memory areas for
    each running program; it keeps programs from
    interfering with each other.
ď‚—   The operating system uses virtual memory as
    an extension of random access memory (RAM).
Managing Virtual Memory

                         most recently
      hard disk          transferred data or     memory
                   page  program instructions
                   swapped
                   in


                      Virtual memory
                      management

            swap
            file              page
                              swapped
                                     least recently
                              out    used data or
                                         program instructions
Handling Input and Output

ď‚—   Input and output devices generate interrupts, or
    signals, that tell the operating system that
    something has happened.
    â—¦ Example: Keyboard, mouse, antivirus
ď‚—   The OS provides interrupt handlers or mini-
    programs that begin when an interrupt occurs.
ď‚—   Interrupt request (IRQ) lines handle the
    communications between input/output devices and
    the CPU.
ď‚—   An IRQ conflict causes system instability when
    two devices try to use the same IRQ line.
Exploring Popular Operating Systems:
A Guided Tour
     WINDOWS XP          MAC OS




                  UNIX
    MS-DOS                  LINUX
Microsoft Windows


     Windows XP (2001)
      Windows 3.x(1995)
      WindowsNT(1998)
       Windows2.0(1990-1992)
              ME (1985)
              2000(2000)
              98 (1987)
              95 (1993)
               1.0 (2000)
Windows XP

ď‚—   Released in 2001 by
    Microsoft
ď‚—   XP is short for
    “experience”
ď‚—   Uses the same
    underlying code for all
    versions
ď‚—   Replaces all previous
    versions of Windows
ď‚—   Three versions:
     â—¦ Windows XP Home
       Edition
     â—¦ Windows XP
Windows NT

ď‚—   Released in 1993 by
    Microsoft
ď‚—   Designed for
    client/server systems
ď‚—   Two components:
    â—¦ Windows NT
     Workstation
    â—¦ Windows NT Server
ď‚—   Oriented to business
    needs
ď‚—   Offers security, remote
    administration, directory
    services, and a Web
Windows CE




ď‚—   Released in 1996 by Microsoft
ď‚—   System used in PDAs or palmtops
ď‚—   Runs simplified versions of Windows
    programs
ď‚—   Data can be transferred to PCs
ď‚—   Includes handwriting and voice recognition
MAC OS

ď‚—   Created in 1984
ď‚—   First OS to use
    graphical user
    interface
ď‚—   Easiest operating
    system for
    beginners
ď‚—   A new version, Mac
    OS X, was released
    in 2000
MS-DOS

ď‚—   Developed for IBM
    PCs in 1981
ď‚—   Uses command-line
    interface
ď‚—   Use is diminishing
ď‚—   To see:
    â—¦ start
    â—¦ Run
    â—¦ cmd
ď‚—   Developed by AT&T in
                            UNIX
    1970s
ď‚—   Included first
    preemptive
    multitasking system
ď‚—   Developed concepts of
    file management and
    path names
ď‚—   Facilitates
    client/server
    networking
ď‚—   Widely used by
    corporations
ď‚—   Developed in      Linux
    1991 by UNIX
ď‚—   Open-source
    code –Available
    for all to see
    and use
ď‚—   Competes with
    Windows and
    MAC-OS
ď‚—   Powerful and
    free
ď‚—   Growing
    acceptance

Operating systems

  • 1.
  • 2.
    System Software ď‚— System software includes all of the programs needed to keep a computer and its peripheral devices running smoothly. ď‚— Two major categories of system software are: â—¦ Operating systems (OS) â—¦ System utilities
  • 3.
    The Operating System(OS): The Computer’s Traffic Cop  The operating system is a set of programs that perform certain basic functions with a specific type of hardware.  The functions of the operating system are: ◦ Starting the computer ◦ Managing programs ◦ Managing memory ◦ Handling messages from input and output devices
  • 4.
    Starting the Computer Booting – The process of loading or reloading the operating system into the computer’s memory.  The booting processes are: ◦ Cold boot – Loads the OS when the power is turned on. ◦ Warm boot – Reloads the OS when the
  • 5.
     The computer copies the kernel from the hard drive into the computer’s memory. ◦ The kernel:  Is the central part of the operating system  Starts all applications  Manages devices and memory  Resides in memory at all times  Performs other essential functions Starting the Computer
  • 6.
    The step-by-step bootingprocess: I. The BIOS (basic input/output system) and setup program II. The power-on-self-test (POST) III. The operating system loads IV. System configuration V. System utilities loads VI. Users Authenticated Starting the Computer
  • 7.
    Managing Programs  Single-tasking systems run one application program at a time.  Multitasking operating systems have the ability to run more than one application program at a time. ◦ Example  What’s the difference between Time Sharing and Multitasking? ◦ Windows 3.1 vs. Windows 95  Multitasking is accomplished by: ◦ A foreground application – The active program or program in use ◦ One or more background applications – Inactive program(s) or program(s) not in use
  • 8.
    Managing Memory ď‚— Computers use memory to make processing more fluid. ď‚— The operating system allocates memory areas for each running program; it keeps programs from interfering with each other. ď‚— The operating system uses virtual memory as an extension of random access memory (RAM).
  • 9.
    Managing Virtual Memory most recently hard disk transferred data or memory page program instructions swapped in Virtual memory management swap file page swapped least recently out used data or program instructions
  • 10.
    Handling Input andOutput ď‚— Input and output devices generate interrupts, or signals, that tell the operating system that something has happened. â—¦ Example: Keyboard, mouse, antivirus ď‚— The OS provides interrupt handlers or mini- programs that begin when an interrupt occurs. ď‚— Interrupt request (IRQ) lines handle the communications between input/output devices and the CPU. ď‚— An IRQ conflict causes system instability when two devices try to use the same IRQ line.
  • 11.
    Exploring Popular OperatingSystems: A Guided Tour WINDOWS XP MAC OS UNIX MS-DOS LINUX
  • 12.
    Microsoft Windows Windows XP (2001) Windows 3.x(1995) WindowsNT(1998) Windows2.0(1990-1992) ME (1985) 2000(2000) 98 (1987) 95 (1993) 1.0 (2000)
  • 13.
    Windows XP  Released in 2001 by Microsoft  XP is short for “experience”  Uses the same underlying code for all versions  Replaces all previous versions of Windows  Three versions: ◦ Windows XP Home Edition ◦ Windows XP
  • 14.
    Windows NT ď‚— Released in 1993 by Microsoft ď‚— Designed for client/server systems ď‚— Two components: â—¦ Windows NT Workstation â—¦ Windows NT Server ď‚— Oriented to business needs ď‚— Offers security, remote administration, directory services, and a Web
  • 15.
    Windows CE ď‚— Released in 1996 by Microsoft ď‚— System used in PDAs or palmtops ď‚— Runs simplified versions of Windows programs ď‚— Data can be transferred to PCs ď‚— Includes handwriting and voice recognition
  • 16.
    MAC OS ď‚— Created in 1984 ď‚— First OS to use graphical user interface ď‚— Easiest operating system for beginners ď‚— A new version, Mac OS X, was released in 2000
  • 17.
    MS-DOS ď‚— Developed for IBM PCs in 1981 ď‚— Uses command-line interface ď‚— Use is diminishing ď‚— To see: â—¦ start â—¦ Run â—¦ cmd
  • 18.
    ď‚— Developed by AT&T in UNIX 1970s ď‚— Included first preemptive multitasking system ď‚— Developed concepts of file management and path names ď‚— Facilitates client/server networking ď‚— Widely used by corporations
  • 19.
     Developed in Linux 1991 by UNIX  Open-source code –Available for all to see and use  Competes with Windows and MAC-OS  Powerful and free  Growing acceptance