Java Math

Java Math

1st - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Arrays Unit 6 AP CSA

Arrays Unit 6 AP CSA

10th - 12th Grade

14 Qs

Codehs Unit 6

Codehs Unit 6

10th - 12th Grade

14 Qs

Arrays Unit 6 Computer Science

Arrays Unit 6 Computer Science

10th - 12th Grade

14 Qs

AP CSA Java Arrays

AP CSA Java Arrays

10th - 12th Grade

14 Qs

Programación Java

Programación Java

1st Grade

10 Qs

Loops

Loops

9th - 12th Grade

12 Qs

CodeHS While Loops

CodeHS While Loops

9th - 12th Grade

12 Qs

[Java] Review of User Input & Basic Arithmetic Operators

[Java] Review of User Input & Basic Arithmetic Operators

9th - 12th Grade

11 Qs

Java Math

Java Math

Assessment

Quiz

Computers

1st - 12th Grade

Hard

Created by

Syahrul Affendi

Used 52+ times

FREE Resource

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

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?