
Pre-defined Methods - September 5, 2025
Authored by Cecille Godin
Information Technology (IT)
11th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will Math.abs(-15) return?
-15
15
0
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following rounds up a decimal number to the nearest integer?
Math.floor()
Math.round()
Math.ceil()
Math.abs()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will Math.floor(4.9) return?
5.0
4.0
4
3.0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method gives the natural logarithm (base e) of a number?
Math.log10()
Math.log()
Math.exp()
Math.sqrt()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The output of Math.sqrt(-100) is:
-10
-10.0
10.0
error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to return the largest of two numbers?
Math.greater()
Math.bigger()
Math.max()
Math.min()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of Math.pow(2, 4)?
8.0
16.0
32.0
64.0
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?