Computational Thinking and Programming
Computational Thinking and Programming
Pseudocode
Learning Objectives
Terms used
Term Meaning
Shape Purpose
Python code
Variables Used
Note:
What is Pseudocode?
• Pseudocode uses English-like language that looks similar to code but isn’t
real code.
Purpose of Pseudocode
• Does not follow strict syntax rules, unlike real programming languages.
b) Adding them
Flowchart
Pseudocode
INPUT num1
INPUT num2
OUTPUT answer
Python
num1 = int(input())
num2 = int(input())
print(answer)
What is a Variable?
❖ name ← INPUT
❖ name = INPUT
❖ READ name
❖ name = Console.Read
c) Must include: