FST Class 2023- Quiz 8

FST Class 2023- Quiz 8

University

10 Qs

quiz-placeholder

Similar activities

LA7.C7: Turtle Graphics

LA7.C7: Turtle Graphics

9th Grade - University

14 Qs

Basic on Operating System

Basic on Operating System

University

10 Qs

Pythonintro

Pythonintro

University

15 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Topic 4-2: Multiple if-else and switch-case

Topic 4-2: Multiple if-else and switch-case

University

10 Qs

6-文件操作

6-文件操作

University

10 Qs

Introduction to AI - Healthcare & Business

Introduction to AI - Healthcare & Business

University - Professional Development

10 Qs

MS Excel - Day 04

MS Excel - Day 04

University

10 Qs

FST Class 2023- Quiz 8

FST Class 2023- Quiz 8

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

FunctionUp School of Technology

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript object provides mathematical functions and constants?

`Math`

`Calc`

`Arithmetic`

`Number`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of `Math.PI` in JavaScript?

Approximately 3.14

Approximately 2.71

Approximately 1.61

Exactly 3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To find the nearest integer greater than or equal to a given number `x`, you can use:

`Math.ceil(x)`

`Math.floor(x)`

`Math.round(x)`

`Math.min(x)`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which `Math` method is used to calculate the square root of a number?

`Math.sqrt(x)`

`Math.squareRoot(x)`

`Math.pow(x, 0.5)`

`Math.square(x)`

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How can you generate a random integer between 1 and 100 (inclusive) in JavaScript using the `Math` object?

`Math.random(1, 100)`

`Math.floor(Math.random() * 100) + 1`

`Math.random() * 100 + 1`

`Math.ceil(Math.random() * 100)`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the JavaScript `Date` object represent?

A specific time and date

Mathematical calculations

A string of characters

A conditional statement

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the correct way to create a `Date` object representing the current date and time?

`new Date()`

`Date.current()`

`new Date.now()`

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?