Java Math and String Libraries

Java Math and String Libraries

9th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

Python Final 052224 - 3

Python Final 052224 - 3

10th Grade

12 Qs

Python Variables and Properties

Python Variables and Properties

9th - 12th Grade

16 Qs

Python Programming

Python Programming

5th Grade - University

15 Qs

Programming_Grade11_Term3_Week02

Programming_Grade11_Term3_Week02

11th Grade

10 Qs

Python Quiz

Python Quiz

3rd Grade - Professional Development

11 Qs

JavaScript and Graphics

JavaScript and Graphics

9th - 12th Grade

15 Qs

Unit 6-Lesson 18: Assessment Day

Unit 6-Lesson 18: Assessment Day

9th - 12th Grade

15 Qs

Diagramas de Flujo

Diagramas de Flujo

6th - 9th Grade

16 Qs

Java Math and String Libraries

Java Math and String Libraries

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Used 113+ times

FREE Resource

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

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?