Core Java Programming Course- Math Class
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a unique feature of the Math class in Java?
It is not part of Java Lang package.
It has static methods.
It requires object instantiation.
It only supports addition and subtraction.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method would you use to find the maximum of two numbers using the Math class?
Math.pow
Math.sqrt
Math.max
Math.min
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you find the value of π using the Math class?
Math.pow
Math.exp
Math.sqrt
Math.PI
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will Math.pow(2, 10) return?
10
100
1024
200
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Math.ceil method do?
Finds the square root of a number.
Rounds a number down to the nearest integer.
Rounds a number to the nearest integer based on decimal value.
Rounds a number up to the nearest integer.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you use Math.round on 12.98, what will be the result?
11
13
10
12
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What range of values does Math.random generate?
Between 1 and 10.
Between -1 and 1.
Between 0 and 1, exclusive.
Between 0 and 1, inclusive.
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade