Preskoči na glavni sadržaj
Prijava
Sign up for FREE
arrow_back
Biblioteka

Math Methods Quiz

star
star
star
star
star
Posljednje ažuriranje about 2 years ago
10
1
1
1
1
1
1
1
1
1
1
Pitanje 1
1.

What is output by the code below?

System.out.println( Math.sqrt(49) );

Pitanje 2
2.

What is output by the code below?

System.out.println( Math.floor(5.7) );

Pitanje 3
3.

What is output by the code below?

System.out.println( Math.ceil(7.1) );

Pitanje 4
4.

What is output by the code below?

System.out.println( Math.pow(3,2) );

Pitanje 5
5.

What is output by the code below?

System.out.println( Math.round(5.2) );

Pitanje 6
6.

What is output by the code below?

System.out.println( Math.pow( Math.sqrt(16),3) );

Pitanje 7
7.

What is output by the code below?

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

Pitanje 8
8.

What is output by the code below?

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

Pitanje 9
9.

What is output by the code below?

System.out.println( Math.abs( -9 ) );

Pitanje 10
10.

What is output by the code below?

System.out.println( Math.max(Math.min(9,5),11) );