Java Math

Java Math

1st - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Loops

Loops

9th - 12th Grade

10 Qs

Python Math

Python Math

1st - 12th Grade

10 Qs

Java switch/for/while

Java switch/for/while

9th - 12th Grade

15 Qs

String Method

String Method

10th Grade

10 Qs

Class X - Java 1

Class X - Java 1

10th Grade

15 Qs

Computer Quiz

Computer Quiz

9th Grade

12 Qs

Basics in Java

Basics in Java

9th - 12th Grade

15 Qs

Java  Quiz (Who knows java best?)

Java Quiz (Who knows java best?)

7th - 10th Grade

10 Qs

Java Math

Java Math

Assessment

Quiz

Computers

1st - 12th Grade

Hard

Created by

Syahrul Affendi

Used 53+ 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?