The Operating System n The operation system OS

  • Slides: 17
Download presentation
The Operating System n The operation system (OS) is a set of programs that

The Operating System n The operation system (OS) is a set of programs that coordinates: n n Hardware functions Interaction between application software and computer hardware Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 1

The Operating System n Five basic functions n n n Starts the computer Manages

The Operating System n Five basic functions n n n Starts the computer Manages applications Manages memory Handles input and output device messages Provides a user interface for communication Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 2

The Operating System n Function 1: Starting the computer n n Loads the OS

The Operating System n Function 1: Starting the computer n n Loads the OS into RAM Called booting Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 3

The Operating System n Function 2: Managing applications n Cooperative Multitasking permits more than

The Operating System n Function 2: Managing applications n Cooperative Multitasking permits more than one application to run at the same time. (Older. ) n n n The foreground application is the active one. Background applications appear inactive. Preemptive multitasking ensures that all applications have fair access to the CPU by switching between them. (Newer. ) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 4

The Operating System n Function 3: Managing memory n n n A buffer, an

The Operating System n Function 3: Managing memory n n n A buffer, an area that holds data and instructions temporarily, makes programs run faster. RAM memory functions as the buffer. The OS gives each program a portion of RAM memory and keeps them from interfering with each other. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 5

The Operating System n Function 3: Managing memory n Virtual memory uses a portion

The Operating System n Function 3: Managing memory n Virtual memory uses a portion of the hard disk to extend RAM. n n n Pages are units of fixed size and contain program instructions and data. When RAM is full, copies of pages are temporarily stored in a swap file, a special hard disk file. Transferring files between RAM and the hard disk is called paging. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 6

The Operating System n Function 3: Managing memory n Adding more RAM is often

The Operating System n Function 3: Managing memory n Adding more RAM is often the best way to improve computer performance because: n n Paging slows the computer. Accessing data from the hard disk is slower than accessing it from RAM. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7

The Operating System Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 8

The Operating System Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 8

The Operating System n Function 4: Handling input and output n n Device drivers

The Operating System n Function 4: Handling input and output n n Device drivers enable communication between the computer and the devices like the keyboard and mouse. Interrupts, signals created by input and output devices, notify the OS when actions are taken. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 9

The Operating System n Function 5: Providing the user interface n The user interface

The Operating System n Function 5: Providing the user interface n The user interface allows the user to: n n n Start application programs Manage storage devices Safely shut down the computer Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 10

The Operating System n Function 5: Providing the user interface n The graphical user

The Operating System n Function 5: Providing the user interface n The graphical user interface (GUI) uses icons, which are small images that: n n Represent computer resources used to initiate actions Appear on the desktop, the work area created after the OS loads into memory Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 11

The Operating System n Function 5: Providing the user interface n The command-line user

The Operating System n Function 5: Providing the user interface n The command-line user interface: n Requires the user to type commands to instruct the OS to perform the desired actions Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 12

System Utilities: Housekeeping Tools n System utilities (utility programs) n n Software programs that

System Utilities: Housekeeping Tools n System utilities (utility programs) n n Software programs that are essential to effective management of the computer system Perform tasks such as: n n n Backing up files Providing antivirus protection Etc. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 13

System Utilities: Housekeeping Tools n n Antivirus software protects the computer from viruses. Popular

System Utilities: Housekeeping Tools n n Antivirus software protects the computer from viruses. Popular antivirus programs: n n n Norton Anti. Virus Mc. Afee Virus. Scan Plus AVG Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 14

System Utilities: Housekeeping Tools n Searching for and managing files n File manager is

System Utilities: Housekeeping Tools n Searching for and managing files n File manager is the utility software that organizes and manages data. n n Copy files Determine how and where files are stored Delete files A search utility enables you to locate files. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 15

System Utilities: Housekeeping Tools n Scanning and defragmenting disks n n n Disk scanning

System Utilities: Housekeeping Tools n Scanning and defragmenting disks n n n Disk scanning programs find and resolve disk file storage problems. Disk cleanup utilities remove unnecessary files to save space. Disk defragmentation programs reorganize stored data in a more efficient manner. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 16

System Utilities: Housekeeping Tools n Systems Update n n Copyright © 2011 Pearson Education,

System Utilities: Housekeeping Tools n Systems Update n n Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Windows Update for Windows 7 and Vista automatically downloads and installs updates. It includes service packs, version upgrades, and security updates. 17