computer

95
COMPUTER COMPUTER APPLICATIONS IN APPLICATIONS IN MANAGEMENT MANAGEMENT CP-107 CP-107

Transcript of computer

Page 1: computer

COMPUTER COMPUTER APPLICATIONS IN APPLICATIONS IN MANAGEMENTMANAGEMENT

CP-107CP-107

Page 2: computer

INTRODUCTION TO INTRODUCTION TO COMPUTERSCOMPUTERS

Computer is a fast electronic device that processes input data according to the instruction given by the programmer and provide desired information as output.

Characteristics of computer-1.Speed 5.Diligence

2.Accuracy 6.Logical decision3.Versatility 7.No emotions4.Memory 8.Act as expert

Page 3: computer

Limitations Of ComputersLimitations Of Computers

1.Emotionless

2.Inflexibility of conversation

3.Uncertainty conditions

4.Less intelligent

Page 4: computer

Use of computers in modern Use of computers in modern societysociety1.Weather forecasting

2.Census

3.Oil explorations

4.Speech recognition

5.Banking system

6.Publishing

7.Financial accounting

8.Research

Page 5: computer

Generations of computerGenerations of computer

1.I generation - 1946-54

2.II generation -1954-64

3.IIIgeneration -1964-75

4.IV generation -1975 onwards

5.V generation - Knowledge based programming

Page 6: computer

I generation- vacuum tubesI generation- vacuum tubes

Characteristics -

1.Non portable

2.Generates lot of heat

3.More power is consumed

4.Unreliable

5.Very delicate and not reliable

Page 7: computer

II generation- vacuum tubes to II generation- vacuum tubes to transistortransistor

Advantages-1 .Less power is consumed

2 .Less heat generated3.Less hardware failures

4.Comparatively faster and reliableDisvantages-

1.A.C required2 .Problem in maintenance

Page 8: computer

III generation- transistors III generation- transistors converted to I.C’Sconverted to I.C’S

Advantages-

1.Less power

2.Less heat

3.Very reliable

4 .Cheaper than other computers

4.Maintenance cost is low

Disadvantages-

1.A.C required

2 .Less storage capacity

Page 9: computer

IV Generation- Combination IC’SIV Generation- Combination IC’S

1.SSI

2.MSI

3.LSI

4.VLSI

Page 10: computer

Features of 4Features of 4thth generation generation computerscomputers

1.Low in cost

2 .Efficiency increased due to operating system and programming languages.

3 .Increased memory capacity.

4 .Work with great speed.

5 .Reduced considerably in size

Page 11: computer

classification of classification of computercomputer

Classification of computer

According to Use

Size and storage

Generation Technology

General purpose

Special purpose

Analog Digital

Page 12: computer

Acc. To size and storageAcc. To size and storage

1.Micro computer

2.Personal computer

3.Mainframe computer

4.Super computer

Page 13: computer

Acc. To technology or nature of Acc. To technology or nature of functionsfunctions

1.Analog computer- it is of scientific and industrial importance (not used in business).

2.Digital computer- it works with digits. it provides more accurate processing. (use in business)

3.Hybrid computer- combination of both analog and digital computer.

Page 14: computer

Basic computer structureBasic computer structure

Input processing output

Data and instructions

Receiving input data and Doing the

necessary additions

Results

Page 15: computer

Elements of computer systemElements of computer system

Elements

Hardware Software

Input unit CPU Output unitSystem

softwareApplication software

Page 16: computer

Three main unitsThree main units

Input unit central processing output

unit unitMemory unit

Control unit

Arithmetic and logic unit

Page 17: computer

COMPUTER LANGUAGESCOMPUTER LANGUAGES

COMPUTER LANGUAGES

LOW LEVEL LANGUAGE

HIGH LEVELLANGUAGE

MACHINE LANGUAGE

ASSEMBLY LANGUAGE

Page 18: computer

FEATURES OF COMPUTER FEATURES OF COMPUTER LANGUAGESLANGUAGES

1 .Vocabulary or set standard of symbols

2.Every word or every symbol has its own distinct meaning.

3.Each problem is broken into simple and logical steps.

)a (Input- output

)b (Arithmetic operations

)c (Logical or comparison operations

)d (Movement of information

Page 19: computer

Machine languageMachine language

It is directly understood by computer. It is written in the combination of binary digits 0 &1

Like c=a+bAdvantages-

1 .Executed very fast

Disvantages-1.Machine dependant

2.Difficult to program3.Error prone

Op code operand

Page 20: computer

ASSEMBLY LANGUAGEASSEMBLY LANGUAGE

In it mnemonic codes are used and also symbols are used.

Terms used-1.Symbolic language- is a language that uses symbols.

2.Assemblor - it’s a translator that translates assembly language to machine language.

3 .Source program- it is written in assembly language.

4 .Object program- program converted to machine language.

Page 21: computer

HIGH LEVEL LANGUAGEHIGH LEVEL LANGUAGE

It was first developed by Dr. Grace Hopper in 1952. These languages are man oriented languages. In this we use various mathematical words, English words and mathematical symbols.

Various high level languages are C, COBOL,FORTRAN, BASIC,ALGOL,PROLOG.

Page 22: computer

Compiler and interpreterCompiler and interpreter

It is necessary to convert the instructions of a program written in HIGH LEVEL LANGUAGE to machine instructions before the program can be executed by the computer, so this task is done by compiler and interpreter.

Source program compiler Object program

Page 23: computer

DifferenceDifference

COMPILER1.Compiler compile

complete program at one time.

2 .All errors are displayed at once.

3.Debugging is difficult4.It is fast

5.Creates more than one file.

.

INTERPRETER1.It executes step by step.

2.At the most block wise errors are displayed.

3.Debugging is easier.4.It is slow

5.No such case

Page 24: computer

Advantages and disadvantages of Advantages and disadvantages of high level languagehigh level language

Advantages- Disadvantages

1.User oriented 1.Slower as compared

2.Machine independent to low level language

3 .Easy to understand 2.Need translation

4.Easy to use before execution

5.Easy to manipulate 3.less flexible

6.Debugging is easy 4.less efficient

Page 25: computer
Page 26: computer

DEFINING BIT AND BYTEDEFINING BIT AND BYTE

A set of bits or characters treated as a unit that can be stored in a single computer memory location is known as computer word.

A computer word can also be defined in terms of what is known as byte.

The number of bits that a computer memory/storage needs to represent one unit of information can be termed as a word.

Page 27: computer

Common units of measure for Common units of measure for memorymemory

1 byte- 8 bits

1 word- 2 bytes

double word- 4 bytes

paragraph- 16 bytes

1 kilobyte (KB)- 1024 bytes

1 mega byte (MB) -1024KB

1 gigabyte (GB)-1024 MB

1 tetra byte (TB)- 1024GB

Page 28: computer

DOS- DISK OPERATING SYSTEMDOS- DISK OPERATING SYSTEM

Operating system provides interface between user and hardware. DOS provides platform which lets application program to interact with CPU and input, output devices.

MS-DOS- MICROSOFT DISK OPERATING SYSTEM.

Files and directories in DOS- DOS is a collection of programs stored in files. The word “program” means a sequence of instructions given to computer to get a task completed. “Files” denotes

the collection of all such numerous programs .

Page 29: computer

FUNCTIONS OF OPERATING FUNCTIONS OF OPERATING SYSTEMSYSTEM--

1.Memory management 10. Job priority2.Processor management

3.input- output management4. File management

5.Security6 .Device management

7 .Production of error messages8 .Job priority.

9.Easy communication between user and computer system

Page 30: computer

Various concepts under Various concepts under operating systemoperating system

1.Multiprogramming

2.Multiprocessing

3.Timesharing

4 .Real time processing

Page 31: computer

A File is a collection of related information and A File is a collection of related information and directory a place where all files data related to directory a place where all files data related to

each other are clubbed togethereach other are clubbed together..

ROOT DIRECTORY

SUBDIRECTORIES SUBDIRECTORIES

FILES

Page 32: computer

Commands of DOSCommands of DOS

COMMANDS

Internal commands External commands

Page 33: computer

Internal and external commandsInternal and external commands--

Internal commands- commands which are main file of dos. They are loaded on RAM as soon as computer is switched on.

External commands-External commands are commands which are stored on disk as separate program files. To execute these commands we have to provide programs from outside.

Page 34: computer

Internal commandsInternal commands

1. Copy con-Syntax: copy con<file name><enter key<

2.DIR-Syntax: c: > DIRDisplaying files page wiseDIR/PDisplaying width wiseDIR/W

3.MD- MAKE DIRECTORYMD<directory name<

4 .Remove directory-RD<directory name<

Page 35: computer

Page 36: computer

5 .Date command-DateCurrent dateEnter new datemm-dd- yy

6.Time command-TimeEnter new timehh.mm.ss

7.CLS- CLEAR SCREEN8 .To display the contents of a file-

TYPE<FILE NAME<

Page 37: computer

9.REN- RENAME

REN<OLD FILE NAME><NEW FILE NAME<

10 .COPY-

COPY<SOURCE FILE><TARGET PATH<

11 .DEL- DELETING

DEL<PATH OF FILE<

Page 38: computer

12 .Changing a directory-CD(PATH)EXAMPLE-

13 .ECHO- this command is used to display any message.Syntax: c:> ECHO<MESSAGE><Enter Key<Example- c:>ECHO “Hello Everybody”

> Enter Key<

Hello Everybody14 .PROMPT- prompt is a common feature of DOS. Prompt

is placed on the left hand side of the screen and it tells that computer is ready to accept instructions. DOS commands are typed here.

Page 39: computer

External commandsExternal commands

1 .Format- It is used to arrange the data.Format A:Format C:Format D:

2 .Disk copy- it is used to save the contents of one floppy to other floppy.Disk copy: A:B:

We can also say that, it copies contents of one floppy to another so that both disks become identical.

)a (First format target disk)b (It only works with floppy disk no hard disk. ©Both the floppies should be of same capacity.

Page 40: computer

NUMBER SYSTEMNUMBER SYSTEM

Number system

Non- positional number system

Positional number system

Decimal number system

Binary number system

Octal number system

Hexadecimal number system

Page 41: computer

Decimal number systemDecimal number system

The value of each digit is deter mined by three considerations-

1 .The digit itself2.The position of the digit in the number

3.The base of number systemDecimal no. system contains 10 symbols or digits like- 0,1,2,3,4,5,6,7,8,9

for example – (2586)10

)2*103)+(5*102)+(8*101)+(6*100 =(2586

Page 42: computer

Binary number systemBinary number system

It is like decimal no. system except that the base is 2, instead of 10. we can use only two symbols or digits(0 and 1)

Binary number- (10101)2

Conversion in decimal- (1*24

)+(0*23

)+(1*22

)+(0*21

)+(1*20

)

=16+0+4+0+1=21

Page 43: computer

Octal number systemOctal number system

There are 8 digits 0,1,2,3,4,5,6,7

Octal number- (20578)Decimal conversion- (2*83)+(0*82)+(5*81)+(7*80)=1024+0+40+7=1071

Hence – (20578)= (107110)

Page 44: computer

Hexadecimal no. systemHexadecimal no. system

It is one with the base of 16. so here are 16 digits. The first ten digits are the digits of a decimal no. system 0,1,2,3,4,5,6,7,8,9. the remaining six digits are denoted by A,B,C,D,E,F Representing the decimal values 10,11,12,13,14,15 respectively.

Example- decimal equivalent of hexadecimal number 1AF Is-

)1*162)+(A*161)+(F*160 =(256+(10*16)+(15*1)=256+160+15= 431

Page 45: computer

Addition and subtractionAddition and subtraction

Rules of addition- Rules of subtraction

0+0=0 0-0=0

0+1=1 1-0=11+0=1 0-1=1(with borrow from next column(

1+1=0 carry 1 1-1=0

Page 46: computer

Subtraction by complimentary Subtraction by complimentary method or additive method of method or additive method of

subtractionsubtractionComplement= (base no.of digits -1)- no.

Q- 3710 compliment

)102

-1-(37=62

To find the compliment of a binary no.

1..Find complement of a no. u are subtracting

2 .Add this no. to the no. from which u are subtracting

For example- subtract b from a

1 (Find complement of B

Add this to A

If there is carry of 1 then add the resultant no. else recomplement it and attack negative sign..

Page 47: computer

Subtract according to binary Subtract according to binary methodmethod

Subtract -01110 – A from 10101- BComplement of A- 10001

+ 10101 100110

BECAUSE THERE IS CARRY

SO ANSWER IS – 00110 1

Page 48: computer

Multiplication And DivisionMultiplication And Division

Rules for M Rules FOR D

0*0=0 0/0=0

1*0=0 1/1=1

0*1=0 0/1 =0

1*1=1

Page 49: computer

Additive Method Of DivisionAdditive Method Of Division

)A (Quotient = No. of steps ,if remainder>=0

Else Quotient =no. of steps-1

)B (remainder= result of last subtraction if remainder is>=0

Else remainder= result of second last subtraction.

Page 50: computer

DATA CONCEPTSDATA CONCEPTS

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

2.Information- is data arranged in an order and form that is useful to people who receive it.

3 .Data processing- data processing is a series of actions or operations that converts data into information.

Page 51: computer

Data storage hierarchyData storage hierarchy

Bit

Character

Field

Record

File

Database

Page 52: computer

Data files typesData files types

1.transaction file2.Master file 3.Back up file

Limitations of traditional file oriented approach-1.Limited query flexibility

2.Data redundancy3.Data integrity problem

4.Limited data security flexibility

Page 53: computer

Database Management System Database Management System (DBMS((DBMS(

In database oriented approach of organizing data, a set of programs is provided to facilitate users to organize, create, delete, update and manipulate data in a database.

All these programs together form a “DATABASE MANAGEMENT SYSTEM.”

DBMS is the software that interprets and processes users requests to retrieve information from a data base.

So DBMS serves as an interface between the users and database. It is helpful in maintaining and utilising large collection of data.

.

Page 54: computer
Page 55: computer
Page 56: computer

Relevance of DBMS OR Relevance of DBMS OR advantagesadvantages--

1.Reduction of duplication2.Shared data

3.Security 4.Conflict resolution

5.Data independence)a (Physical data independence

)b (Logical data independence6.Stored on DASD

Page 57: computer

Functions of DBMSFunctions of DBMS--

Functions of DBMS -

1.Data definition

2.Data manipulation

3 .Data security and integrity

4 .Data recovery

5 .Data dictionary

6 .performance

Page 58: computer

FILE ORGANISATIONSFILE ORGANISATIONS

File organizations

Sequential file organization

Direct file organisationIndexed file

organization

Page 59: computer

Sequential file organisationSequential file organisation

Record 1

Record 2

Record 3

Record n-1

Record n

Page 60: computer

Indexed file organizationIndexed file organization;;

Records are organized in sequence and index table is used to speed up access to records without requiring search of entire file. There are two files for every data file

1 .Data file

2.Index file

records in the data file can be stored in random sequence, but index keys in the index file are stored in the sequence on index key value.

Page 61: computer

Advantages-

1 .It is efficient and economic.

2 .Can be used efficiently for direct access processing

Disadvantages-

1.Require relatively expensive hardware

2 .Require more storage space

3 .Access of records is slower than direct files.

Page 62: computer

INTRODUCTION TO INTRODUCTION TO SPREADSHEETSSPREADSHEETS

A SPREADSHEET contains grid of cells arranged in columns and rows. Data is entered into the cells to represent information. The information is then calculated using formulas to provide results.

“A spreadsheet allows you to enter and edit numbers, perform mathematics on them and store them in a form that can be changed as and

when required”.

Page 63: computer

EXCEL is an integrated electronic worksheet program developed by Microsoft corporation, USA. It includes three components-

1 .Worksheet

2.Graph

3 .Data base management

Page 64: computer

Uses of a spreadsheetUses of a spreadsheet

1 .Payrolls2 .Income tax calculations

3.Invoicing4 .Budgets

5.Banking services6.Investment analysis

7.Production and marketing analysis8 .Inventory control

9 .Scientific calculations

Page 65: computer

Benefits of using spreadsheetsBenefits of using spreadsheets--

1 .Built in functions

2.Formatting of data possible

3.Sorting

4.Graphs

5.Accurate results

6 .Modification possible

7.Easy production of reports

Page 66: computer

Work book windowWork book window

1 .workbook

2 .Worksheet

3.Scroll bar

4 .Rows – 65536 rows

5 .Columns – 256 columns

6.Cells

Page 67: computer

Data typesData types

Data types

Numbers Labels Formulae

Page 68: computer

Range – A range is any rectangular area in the worksheet. A range may include just a single cell, a number of consecutive cells in a row or column, or cells from consecutive rows and columns. A range may include cell from multiple rows and columns, however it must form a rectangle in order to be valid.

Page 69: computer

MACROSMACROS

Macro is a useful feature of excel that helps to automate keystrokes (commands) required to execute any command or task related to-

1 .Formatting of ranges2.Printing a worksheet

3 .Creating chart4 .Enter the data into the database

5 .Entering commonly used names, addresses and so on.

So macros are useful when you want to perform repetitive tasks .

Page 70: computer

Functions of SpreadsheetFunctions of Spreadsheet--

)a (Statistical)b (Math and trigonometry

)c (Date and time)d (Financial

)e (Database and list management)f (Engineering)g (Information

)h (Logical)i (Lookup and reference

)j (Text

Page 71: computer

Important mathematical functionsImportant mathematical functions

1.ABS= Absolute

2.SQRT- Square root of a number

3.Round

4.INT- Round Off The Number To The Nearest Integer

5 .EXP- Calculate The Exponential Value Of A Number.

6.SUM

7.SUMPRODUCT

Page 72: computer

Important statistical functionsImportant statistical functions

1.Average

2.Count

3 .Countblank

4.Countif

5.Min

6.Max

Page 73: computer

Important logical functionsImportant logical functions

1 .IF

2.AND

3.NOT

Page 74: computer

Network fundamentalsNetwork fundamentals

The term computer network is used to mean an interconnected collection of autonomous computers. These computers can exchange information because they are interconnected through either optical fibers, microwave links or communication satellites.

“A Computer Network is a network of computers that are geographically distributed, but connected in a manner to enable meaningful transmission and exchange of data among

them”.

Page 75: computer

Use of computer networksUse of computer networks

1 .Resource sharing

2 .High reliability

3 .Saving memory

4 .Powerful communication medium

5 .Interactive entertainment

Page 76: computer

DATA TRANSMISSION MODESDATA TRANSMISSION MODES

1 .Simplex- in one direction only.

Sender

simplex

2.Half duplex- in both directions but in only one direction at a time .

Sender Receiver

SenderReceiver

Page 77: computer

3 .Full duplex- data flows in both directions at a time.

sender Receiver

Page 78: computer

Types of networksTypes of networks

Network types

LAN- LOCAL AREA NETWORK

WAN-WIDE AREANETWORK

Page 79: computer

DIFFERENCE BETWEEN LAN DIFFERENCE BETWEEN LAN AND WANAND WAN

1.Geographic distribution

2 .Data rate

3.Error rate

4.Communication link

5 .Ownership

6 .Communication cost

Page 80: computer

Data transmission mediaData transmission media

1 .Twisted pair wire

2 .Coaxial cable

3.Microwave system

4.Communications satellite

5.Optical fibers

Page 81: computer

Network TopologiesNetwork Topologies

Page 82: computer

Network TopologiesNetwork Topologies

Network topology refers to the way to describe the physical wiring of the network. So it refers to the way in which the network’s nodes are linked together.

Choice of topology depends upon following-

1.Type and number of equipment being used

2.Planned applications

3 .Required response times

4 .cost

Page 83: computer

Types of network topologiesTypes of network topologies

Types

Star network

Ring network

Bus topology

Completely connected network

Hybrid network

Page 84: computer

Star networkStar network

The star arrangement of a computer network in which multiple computer are connected to host computer

Computer in a network are directly connected each other and communicating only through host computer.

2

3

4

1

Host Computer

or node

Page 85: computer

Ring network

It shows the circular or a ring arrangement of a computer network in which each computer network in which each computer has communicating subordinate but there is no master computer for control the computer.

Page 86: computer

Ring networkRing network

Page 87: computer

Completely connected networkCompletely connected network

A complete connected network has a separate physical link for connecting each

node to any other node .

Hence each computer of such a network has a direct dedicated link called point to point link.

Page 88: computer

Completely connected networkCompletely connected network

Page 89: computer

Advantages and disadvantagesAdvantages and disadvantages

Advantages

1 .Very reliable

2 .Communication is very fast between any two nodes.

Disadvantages-1. it is the most expensive network.

Page 90: computer

Bus topologyBus topology

Bus topology uses a common backbone to connect all the network in a linear shape. A single cable functions as the shared communication medium for all the devices attached with this cable.Advantages -

1 .Easy to connect a computer or peripheral to a linear bus.2.It requires less cable length than a star topology.

Disadvantages-.11.Whole network shuts down if there is a break in the

main cable.2 .Difficult to identify the problem if the entire network

shutsdown.

Page 91: computer

Single data bus network

A BC

D E

Page 92: computer

Hybrid networkHybrid network

Different network topologies have their own advantages and limitations. Hence a pure network is rarely used. Instead an organization normally uses a hybrid network.

Page 93: computer
Page 94: computer

Analog and data transmissionAnalog and data transmission

When data is transmitted by means of electrical signals, the signals may be in either digital or analog form. An analog signal is a power range that varies continuously. Amplitude (v) of an analog signal is a measured in volts and its frequency in hertz (hz). Higher the frequency, the more number of times it crosses the time axis.

Page 95: computer

Digital signalsDigital signals

Digital signal is a sequence of voltage pulses represented in binary form. Computer generated data is digital, whereas telephone lines used for data communication in computer networks usually carry analog signals. When digital data has to be transmitted on an analog facility, they must be converted to analog form first.