
Java Math and String Libraries
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the value of num?
double num = Math.pow(2, 5);
Back
32
2.
FLASHCARD QUESTION
Front
What is the value of num?
double num = Math.sqrt(49);
Back
7.0
3.
FLASHCARD QUESTION
Front
What is the value of num?
double num = Math.floor(123.75);
Back
123
4.
FLASHCARD QUESTION
Front
What is the value of num?
double num = Math.ceil(45.17);
Back
46
5.
FLASHCARD QUESTION
Front
What is the value of num?
double num = Math.abs(-1.28);
Back
1.28
6.
FLASHCARD QUESTION
Front
What is the value of num?
double num = Math.max(100, 200);
Back
200
7.
FLASHCARD QUESTION
Front
What is the value of num?
double num = Math.min(100,200);
Back
100
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?