Week 3 Flowchats, Algorithms
Week 3 Flowchats, Algorithms
Learning Objectives
1. The Oval
To represent Start or end of the algorithm.
2. The Rectangle
One step is represented by a rectangle.
3. The Diamond
Used while making some decision.
4. The Arrow
To show the flow of the process
flow
Computer Science Department, UET Lahore.
Flowchart Symbols
● Different symbols have different meanings.
Some of the common symbols are shown below:
5. The Parallelogram
To represent the input and output
Input Output
else
num1=5 variables
Values assigned
num2=10 to variable
Operation
addition=num1+num2
num1=5
num2=10
addition=num1+num2
Function to
print(“Hello World”) display
content on
console
num=int(input("Enter number"))
square=num*2
num1=5
num2=10
addition=num1+num2
print(“Hello Word”)
num=int(input("Enter number")) Function to
takeConverting
input
square=num*2 user
from userinput into
integer