Algorithm design and
problem solving (part 2)
14 – November – 2024
By Mrs. Omema Humza
Pseudo code
• Declaration & Usage of Variables & Constants
• Variable – Store of data which changes during execution of the program (due
to user input)
• Constant – Store of data that remains the same during the execution of the
program
• Basic Data Types
• Integer – Whole Number e.g. 2; 8; 100
• Real – Decimal Number e.g. 7.00; 5.64
• Char – Single Character e.g. a; Y
• String – Multiple Characters (Text) e.g. ZNotes; COOL
• Boolean – Only 2 Values e.g. True/False; Yes/No; 0/1