03 02 Solution Modeling With Flowgorithm
03 02 Solution Modeling With Flowgorithm
with Flowgorithm
Visual Programming
Visual Programming 2
Outlines
Visual Programming 3
a flash back..
Visual Programming 4
On Our Previous Session
Visual Programming 5
Using Flowchart
Visual Programming 6
Instruction Execution
Visual Programming 7
Flowchart
Visual Programming 8
Basic Symbols
Visual Programming 9
Symbols: Declaration
• Meaning:
This symbol is used to represent a declaration.
• For declaring a variable or an array.
Visual Programming 10
Symbols: Assignment
• Meaning:
This symbol represents an assignment operation.
• Assignment is simply putting a value into a variable.
Visual Programming 11
Symbols: Input
• Meaning:
This symbol is used to represent a reading operation.
• It reads a value from the keyboard and stores the value
in a variable.
Visual Programming 12
Symbols: Output
• Meaning:
This symbol is used to represent a printing operation.
• This operation prints the result of an expression.
Visual Programming 13
Symbols: Control (If)
• Meaning:
This symbol is used to represent a branching.
• The flow is decided based on the outcome of
the conditional expression.
• Two possible outcomes: true or false.
Visual Programming 14
Symbols: Comment
• Meaning:
This symbol is used to give a short note or comment.
• It is very useful to document a flow.
Visual Programming 15
Flowgorithm in Action
Visual Programming 16
Problem
Visual Programming 17
More Advanced Symbols
Visual Programming 18
To-dos
Visual Programming 19
References
Visual Programming 20
Thank
you
Visual Programming 21