34
SOFTWARE AND OPERATING SYSTEM

Cmp104 lec 5 software and operating system

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Cmp104 lec 5 software and operating system

SOFTWARE AND OPERATING SYSTEM

Page 2: Cmp104 lec 5 software and operating system

Computer System can be think of two parts:-

• Hardware:-Which performs all the computation and calculation work that computers are known for

• Software:-Which instructs the hardware what to do and how to do it.

Introduction

Page 3: Cmp104 lec 5 software and operating system

Computer System

Parts of Computer Systems

Computer Hardware

Computer Software

System Software

Application Software

Page 4: Cmp104 lec 5 software and operating system

Computer understand two concepts-On or Off, which is basis for binary language.

Hardware needs a software(a set of programs) to instruct what has to be done.

A program is a set of instructions that is arranged in a sequence to guide a computer to find a solution for the given problem.

Process of writing a program is called programming.

Programs written by the programmer using a programming language are also called source code.

Programming

Page 5: Cmp104 lec 5 software and operating system

Computer Games-Entertainment software Driver Software Educational Software:- e.g. Interactive

geometry software, Language learning software

Media Players Productivity Software:-e.g. Presentation

Software Operating System Software :-e.g. Window

Vista, Linux

Examples of Software

Page 6: Cmp104 lec 5 software and operating system

There are two types of Software1. Application Software2. System Software

Classification Of Software

Page 7: Cmp104 lec 5 software and operating system

Designed for user to solve a particular problem

It represent programs that allow users to do something.

E.g. Spreadsheets, Database systems, games, Web Browsers

Application software

Page 8: Cmp104 lec 5 software and operating system

Provides a general programming environment in which programmer can create applications to suit their needs.

It represent the programs that allow the hardware to run properly.

Act as a interface between hardware of the computer & application Software that user need to run on the computer.

E.g. Operating System

System Software

Page 9: Cmp104 lec 5 software and operating system

Relation between Application s/w & System s/w

User 1 User 2 User n

Application Programs

System Software

Computer Hardware e.g. printer, mouse,keyboard

Page 10: Cmp104 lec 5 software and operating system

System Software Application Software

Collection of programs that enable users to interact with hardware components

Collection of programs written for a specific application e.g. library system

Controls and manages the hardware

Uses the services provided by system software to interact with hardware components

It is machine dependent It is Machine independent

Programmer must understand the architecture of machine and h/w details to write it

Mostly programmer ignores the architecture of machine and h/w details to write it

It interact with h/w directly It interact with h/w indirectly through system calls

Writing it is a complicated task Writing it is relatively easy

Differences

Page 11: Cmp104 lec 5 software and operating system

Designed to operate Computer h/w and provide a platform for running application s/w.

Most widely used system software types are:Computer BIOS Operating System

System Software

Page 12: Cmp104 lec 5 software and operating system

It provide basic functionality to operate & control h/w connected to or built in the computer.

BIOS is the first code run by computer when it is switched on.

Key role of BIOS is to load the Operating System.

When the computer starts, the code in the BIOS chips run a series of tests called POST(Power On Self Test) to ensure that system devices are working properly.

Computer BIOS

Page 13: Cmp104 lec 5 software and operating system

BIOS chips locates the software held on other devices like CD or Hard Disk, & loads and executes that software, giving it the control of Computer. This process is called Booting.

Booting

Page 14: Cmp104 lec 5 software and operating system

In short BIOS perform the following functions Initialize the system Hardware Initialize the system Registers Initialize Power Management System Test RAM Test all the serial & parallel Ports Display the system summary information.

Computer BIOS

Page 15: Cmp104 lec 5 software and operating system

Operating System The interface between the user and the computer hardware. A program that acts as an intermediary between a user of a computer

and the computer hardware Operating system goals:Execute user programs and make solving user problems easier.

◦ Make the computer system convenient to use. Use the computer hardware in an efficient manner.

Page 16: Cmp104 lec 5 software and operating system

Operating System Structure

Page 17: Cmp104 lec 5 software and operating system

Operating System Functions

Functions of OS

Intermediator

Process Mgmt

File Mgmt

Memory

Security

JobSchedu

ling

Page 18: Cmp104 lec 5 software and operating system

Intermediator: Facilitates easy communication between the computer system and the computer operator (human). It also establishes data security and integrity.

Process Mgmt: that is, assignment of processor to different tasks being performed by the computer system.

File Mgmt: that is, the storage of file of various storage devices to another. It also allows all files to be easily changed and modified through the use of text editors or some other files manipulation routines.

Function of OS in Detail

Page 19: Cmp104 lec 5 software and operating system

Functions(Cont…) Memory Mgmt: that is, allocation of main

memory and other storage areas to the system programs as well as user programs and data.

Security: Operating systems provide password protection to keep unauthorized users out of the system.

Job Scheduling: it determines and maintains the order in which jobs are to be executed in the computer system.

Page 20: Cmp104 lec 5 software and operating system

Operating system

GUIMultius

erMultitas

kingMultiprocessing

Multithreading

Operating System Classification

Page 21: Cmp104 lec 5 software and operating system

GUI GUI - Short for Graphical User

Interface, a GUI Operating System contains graphics and icons and is commonly navigated by using a computer mouse. Example

Page 22: Cmp104 lec 5 software and operating system

Multi user Multi-user - A multi-user operating system

allows for multiple users to use the same computer at the same time and/or different times.

Example: LINUX

Page 23: Cmp104 lec 5 software and operating system

Multi Tasking An operating system that is capable of

allowing multiple software processes to run at the same time.

Below are some examples of multitasking operating systems.

UnixWindows XP, Vista

Page 24: Cmp104 lec 5 software and operating system

Multi Processing An operating system capable of supporting

and utilizing more than one computer processor.

more than one CPUs that can be sharedBelow are some examples of multiprocessing

operating systems. LinuxUnix

Windows 2000

Page 25: Cmp104 lec 5 software and operating system

Multi Threading

Smaller parts of a program are loaded when needed by OS

Operating systems that allow different parts of a software program to run concurrently

Operating systems that would fall into this category are:

E.GLinuxUnix

Windows 2000

Page 26: Cmp104 lec 5 software and operating system

Types Of Operating system

DESKTOP SERVER MOBILE

Types of OS

DESKTO

P

SERVER

MOBILE

Page 27: Cmp104 lec 5 software and operating system

Desktop Operating System

Operating System

Windows Mac Linux

Page 28: Cmp104 lec 5 software and operating system

Advantages of Windows OS

Windows

Easy to

use

Update

Supportin

g

Gaming

Familiar

Advantages

Windows

expensiv

e

Not secu

re

Not stabl

e

Disadvantages

By MICROSOFT co-operation

Page 29: Cmp104 lec 5 software and operating system

Advantages & Disadvantages of MAC OS

Mac

Great

GUI

Better to

graphic design

er

Secure

Stable

Advantages

Mac

Not gaming

Not all software run

Difficult

mouse (one click)

expensive

Disadvantages

By APPLE Co-operation

Page 30: Cmp104 lec 5 software and operating system

Linux Operating System

Linux

Free

Stable

Secure

Source

Code

Low pc

requirement

Advantages

Disadvantages

Linux

Not all software run

Not support

Hard to learn,

use and install

Page 31: Cmp104 lec 5 software and operating system

Server Operating System

Server operating systems are designed to provide platforms for multi-users , for critical, network applications. Their main purpose is to provide security, stability and collaboration. Most of them come with a pack of dedicated software tools such as Web servers, e-mail agents and terminal services The common applications for server OS are:

File and printer sharing Application services (including databases) Web site services E-mail, groupware and messaging Terminal services Caching

Page 32: Cmp104 lec 5 software and operating system

Server Needs

Server Operating

System

Administration

Security

Stability

Performance

Feature

Page 33: Cmp104 lec 5 software and operating system

Mobile Operating System

operating system that controls a mobile device

Mobile OS

Symbian OS

iPhone OS

RIM BlackB

erry

Windows

Mobile

Linux

Palm OS

BADA

Page 34: Cmp104 lec 5 software and operating system

Conclusion

As Operating System controls and coordinates the use of the hardware among the various applications programs for various uses, we can say that it plays a very important role in computer system.