Which Java package includes the Math class?
Mathematical Library Methods in Java Quiz

Quiz
•
Computers
•
9th Grade
•
Easy
Rati Soni
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Wayground
10 questions
Latihan Class Library

Quiz
•
9th - 12th Grade
10 questions
Computer Quiz(Java)(16-10-2020)

Quiz
•
9th Grade
14 questions
C++ - Loops and Random Numbers

Quiz
•
9th - 12th Grade
10 questions
AP CSA Unit 1 & 2 Review

Quiz
•
9th - 12th Grade
13 questions
JavaScript Variables

Quiz
•
3rd Grade - University
11 questions
Python strings

Quiz
•
8th - 9th Grade
15 questions
Unit 2 Test Review

Quiz
•
9th - 12th Grade
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade