Log in
Sign up for FREE
arrow_back
Library

Math Methods Quiz

star
star
star
star
star
Last updated almost 2 years ago
10 questions
1
1
1
1
1
1
1
1
1
1
Question 1
1.

What is output by the code below?
System.out.println( Math.sqrt(49) );

Question 2
2.

What is output by the code below?
System.out.println( Math.floor(5.7) );

Question 3
3.

What is output by the code below?
System.out.println( Math.ceil(7.1) );

Question 4
4.

What is output by the code below?
System.out.println( Math.pow(3,2) );

Question 5
5.

What is output by the code below?
System.out.println( Math.round(5.2) );

Question 6
6.

What is output by the code below?
System.out.println( Math.pow( Math.sqrt(16),3) );

Question 7
7.

What is output by the code below?

System.out.println( Math.round( 10 / 4) );

Question 8
8.

What is output by the code below?

System.out.println( Math.round(10.0 /4) );

Question 9
9.

What is output by the code below?
System.out.println( Math.abs( -9 ) );

Question 10
10.

What is output by the code below?
System.out.println( Math.max(Math.min(9,5),11) );