
Java Math and String Libraries
Computers
9th - 12th Grade
Used 115+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of num?
double num = Math.pow(2, 5);
10.0
7.0
32.0
25.0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of num?
double num = Math.sqrt(49);
7
7.0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of num?
double num = Math.floor(123.75);
123.0
124.0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of num?
double num = Math.ceil(45.17);
45.0
46.0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of num?
double num = Math.abs(-1.28);
1.28
-1.28
1.3
1.2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of num?
double num = Math.max(100, 200);
100.0
200.0
300.0
150.0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of num?
double num = Math.min(100,200);
100.0
200.0
150.0
300.0
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?