You are on page 1of 9

Simple Model Of a Computer

Block Diagram Of Computer System


Arithmetic Logic
Unit
To perform
arithmetic
operations,
comparison
operations, and
other operations. It
performs all the
tasks to complete
all those
instructions.
Control Unit
It directs the system
and executes the
instructions entered
by the user. It directs
and coordinates most
of the operations in
the computer.
Data Processing Using a Computer

• Analyze the given data


• Find a methos to do it
• Express the method as a step-by step procedure called algorithm
• Express the algorithm using a precise notation called programming language.
• Enter the program in to the computer and store it in the computer memory. Keep the data to
be ready.
• Execute the program after the compilation
• The computer interprets the program stored in the computer memory.
• Once the program is executed the output will be send to the output unit or it may send the
output to another device connected to it.
Algorithm
The step by step instruction to perform a particular task is called an Algorithm
Program
the set of instructions when it is coded using any set of computer languages it is called a
program.
Flow chart
The pictorial or graphical representation of the instructions to perform a task is called flow
chart.
Algorithm to print the greatest of two numbers

Step1: start
Step2: Input a, b
Step 3: Add a and b and put the result in c; c=a+b
Step 4: print c
Step 5: stop
Flow Chart Symbols

You might also like