Arithmetic Functions Flashcards

1
Q

Arithmetic functions

A

Arithmetic functions enables you to code arithmetical operators- random, range, round, truncation- in a program.

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

Random

A

Generates a random number.

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

Range

A

Creates an array of elements using the range of values in the brackets.

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

Round

A

Rounds a number down to the nearest whole number.

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

Truncation

A

Rounds a number down to the number of decimal places in the brackets.

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