Computer Science Programming Basics - Operators

?
The arithmetic operators do this
Take two values and perform a maths function on them
1 of 10
These are the operators involved
Addition, subtraction, multiplication, division, exponentiation, DIV and MOD
2 of 10
This operator is used to raise a number to a power
Exponentiation operator
3 of 10
This operator returns the whole number part of a division
DIV operator
4 of 10
This operator gives the remainder part of a division
MOD
5 of 10
The operators follow this rule
BIDMAS/BODMAS
6 of 10
This operator is used to assign values to constants or variables
Assignment operator
7 of 10
This should be on the left side of the =
The name of the constant or variable
8 of 10
This should be on the right side of the =
Whatever you're assigning it to
9 of 10
This operator compares the expresson on the left side to the expression on the right side, and produces a boolean value
Comparison Operator
10 of 10

Other cards in this set

Card 2

Front

These are the operators involved

Back

Addition, subtraction, multiplication, division, exponentiation, DIV and MOD

Card 3

Front

This operator is used to raise a number to a power

Back

Preview of the front of card 3

Card 4

Front

This operator returns the whole number part of a division

Back

Preview of the front of card 4

Card 5

Front

This operator gives the remainder part of a division

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Programming resources »