Operators Flashcards

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

+

A

Addition, e.g. 2+2 = 4

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

-

A

Subtraction, e.g. 4-2 = 2

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

/

A

Division, e.g. 8/4 = 2

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

*

A

Multiplication, e.g. 4*8 = 32

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

Exponentiation: when one number increases exponentially (the number of times) to another. The repeated multiplication of a number by itself, e.g. 2^4 = 16 (222*2 = 16)

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

MOD

A

Modulus: The remainder that is left over when a number is divided by another. Some programming languages will use the % symbol for MOD. E.g. 16 MOD 3 = 1 (16/3 = 5, with 1 left over)

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

DIV

A

Integer Division: Used to find the quotient (integer number before the decimal point) after division. Python uses // for this. E.g. 100 DIV 3 = 33 (actual value 33.33333333 repeating)

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