WorksheetsJava Math class methods
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
What will the result be?
Math.pow (3, 2)
a)
9
b)
6
c)
5
d)
4
2.
What will the result be?
Math.abs( -5)
a)
5
b)
-5
c)
2
d)
6
3.
What will the result be?
Math.round( - 3.8)
a)
- 4
b)
4
c)
4.5
d)
- 5
4.
What will the result be?
Math.sqrt(10000)
a)
100
b)
10
c)
1000
d)
90
5.
What will the result be?
Math.round( Math.sqrt(65))
a)
8
b)
7
c)
9
d)
10
6.
What will the result be?
Math.sqrt( 5 * 4 / 2 - 1 )
a)
3
b)
4
c)
9
d)
10
7.
What will the result be?
Math.round( 0.75)
a)
1
b)
0
c)
0.5
d)
0.7
8.
What will the result be?
Math.pow ( Math.round(4.75) , 2)
a)
25
b)
5
c)
36
d)
16
9.
What will the result be?
Math.pow(4, 0.5)
a)
2
b)
16
c)
4
d)
0
10.
What will the result be?
Math.pow ( 2, 5)
a)
64
b)
10
c)
2.5
d)
25
100 %
