Pre-defined Methods - September 5, 2025

Pre-defined Methods - September 5, 2025

11th Grade

30 Qs

quiz-placeholder

Similar activities

GEN ИНФО 3-АЙ 2-АПТА

GEN ИНФО 3-АЙ 2-АПТА

11th Grade

30 Qs

Year 8 Kodu Assessment

Year 8 Kodu Assessment

7th Grade - University

28 Qs

Asesmen Pemrograman Kecerdasan Buatan

Asesmen Pemrograman Kecerdasan Buatan

11th Grade

30 Qs

Latihan_1_Faiwoy

Latihan_1_Faiwoy

9th Grade - University

33 Qs

Пайтон

Пайтон

11th Grade

27 Qs

Quiz AI - Classification and AI Lab

Quiz AI - Classification and AI Lab

8th Grade - University

30 Qs

File Management

File Management

9th - 12th Grade

28 Qs

Power Point

Power Point

7th - 12th Grade

28 Qs

Pre-defined Methods - September 5, 2025

Pre-defined Methods - September 5, 2025

Assessment

Quiz

Information Technology (IT)

11th Grade

Medium

Created by

Cecille Godin

Used 8+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?