Search Header Logo

Java Math

Authored by Syahrul Affendi

Computers

1st - 12th Grade

Used 53+ times

Java Math
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the displayed value for Java coding below:


System.out.println(Math.min(100, 200, 300, 400));

100

200

300

400

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the displayed value for Java coding below:


System.out.println(Math.max(100, 200, 300, 400));

100

200

300

400

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the displayed value for Java coding below:


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

7.25

+7.25

-7.25

+7.25-

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the displayed value for Java coding below:


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

6561

6424

64

24

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the displayed value for Java coding below:


System.out.println(Math.PI);

3.141592653589793

3.142

31.41592653589793

π

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the displayed value for Java coding below:


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

3

2

2.5

3.5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the displayed value for Java coding below:


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

3

2

2.5

3.5

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?