Arithmetic Flashcards

1
Q

3 = 2+1
What operation is used?

A

Addition

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

4-1 = 3
What operation is used?

A

Subtraction

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

2*2
What operation is used?

A

Multiplication

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

5/2
What operation is being used?

A

Division

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

What is floor division and give an example?

A

Floor division uses the // operator which truncates the decimal without rounding and returns an integer result.
e.g. 7//4 = 1

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

How do we get just the remainder after division?

A

The % operater returns the remainder after division.
7%4 = 3 because 4 goes into 7 once and the remainder is 3.

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

Give an example of the power operator

A

(Use ** to find the power)
e.g. 23 or 42 or 5**2

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

3+2 = ?

A

5

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

5-2 =

A

3

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

3*3 =

A

9

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

3/2 =

A

1.5

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

6//4 =

A

1

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

2**3 =

A

8

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

4*0.5

A

2.0

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

2 + 10 * 10 + 3 =

A

105

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

(2+10) * (10+3)

A

156

17
Q

Write an equation that uses multiplication, division, an exponent, addition and subtraction that is equal to 100.25

A

Answer may differ.

x = 1.25 + (528/2) -1
or
x = 37.25 + (4**3
2/2) -1

18
Q

What is the value of they expression 4 * (6 + 5)

A

44

19
Q

4 * 6 + 5

A

29

20
Q

4 + 6 * 5

A

34

21
Q

What is the type of result of the expression 3 + 1.5 + 4?

A

Floating point number

22
Q

5**2

A

25

23
Q

10 ** 2

A

100

24
Q

What are numbers in Python?

A

Python has various types of number. Integers for one, are just whole numbers positive or negative e.g. 2 and -2.
Floating point numbers have a decimal point or use exponential (e) to define numbers. e.g. 2.0 and -2.1 and 4E2 (4 times 10 to the power of 2)