Mathematical Library Methods in Java Quiz

Mathematical Library Methods in Java Quiz

9th Grade

10 Qs

quiz-placeholder

Similar activities

Pengantar C/C++/Java

Pengantar C/C++/Java

1st - 12th Grade

9 Qs

Crash Course Computer Science #4 - Binary

Crash Course Computer Science #4 - Binary

9th - 12th Grade

15 Qs

JavaScript and Graphics

JavaScript and Graphics

9th - 12th Grade

15 Qs

CodeHS: Unit 6 - JavaScript Basics

CodeHS: Unit 6 - JavaScript Basics

9th Grade

15 Qs

Practice for CPA JavaScript quiz #4

Practice for CPA JavaScript quiz #4

9th - 12th Grade

15 Qs

java variables 1

java variables 1

9th - 12th Grade

13 Qs

MK Java for-Loop Quiz 2

MK Java for-Loop Quiz 2

8th - 12th Grade

10 Qs

Javascript

Javascript

KG - Professional Development

13 Qs

Mathematical Library Methods in Java Quiz

Mathematical Library Methods in Java Quiz

Assessment

Quiz

Computers

9th Grade

Easy

Created by

Rati Soni

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Java package includes the Math class?

java.sys

java.util

java.lang

java.io

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Give the output of Math.sqrt(x); when x = 9.

2.0

3.0

3.00

All of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Give the output of Math.ceil(46.6).

46.0

47.0

46.5

46.6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of Math.pow(2, 0)?

1.0

0.0

2.0

-1.0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Math.random() returns a double value r such that

0.0 <= r < 1.0

0.0 < r <= 1.0

0.0 <= r <= 1.0

0.0 < r < 1.0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a method to find the square root of a number?

FindSquareroot(x)

Math.sqrt(x)

Sqrt(x)

Math.Square(x)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Give the output of Math.floor(46.6)?

46.5

46.0

47.0

-46.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?