2. WHAT IS ALGORITHM?
An algorithm is a step by step method of solving a problem. It is commonly used for
data processing, calculation and other related computer and mathematical operations.
3. WHAT IS PROGRAMMING ALGORITHM?
A recipe that describes the exact steps needed for the computer to solve a problem or
reach a goal
4. WHAT IS PROGRAMMING ALGORITHM?
Word for a Recipe Procedure
Inputs
The Ingredients
Output
sThe Result
5. WHAT IS PROGRAMMING ALGORITHM?
Starts
Ends
It has a start , a middle, and an end
7. THE FLOW CHART
A flowchart is a type of diagram that represents an algorithm, workflow or process.
The flowchart shows the steps as boxes of various kinds, and their order by connecting
the boxes with arrows. This diagrammatic representation illustrates a solution model
to a given problem.
SYMBOLS USED IN FLOWCHART
Start / Stop
Input / output
Decision Making
The Oval Shape
Parallelogram
Diamond
Rectangle Process
Predefined Process
Looping
Connector
Flow Direction
8. ALGORITHM FLOW CHART JAVA PROGRAM
PROBLEM: FIND THE
AVERAGE OF 3 INTEGERS
STEP 1: START
STEP 2: OUTPUT “AVERAGE OF 3 INTEGERS”
STEP 3: OUTPUT “INPUT 3 INTEGERS”
STEP 4: INPUT A , B , C
STEP 5: = (A+B+C) /3AVE
STEP 6: OUTPUT “AVERAGE IS” , AVE
STEP 7: STOP
Start
“Average of 3 integers”
“Input 3 Integers”
“Input A,BC”
Ave = (A + B + C) / 3
Output “Average is ” AVE
End