unit 2 dissecting the ultimate machine parts of a pc - hardware, software, data, users the...

33
UNIT 2 UNIT 2 Dissecting the ultimate Machine Dissecting the ultimate Machine Parts of a PC - Hardware, Software, Data, Parts of a PC - Hardware, Software, Data, Users Users The Information Processing Cycle The Information Processing Cycle Interface- GUI,CLI Interface- GUI,CLI Operating System Operating System Single user / single tasking Single user / single tasking Single user/ multitasking Single user/ multitasking Multi-user / multitasking Multi-user / multitasking Software types – System Software , Software types – System Software , Application Software Application Software

Upload: pearl-jessica-dalton

Post on 17-Dec-2015

219 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

UNIT 2UNIT 2

Dissecting the ultimate Machine Dissecting the ultimate Machine Parts of a PC - Hardware, Software, Data, Users Parts of a PC - Hardware, Software, Data, Users The Information Processing CycleThe Information Processing Cycle Interface- GUI,CLIInterface- GUI,CLI Operating System Operating System Single user / single taskingSingle user / single tasking Single user/ multitaskingSingle user/ multitasking Multi-user / multitaskingMulti-user / multitasking Software types – System Software , Application Software types – System Software , Application

Software Software

Page 2: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

PARTS OF A COMPUTER PARTS OF A COMPUTER SYSTEMSYSTEM

A complete computer system A complete computer system consists of four parts:-consists of four parts:-

a)a) HardwareHardware

b)b) SoftwareSoftware

c)c) Data Data

d)d) useruser

Page 3: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

a) Hardwarea) Hardware

Mechanical device/physical device Mechanical device/physical device that make up the computerthat make up the computer

You can touch hardwareYou can touch hardware A computer hardware consists of A computer hardware consists of

interconnected electronic devices interconnected electronic devices that you is used to control the that you is used to control the computer’s operation, input and computer’s operation, input and output.output.

Page 4: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

c) Data c) Data

Consist of individual facts or pieces Consist of individual facts or pieces of information that by themselves of information that by themselves may not make much sense to a may not make much sense to a personperson

Computer’s primary job is to process Computer’s primary job is to process these tiny pieces of data in various these tiny pieces of data in various ways, converting them into useful ways, converting them into useful informationinformation

Page 5: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

d) userd) user

User are computer operators User are computer operators It can be argued that some computer It can be argued that some computer

systems are complete without a systems are complete without a person’s involvement; however no person’s involvement; however no computer is totally autonomous. computer is totally autonomous. even if a computer can do its job even if a computer can do its job without a person sitting in front of it, without a person sitting in front of it, people still design , build, program people still design , build, program and repair computer system.and repair computer system.

Page 6: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

DIFFERENCE B/N DATA & DIFFERENCE B/N DATA & INFORMATIONINFORMATION

DATA – describes informationDATA – describes information Data consist of raw numbers that Data consist of raw numbers that

computers organize to produce computers organize to produce information.information.

Data is a collection of facts – Data is a collection of facts – unorganized but able to be organized unorganized but able to be organized into useful information.into useful information.

Page 7: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

INFORMATION – it is an data INFORMATION – it is an data arranged in an order and form that is arranged in an order and form that is useful to the people who receive ituseful to the people who receive it

Useful in decision makingUseful in decision making Meaningful information such as Meaningful information such as

spreadsheets , charts and reports.spreadsheets , charts and reports.

Page 8: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

INFORMATION PROCESSING INFORMATION PROCESSING CYCLECYCLE

Computer converts data into information Computer converts data into information by performing various actions on the data by performing various actions on the data e.g. Mathematical operations on two e.g. Mathematical operations on two numbers , perform logical operation such numbers , perform logical operation such as comparing two numbers.as comparing two numbers.

These operations are part of a process These operations are part of a process called information processing cycle, which called information processing cycle, which is a set of steps the computer follows to is a set of steps the computer follows to receive data, process the data according receive data, process the data according to instructions from a program, display the to instructions from a program, display the resulting information to the user, aand resulting information to the user, aand store the results.store the results.

Page 9: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

Processing cycle have four parts Processing cycle have four parts :-:-

a)a) Input - Input -

b)b) ProcessingProcessing

c)c) OutputOutput

d)d) StorageStorage

Page 10: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

a)a) Input Input The collection of raw data from the outside world The collection of raw data from the outside world

so it can be put into an information system. so it can be put into an information system. putting the acquired data into the information putting the acquired data into the information system.system.

e.g. the payroll clerk collects workers timecards e.g. the payroll clerk collects workers timecards so she knows how many hours each person so she knows how many hours each person worked that week and types the hours from the worked that week and types the hours from the timecards into a spreadsheetstimecards into a spreadsheets

Input devices used are – keyboard, mouse, bar Input devices used are – keyboard, mouse, bar code readers , joysticks, digital data tablets, code readers , joysticks, digital data tablets, electronic cash registerselectronic cash registers

Page 11: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

b) Processing b) Processing

During this phase, computer’s During this phase, computer’s processing components perform processing components perform actions on the data, based on actions on the data, based on instructions from the user or a instructions from the user or a programprogram

Page 12: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

c) Outputc) Output

Is the process of transmitting the Is the process of transmitting the processing information .processing information .

Output is the presentation of any Output is the presentation of any data exiting a computer system.data exiting a computer system.

It can be in printed form, video, It can be in printed form, video, audio on monitor or any other audio on monitor or any other alternate devicealternate device

Page 13: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

d) Storage d) Storage

In this step , the computer In this step , the computer permanently stores the results of tis permanently stores the results of tis processing on a disk, tape or some processing on a disk, tape or some other kind of storage medium. other kind of storage medium.

Page 14: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

SOFTWARESSOFTWARES Refers to a set of programsRefers to a set of programs The ingredients that enables a The ingredients that enables a

computer to perform a specific task is computer to perform a specific task is software, which consists of instructions.software, which consists of instructions.

A set of instructions that drive a A set of instructions that drive a computer to perform specific task is computer to perform specific task is called program ( program is a sequence called program ( program is a sequence of instructions written in a language of instructions written in a language that ca be understood by a computer )that ca be understood by a computer )

Page 15: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

Types of softwareTypes of software

Most software can be divided into Most software can be divided into two types:two types:

1)1) System software System software

2)2) Application softwareApplication software

Page 16: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

1) System software1) System software

Are designed to control the operation Are designed to control the operation and extend the processing capability and extend the processing capability of a computer systemof a computer system

It controls the computer hardware or It controls the computer hardware or is used to maintain the computer in is used to maintain the computer in some way so that it runs more some way so that it runs more efficientlyefficiently

Eg :- operating system, utility Eg :- operating system, utility softwaresoftware

Page 17: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

2) Application software2) Application software

Are designed to solve a specific Are designed to solve a specific problem or to do a specific taskproblem or to do a specific task

Eg :- word processing, spreadsheets , Eg :- word processing, spreadsheets , powerpoint, access , windows media powerpoint, access , windows media player , internet explorer ( web player , internet explorer ( web browser ), gamesbrowser ), games

Page 18: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating
Page 19: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

Operating systemOperating system An OS is software program but it is An OS is software program but it is

different from word processing programs , different from word processing programs , spreadsheets and all other software spreadsheets and all other software programs of our computer programs.programs of our computer programs.

Os provides user with the tools Os provides user with the tools (commands) that enables user to interact (commands) that enables user to interact with the PC.with the PC.

When we issue a command, the OS When we issue a command, the OS translates it into code that the machine translates it into code that the machine can use. can use.

Page 20: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

The OS ensures that the results of The OS ensures that the results of your actions are displayed on your actions are displayed on screen , printed and so on. screen , printed and so on.

The OS also acts as the primarily The OS also acts as the primarily controlling mechanism for the controlling mechanism for the computer hardware.computer hardware.

Page 21: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

Functions of OSFunctions of OS

As programs work with the computer’s As programs work with the computer’s hardware and other software. Loads hardware and other software. Loads programs ( such as word processing, programs ( such as word processing, spreadsheet programs) into the spreadsheet programs) into the computer’s memory so that you can use computer’s memory so that you can use themthem

Manages the way information is stored on Manages the way information is stored on and retrieved from disks ( memory and retrieved from disks ( memory management )management )

Process managementProcess management

Page 22: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

File managementFile management

SecuritySecurity

Command interpretationCommand interpretation

Page 23: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

Interface Interface

Interface provides an medium to the Interface provides an medium to the user via which he or she can user via which he or she can communicate with the OS.communicate with the OS.

There are two types of OS interfaceThere are two types of OS interface

a) GUIa) GUI

b) CUIb) CUI

Page 24: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

CLI/CUICLI/CUI Stands for command line interface/ Stands for command line interface/

command user interfacecommand user interface Users give instructions to computers by Users give instructions to computers by

typing commands in textual interfacetyping commands in textual interface User uses keyboard to type words and User uses keyboard to type words and

symbolssymbols If a user types command incorrectly , If a user types command incorrectly ,

command interpreter responds with a command interpreter responds with a message indicating that it did not message indicating that it did not understand the command. when this understand the command. when this happens , the user has to retype the happens , the user has to retype the command correctly.command correctly.

Page 25: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

Involves of typingInvolves of typing Limitation- user needs to remember Limitation- user needs to remember

commands.commands. Eg- DOS, unixEg- DOS, unix

Page 26: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

GUIGUI

Stands for graphical user interfaceStands for graphical user interface GUI emphasizes on graphical entities. user GUI emphasizes on graphical entities. user

chooses and selects graphical icons chooses and selects graphical icons positioned on the screenpositioned on the screen

Involves click, double click, drag and dropInvolves click, double click, drag and drop Advantages- need not to remember Advantages- need not to remember

commands. It is user friendly.commands. It is user friendly. Eg windows – 95 , 3.1 , 98 , me,xp,vista Eg windows – 95 , 3.1 , 98 , me,xp,vista

etcetc

Page 27: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

Types of OS

OS can be organized into four major types:

1) Real time (special purpose systems)2) Single user/single-tasking3) Single user/multitasking4) Multi-user/multitasking

Page 28: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

1) Real time Os

Are very fast, relatively small OS. They are built into circuitry of a

device and are not loaded from a disk drive.

Real time OS need to run real time application

It may support multiple simultaneous tasks, or it may only support single tasking.

Page 29: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

A real time application is an application that responds to certain inputs extremely quickly- thousandths or millionths of a second (milliseconds or microseconds resp. )

Real time systems are used when rigid time requirements have been placed on the operation of a processor or the flow of data . sensors bring data to the computer . computer must analyze the data and possibly adjust controls to modify the sensor inputs.

Page 30: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

RTS have well defined ,fixed time RTS have well defined ,fixed time constraints. processing must be done constraints. processing must be done within the defined constraints or the within the defined constraints or the system will fail.system will fail.

RTS functions correctly only if it returns RTS functions correctly only if it returns the correct result within its time the correct result within its time constraints.constraints.

E.g. scientific experiments, medical E.g. scientific experiments, medical imaging systems, industrial control imaging systems, industrial control system, automatic-engine fuel-injection system, automatic-engine fuel-injection system ,home appliances control system, system ,home appliances control system, weapon systemweapon system

Page 31: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

Also called as real time embedded system

Real time OS are of two type:a) Hard real timeb) Soft real time

Page 32: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

Hard real time - A hard real-time system guarantees that critical tasks complete on time. This goal requires that all delays in the system be bounded from the retrieval of the stored data to the time that it takes the operating system to finish any request made of it. E.g. satellites working

Page 33: UNIT 2 Dissecting the ultimate Machine  Parts of a PC - Hardware, Software, Data, Users  The Information Processing Cycle  Interface- GUI,CLI  Operating

Soft real time – when a critical real time task gets priority over other tasks and retains that priority until it completes.