Chapter 1 - Introduction 3
Chapter 1 - Introduction 3
Fundamental
Programming
Algorithm,
Flowchart and
Pseudocode
Page 1
2.1 Know the algorithm,
flowchart and Pseudocode
Page 2
Problem Analysis and Design
Know the..
Design Tools
Flowchart
Algorithm
Pseudocode
Page 3
Problem Analysis and Design
What is Algorithm?
1 Algorithm
Page 4
Problem Analysis and Design
Cont..
1 Algorithm
Example of Algorithm
Page 6
Problem Analysis and Design
Example of Algorithm
Write an algorithm to find the largest among three different
B numbers entered by user.
Page 7
Problem Analysis and Design
Remember !!!
Page 8
Problem Analysis and Design
What is Pseudocode?
2 Pseudocode
Cont..
2 Pseudocode
Example of Pseudocode
The pseudo code below is to find the volume of a box if the
A length, width and height are given. Write the program based
on the pseudo code below..
START
INPUT length of the box
INPUT width of the box
INPUT height of the box
Volume = Length x Width x Height
DISPLAY volume of the box
END
Page 11
Problem Analysis and Design
Pseudocode à Program
Page 12
Problem Analysis and Design
What is Flowchart?
3 Flowchart
Page 13
Problem Analysis and Design
Cont..
3 Flowchart
Page 14
THE END
Page 15