Programs are designed using common building blocks, known as programming constructs. These programming constructs form the basis for all programs.
Part ofComputer ScienceComputational thinking, algorithms and programming
An operator is a character, or characters, that determine what action is to be performed or considered.
There are three types of operator that programmers use:
These operators are common to most high level programming languages.
Computers are designed to carry out calculations. Mathematical operators allow arithmetic to be performed on values.
Comparison operators allow for assignment and for comparisons to be made. They are used in condition testing.
Logical operators are used to combine logical operators to give more complex decisions.
You can find out more about Boolean algebra in the computational logic study guide.