Java Math

Java Math

1st - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Programming in Java

Programming in Java

8th Grade

10 Qs

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

world of coding

world of coding

3rd - 6th Grade

10 Qs

For Loops

For Loops

9th - 12th Grade

10 Qs

Loop

Loop

9th - 12th Grade

10 Qs

Coding in Minecraft #1

Coding in Minecraft #1

7th - 8th Grade

10 Qs

Java Print Statements Warm-Up

Java Print Statements Warm-Up

9th - 12th Grade

10 Qs

Java Basics

Java Basics

9th - 12th Grade

6 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?