Java Math and String Libraries

Java Math and String Libraries

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?