Introduction to Operating System Mc GrawHill Technology Education

  • Slides: 34
Download presentation
Introduction to Operating System Mc. Graw-Hill Technology Education Copyright © 2006 by The Mc.

Introduction to Operating System Mc. Graw-Hill Technology Education Copyright © 2006 by The Mc. Graw-Hill Companies, Inc. All rights reserved.

Operating System Basics 1. Operating System 2. Operating System Objectives 3. Layers of Computer

Operating System Basics 1. Operating System 2. Operating System Objectives 3. Layers of Computer Systems 4. Services Provided by the Operating System 5. Functions of Operating Systems 6. Types of Operating Systems 7. Enhancing an OS

1. Operating System • A program that controls the execution of application programs •

1. Operating System • A program that controls the execution of application programs • An interface between applications and hardware

2. Operating System Objectives • Convenience – Makes the computer more convenient to use

2. Operating System Objectives • Convenience – Makes the computer more convenient to use • Efficiency – Allows computer system resources to be used in an efficient manner • Ability to evolve – Permit effective development, testing, and introduction of new system functions without interfering with service

3. Layers of Computer System

3. Layers of Computer System

4. Services Provided by the Operating System • Program development – Editors and debuggers

4. Services Provided by the Operating System • Program development – Editors and debuggers • Program execution • Access to I/O devices • Controlled access to files • System access

4. Services Provided by the Operating System (contd. . ) • Error detection and

4. Services Provided by the Operating System (contd. . ) • Error detection and response – Internal and External Hardware Errors • Memory Error • Device Failure – Software Errors • Arithmetic Overflow • Access Forbidden Memory Locations – Operating System cannot grant request of application

4. Services Provided by the Operating System (contd. . ) • Accounting – collect

4. Services Provided by the Operating System (contd. . ) • Accounting – collect statistics – monitor performance – used to anticipate future enhancements – used for billing users

Operating System Basics Mc. Graw-Hill Technology Education Copyright © 2006 by The Mc. Graw-Hill

Operating System Basics Mc. Graw-Hill Technology Education Copyright © 2006 by The Mc. Graw-Hill Companies, Inc. All rights reserved.

Functions of Operating Systems • Provide a user interface • Run programs • Manage

Functions of Operating Systems • Provide a user interface • Run programs • Manage hardware devices • Organized file storage 7 A-10

Providing a User Interface • User interface – How a user interacts with a

Providing a User Interface • User interface – How a user interacts with a computer – Require different skill sets

Providing a User Interface (contd. . ) • Graphical user interface (GUI) – Most

Providing a User Interface (contd. . ) • Graphical user interface (GUI) – Most common interface • Windows, OS X, Gnome, KDE – Uses a mouse to control objects – Uses a desktop metaphor – Shortcuts open programs or documents – Open documents have additional objects – Task Switching – Dialog boxes allow directed input

Graphical User Interface

Graphical User Interface

Providing a User Interface (contd. . ) • Command line interfaces – Older interface

Providing a User Interface (contd. . ) • Command line interfaces – Older interface • DOS, Linux, UNIX – User types commands at a prompt – User must remember all commands – Included in all GUIs

Command Line Interface

Command Line Interface

Running Programs • Many different applications supported • System call – Provides consistent access

Running Programs • Many different applications supported • System call – Provides consistent access to OS features • Share information between programs – Copy and paste – Object Linking and Embedding

Managing Hardware • Programs need to access hardware • Interrupts – CPU is stopped

Managing Hardware • Programs need to access hardware • Interrupts – CPU is stopped – Hardware device is accessed • Device drivers control the hardware

Organizing Files and Folders • Organized Storage • Long File Names • Folders can

Organizing Files and Folders • Organized Storage • Long File Names • Folders can be Created and Nested • All storage devices work consistently

Types of Operating Systems • Real-time operating system – Very fast small OS –

Types of Operating Systems • Real-time operating system – Very fast small OS – Built into a device – Respond quickly to user input – MP 3 players, Medical Devices

Types of Operating Systems (contd. . ) • Single user/Single tasking OS – One

Types of Operating Systems (contd. . ) • Single user/Single tasking OS – One user works on the system – Performs one task at a time – MS-DOS and Palm OS – Take up little space on disk – Run on inexpensive computers

Single Tasking • Operating System cannot be able to take control back from the

Single Tasking • Operating System cannot be able to take control back from the running process/task/application • In case if a process call an I/O Instruction then Processor must wait for I/O instruction to complete before preceding

Types of Operating Systems • Single user/Multitasking OS – User performs many tasks at

Types of Operating Systems • Single user/Multitasking OS – User performs many tasks at once – Most common form of OS – Windows XP and OS X – Require expensive computers – Tend to be complex

Multitasking • Operating System can take control back from the running process and can

Multitasking • Operating System can take control back from the running process and can give it to other. • When one job needs to wait for I/O, the processor can switch to the other job

Types of Operating Systems • Multi user/Multitasking OS – Many users connect to one

Types of Operating Systems • Multi user/Multitasking OS – Many users connect to one computer – Each user has a unique session – UNIX, Linux, and VMS – Maintenance can be easy – Requires a powerful computer

Multi user/Multi tasking OS

Multi user/Multi tasking OS

Enhancing an OS • Utilities – Provide services not included with OS – Goes

Enhancing an OS • Utilities – Provide services not included with OS – Goes beyond the four functions – Firewall, anti-virus and compression – Prices vary

Enhancing an OS • Backup software: – Archives files onto removable media – Ensures

Enhancing an OS • Backup software: – Archives files onto removable media – Ensures data integrity – Most OS include a backup package – Many third party packages exist

Backup Software • This wizard helps you backup files & settings on your computer

Backup Software • This wizard helps you backup files & settings on your computer • Start → All Programs → Accessories → System Tools → Backup • Welcome to Backup or Restore Wizard → Next • Backup Files & Settings → Next • What do you want to backup? → Next • Items to Backup → Next

Backup Software (contd. . )

Backup Software (contd. . )

Enhancing an OS • Anti-virus software: – Crucial utility – Finds, blocks and removes

Enhancing an OS • Anti-virus software: – Crucial utility – Finds, blocks and removes viruses – Must be updated regularly – Mc. Afee and Norton Anti-Virus

Enhancing an OS • Firewall: – Crucial utility – Protects your computer from intruders

Enhancing an OS • Firewall: – Crucial utility – Protects your computer from intruders – Makes computer invisible to hackers – Zone Labs is a home firewall – Cisco sells hardware firewalls

Enhancing an OS • Intrusion detection – Often part of a firewall package –

Enhancing an OS • Intrusion detection – Often part of a firewall package – Announces attempts to breach security – Snort is a Linux based package

Enhancing an OS • Screen savers – Crucial utility for command line systems •

Enhancing an OS • Screen savers – Crucial utility for command line systems • Prevents burn in – Merely fun for GUI systems – Screen saver decorates idle screens

Reference Book: Introduction to Computers , Peter Norton Mc. Graw-Hill. www. mhhe. com/peternorton Mc.

Reference Book: Introduction to Computers , Peter Norton Mc. Graw-Hill. www. mhhe. com/peternorton Mc. Graw-Hill Technology Education Copyright © 2006 by The Mc. Graw-Hill Companies, Inc. All rights reserved.