Top Banner
TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 Affiliated to G.G.S.IP.U, Delhi Operating Systems Topic: Introduction to Operating Systems Course: BCA Paper Code: BCA 301 Keywords: Operating System, Functions of Operating System
31

Introduction to Operating Systems

Apr 15, 2017

Download

Education

Trinity Dwarka
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIES

Sector – 9, Dwarka Institutional Area, New Delhi-75 Affiliated to G.G.S.IP.U, Delhi

Operating SystemsTopic: Introduction to Operating Systems

Course: BCAPaper Code: BCA 301

Keywords: Operating System, Functions of Operating System

Page 2: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Operating System Basics• Operating System• Operating System Objectives• Layers of Computer Systems• Services Provided by the Operating

System• Functions of Operating Systems• Types of Operating Systems• Enhancing an OS

Page 3: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Operating System• A program that controls the

execution of application programs• An interface between applications

and hardware

Page 4: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 5: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Layers of Computer System

Page 6: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Services Provided by the Operating System

• Program development– Editors and debuggers

• Program execution• Access to I/O devices• Controlled access to files• System access

Page 7: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Services Provided by the Operating System

• 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

Page 8: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Services Provided by the Operating System

• Accounting– collect statistics–monitor performance– used to anticipate future enhancements– used for billing users

Page 9: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Functions of Operating Systems

• Provide a user interface• Run programs• Manage hardware devices• Organized file storage

Page 10: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Providing a User Interface

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

Page 11: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Providing a User Interface

• 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

Page 12: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Graphical User Interface

Page 13: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Providing a User Interface

• Command line interfaces– Older interface• DOS, Linux, UNIX

–User types commands at a prompt–User must remember all commands– Included in all GUIs

Page 14: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Command Line Interface

Page 15: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 16: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

• Device drivers control the hardware

Page 17: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Organizing Files and Folders

• Organized storage• Long file names• Folders can be created and nested• All storage devices work consistently

Page 18: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Types of Operating Systems

• Real-time operating system– Very fast small OS– Built into a device– Respond quickly to user input–MP3 players, Medical devices

Page 19: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Types of Operating Systems

• 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

Page 20: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 21: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 22: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 23: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 24: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Multi user/Multi tasking OS

Page 25: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 26: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 27: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

Backup Software

Page 28: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 29: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 30: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

Page 31: Introduction to Operating Systems

TRINITY INSTITUTE OF PROFESSIONAL STUDIESSector – 9, Dwarka Institutional Area, New Delhi-75

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

• Prevents burn in– Merely fun for GUI systems– Screen saver decorates idle screens