Algorithm Flowchart
Algorithm Flowchart
Algorithm
Step-1 Start
Step-2 Input first numbers say A
Step-3 Input second number say B
Step-4 SUM = A + B
Step-5 Display SUM
Step-6 Stop
1
ICSE CLASS VIII
Algorithm
Step-1 Start
Step-3 Area = L x L
Step-4 PERIMETER = 4 x L
Step-6 Stop
2
ICSE CLASS VIII
Step-1 Start
Step-3 Area = L x B
Step-4 PERIMETER = 2 x ( L + B)
Step-6 Stop
3
ICSE CLASS VIII
Algorithm
Step-1 Start
Step-6 Stop
4
ICSE CLASS VIII
P : Principle Amount
N : Time in Years
SI : Simple Interest
Algorithm
Step-1 Start
Step-3 SI = (P x N x R)/100.0
Step-4 Display SI F
Step-6 Stop
5
ICSE CLASS VIII
6.
Algorithm & Flowchart to find the smallest of two numbers
Algorithm
Step-1 Start
Step-2 Input two numbers say NUM1,NUM2
Step-3 IF NUM1 < NUM2 THEN
print smallest is NUM1
ELSE
print smallest is NUM2
ENDIF
Step-4 Stop
6
ICSE CLASS VIII
7
Algorithm & Flowchart to Swap Two Numbers
using Temporary Variable
Algorithm
Step-1 Start
Step-8 Stop
7
ICSE CLASS VIII
8.
Algorithm
Step-1 Start
Step-4 A = A + B
Step-5 B = A - B
Step-6 A = A - B
Step-8 Stop
8
ICSE CLASS VIII
STATE WHETH ERTRUE OR FAL SE AN D ALSO CORR ECT THE FALSE ST ATEMENT.
1. The decision box is circular in shape
Diamond in shape.
2. There should be only one start box in a flowchart.
3. A flowchart must be drawn on a single page. Can be drawn on multiple pages.
4. You can use connectors in a flowchart.
5. An algorithm is a pictorial form of a flowchart.
6. Flowchart is a pictorial form of a flowchart.
10
ICSE CLASS VIII
• After successful development of a program, it needs continuous timely maintenance during the course
of its operation. The flowchart makes program or system maintenance easier.
• It is easy to convert the flowchart into any programming language code
11