ch 02 operating system basics

48
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.

Upload: al-arafat-rumman

Post on 05-Jan-2016

221 views

Category:

Documents


0 download

DESCRIPTION

op

TRANSCRIPT

Page 1: Ch 02 Operating System Basics

Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.

McGraw-Hill Technology EducationMcGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies, Inc. All

rights reserved.

Page 2: Ch 02 Operating System Basics

Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.

McGraw-Hill Technology Education

Peter Norton

Operating System Basics

Operating System Basics

Page 3: Ch 02 Operating System Basics

4 Basic Functions of OS

• Displays the on-screen elements with which you interact—the user interface.

• Loads programs (such as word processing and spreadsheet pro-grams) into the computer's memory so that you can use them.

• Coordinates how programs work with the computer's hardware and other software.

• Manages the way information is stored on, and retrieved from disks.

Page 4: Ch 02 Operating System Basics

Types of Operating Systems

• Real Time OS• Single User Single Tasking OS• Single User—Multi Tasking OS• Multi User—Multi Tasking OS

Page 5: Ch 02 Operating System Basics

Types of OS (RTOS)

• A real-time operating system (RTOS) is an operating system (OS) intended to serve real-time application requests.

• It must be able to process data as it comes in, typically without buffering delays.

• A common example of an RTOS is an HDTV receiver and display. It needs to read a digital signal, decode it and display it as the data comes in.

Page 6: Ch 02 Operating System Basics

Types of OS (RTOS)

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

receiver

Page 7: Ch 02 Operating System Basics

Types of OS (RTOS)

Some of the best known, most widely deployed, real-time operating systems are:

• LynxOS• OSE• QNX• RTLinux• VxWorks• Windows CE

Page 8: Ch 02 Operating System Basics

RTOS full forms

• UNICS - UNiplexed Information Computing System

• UNICS became Unix• OSE = Operating System Embedded• QNX = QNX is Not Unix• Linux = Linus Torvalds and Unix

Page 9: Ch 02 Operating System Basics

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 10: Ch 02 Operating System Basics

Single user/Single tasking OS

Page 11: Ch 02 Operating System Basics

Single user/Multitasking OS

– User performs many tasks at once

– Most common form of OS

– Windows XP, 7, 8 and OS X (MAC OSX)

– Require expensive computers

– Tend to be complex compared to SUST

Page 12: Ch 02 Operating System Basics

Single user/Multitasking OS

Page 13: Ch 02 Operating System Basics

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*Virtual Memory System

Page 14: Ch 02 Operating System Basics

Multi user/Multi tasking OS

Page 15: Ch 02 Operating System Basics

7A-15

4 Functions of Operating Systems

1. Provide a user interface

2. Run programs

3. Manage hardware devices and software

4. Organized file storage

Page 16: Ch 02 Operating System Basics

1) Providing a User Interface

• User interface– How a user interacts with a computer

– Require different skill sets of understanding:• Tabs• Mouse• Cursors• Dialogue Boxes • Pop-up menus etc.

Page 17: Ch 02 Operating System Basics

Providing a User Interface

• A) Graphical user interface (GUI)

• B) Command Line User Interface

Page 18: Ch 02 Operating System Basics

Providing a User Interface

• A) Graphical user interface (GUI)– Most common interface

• Windows, OS X, Gnome, KDE (Cross)

– Uses a mouse to control objects– Uses a desktop metaphor– Shortcuts opening programs or documents– Open documents have additional objects– Task switching– Dialog boxes allow directed input

Page 19: Ch 02 Operating System Basics

Graphical User Interface (Win 7)

Page 20: Ch 02 Operating System Basics

Graphical User Interface (Win 8)

Page 21: Ch 02 Operating System Basics

Graphical User Interface (Osx)

Page 22: Ch 02 Operating System Basics

Graphical User Interface (GNOME 3.12)

Page 23: Ch 02 Operating System Basics

Graphical User Interface (GNOME 3.12)GNOME is developed by The GNOME Project

Composed of both volunteers and paid contributors

The largest corporate contributor being Red Hat

Open Source and Multi-platform based

Page 24: Ch 02 Operating System Basics

Graphical User Interface (KDE)

Page 25: Ch 02 Operating System Basics

Providing a User Interface

• B) Command line interfaces– Older interface

• DOS, Linux, UNIX

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

Page 26: Ch 02 Operating System Basics

Command Line Interface

Page 27: Ch 02 Operating System Basics

2) Running Programs

OS supports many different application

• OS provides for System call– In computing, a system call is how a program

requests a service from an operating system's kernel that it does not normally have permission to run.

Page 28: Ch 02 Operating System Basics

2) Running Programs

System call (Continued)

– This may include hardware related services (e.g. accessing the hard disk) and creating and executing new processes.

– System calls provide an essential interface between a process and the operating system.

Page 29: Ch 02 Operating System Basics

Running Programs

Other services:

• Saving the contents of files to a disk.

• Reading the contents of a file from disk into memory.

• Sending a document to the printer and activating the printer.

Page 30: Ch 02 Operating System Basics

Running Programs

Other services (Continued):

• Providing resources that let you copy or move data from one document to another, or from one program to another.

• Allocating RAM among the running programs.

• Recognizing keystrokes or mouse clicks and displaying characters or graphics on the screen.

Page 31: Ch 02 Operating System Basics

Running Programs

• Share information between programs– Copy and paste– Object Linking and Embedding

Example:

From “Paint” to “Word”

Page 32: Ch 02 Operating System Basics

Running Programs

Page 33: Ch 02 Operating System Basics

3) Managing Hardware

• Programs need to access hardware…

• Hardware accessing procedure:– Interrupt request sent to CPU– CPU is stopped– Hardware device is accessed– CPU retrieves the information– CPU show it @ monitor

• Device drivers control the hardware

Page 34: Ch 02 Operating System Basics

Managing Hardware

Page 35: Ch 02 Operating System Basics

4) Organizing Files and Folders

• Organized storage

• Long file names

• Folders can be created and nested

• All storage devices work consistently

Page 36: Ch 02 Operating System Basics

Organizing Files and Folders

Page 37: Ch 02 Operating System Basics

Enhancing an OS

• Utilities– Provide services not included with OS– Goes beyond the four functions– May be Free or Paid or part of the OS

Category:– Backing up and compression– Firewall– Anti-virus / Internet Security– Screen-savers

Page 38: Ch 02 Operating System Basics

Enhancing an OS

• Backup software– Archives files @ removable media

– Ensures data integrity

– Most OS include a backup package

– Many third party packages exist– Nova, Easeus, Paragon, Shadow, Acronics

Page 39: Ch 02 Operating System Basics

Backup Software

Page 40: Ch 02 Operating System Basics

Enhancing an OS

• Anti-virus software– Crucial utility– Finds, blocks and removes viruses– Must be updated regularly– McAfee, Norton Anti-Virus, E-set, Panda,

Avira

Page 41: Ch 02 Operating System Basics

Enhancing an OS

• Anti-virus Vs Internet Security

– 1.Antivirus is a class of software that detects and cleans out virus infected files while Internet Security is a suite of applications that aims to protect users against threats from the internet

– 2.Internet Security suites usually include an antivirus application among other programs

Page 42: Ch 02 Operating System Basics

Enhancing an OS

• Anti-virus Vs Internet Security– 3.Internet security suites commonly includes a

firewall, anti malware, anti spyware, and email protection.

– 4.Internet Security suites often cost more than stand-alone antivirus applications

– 5. Internet Security requires more resources to run and slows down old computers

Page 43: Ch 02 Operating System Basics

Enhancing an OS

• Firewall– It looks at the Internet traffic going in and

out of your machine.

– You can instruct them to block certain traffic or allow other kinds.

– Sometimes you can choose to do this automatically without the firewall asking, and sometimes you can choose to have the firewall ask you first before blocking.

Page 44: Ch 02 Operating System Basics

Enhancing an OS

• Firewall (Hard Vs Soft)– Hard– Built in a device (router)– Soft– Programmed in a system (Utility)

Page 45: Ch 02 Operating System Basics

Enhancing an OS

• Intrusion detection– Often part of a firewall package– Announces attempts to breach security– Creates Logs

Page 46: Ch 02 Operating System Basics

Enhancing an OS

• Antivirus Vs Firewall:

• Firewalls are used to limit incoming transmissions to those that are least likely to contain bad data,

• while antivirus programs actually look at the effect that the incoming data has on the system.

• Firewalls cannot be used to remove threats if they happen to get past the firewall. Antivirus can be used to do the same.

Page 47: Ch 02 Operating System Basics

Enhancing an OS

• Screen savers– Crucial utility for command line systems

• Prevents burn-in of image (ghost image) in the monitor

– Merely fun for GUI systems– Screen saver decorates idle screens

Page 48: Ch 02 Operating System Basics

Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.

McGraw-Hill Technology Education

Peter Norton

End of ChapterEnd of Chapter