Algorithms are step by step instructions to solve a problem
are step by step instructions to solve a problem
Variable
A variable is a named space in computers memory where we store things or change the things that are stored in the memory.
3 types :
written description , flowcharts and Pseudocode
Arithmetic Operators
Addition
Subtraction
Division
Multiplication
integer division (//)
Exponential (**)
Modulus (the reminder after the division) (%)
Logical operators
AND , OR , NOT
Relational operators
Less than<
Less than or equal to <=
Greater than >
Greater than or equal to >=
Not equals to !=
Equals to =
Shapes and their function in the Flowchart
Oval kind of shape - start and end
rectangle but w/ curves - process
Diamond - Decision
Parallelogram- input / output
Arrows-Connect