Mathematical Library Methods in Java Quiz

Quiz
•
Computers
•
9th Grade
•
Easy
Rati Soni
Used 4+ 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
Similar Resources on Wayground
10 questions
Moringa JavaScript Arrays

Quiz
•
5th Grade - Professio...
15 questions
Comparing Python, Java, and JavaScript

Quiz
•
9th Grade - University
12 questions
Java Quiz 1

Quiz
•
9th Grade
10 questions
COM 211

Quiz
•
1st - 10th Grade
10 questions
Introduction To Java: Hello World

Quiz
•
7th - 12th Grade
15 questions
JS Talks, Quiz #5

Quiz
•
1st - 12th Grade
10 questions
Quiz Javascript Basic Pertemuan 3

Quiz
•
9th - 12th Grade
15 questions
Pseudocode and Flowcharts - Computer Science

Quiz
•
KG - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade