JS Skill #1

JS Skill #1

12th Grade

12 Qs

quiz-placeholder

Similar activities

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

AI Checkpoint 1 Revision

AI Checkpoint 1 Revision

9th - 12th Grade

16 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Review

Review

9th - 12th Grade

10 Qs

ESBWB Workbook Domain 1 Lesson 2

ESBWB Workbook Domain 1 Lesson 2

9th - 12th Grade

15 Qs

JavaScript 2

JavaScript 2

12th Grade

10 Qs

evolution of computer

evolution of computer

9th - 12th Grade

14 Qs

JS Skill #1

JS Skill #1

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Nixon López

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...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

var ceil= Math.ceil(100.5);

var floor= Math.floor(100.5);

var round= Math.trunc(100.5);

What are the final values for the three variables?

ceil = 101

floor = 100

round = 100

ceil = 100

floor = 101

round = 100

ceil = 101

floor = 100

round = 101

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

Which is the output?

Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

You are developing a web page that uses JavaScript. The script needs to display information to the user using a popup box.

Match each function that displays a popup box with its appropriate scenario.

Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Choose the best option for declaring an Euler constant

Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

You work for Fabrikm inc. you have to create a function that meets the following requirements:

  • The function must return the product name, weight and income.

  • The entries must be in the appropriate currency format according to the regional configuration of the equipment.

  • The weight must have a format with two digits behind the decimal separator.

Choose the best option

Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

You analyze the following code fragment.

The call to the multiply function on line 19 returns 6

Yes

No

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

You are creating JavaScript code that manipulates dates. You want to initialize a Date object with the date November 12 , 2017 by using the year, month, and date parameters.
How should you complete the code?

Media Image
Media Image
Media Image

Create a free account and access millions of resources

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?