
Mathematical Library Methods
Quiz by Kavitha Praseed
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
- Q1
Which of the following syntax is the correct one to find the square root of a number?
Math.sqrt(a)
None
sqrt(a)
Squareroot(a)
45s - Q2
Give the output of the Math.abs(x); when x=-89.99
-89.99
89.99
-89
90.0
45s - Q3
Name the class that is used for different Mathematical functions.
None
java.Sqrt
java.Power
java.Math
30s - Q4
What type of value is returned by Math.pow()?
int
double
long
float
30s - Q5
What type of value is returned by Math.random()?
long
float
double
int
30s - Q6
Which of the following does not find the square of a number?
Math.pow(a,2)
a*a
All of the above
Math.sqrt(a)
30s - Q7
Give the ouput of the function Math.floor(-99.51)
100
-99
99
-100
30s - Q8
Give the output of the function Math.ceil(-6.35)
-6.0
-7.0
7.0
6.35
30s - Q9
Give the output of the function Math.abs(Math.max(-81,-87))
87
81
87.0
81.0
30s - Q10
Give the output of the function Math.pow(2,4)
16
16.0
8.0
8
30s