Arithmetic Operators Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

+

A

Addition - Adds values on either side of the operator

ex. a + b = 20

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

-

A

Addition - Adds values on either side of the operator

ex. a - b = 10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

*

A

Multiplication - Multiplies on either side of the operator

ex a * b = 20

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

/

A

Division - Divides values on either side of the operator

ex a / b = 5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

%

A

Modulus Operator - Divides left hand operand by right hand operand and returns remainder
ex. b % a will return 0 if b is 20 and a is 10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

**

A

Exponent - performs exponential calculation on operators a**b will give a to the power of b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly