JS Skill #1

JS Skill #1

12th Grade

12 Qs

quiz-placeholder

Similar activities

Scratch

Scratch

8th - 12th Grade

15 Qs

BE MTA REVIEW #6

BE MTA REVIEW #6

12th Grade

17 Qs

JS PRACTICE - TEST ERRORS

JS PRACTICE - TEST ERRORS

12th Grade

10 Qs

Cuestionario de Certificación JS 2024

Cuestionario de Certificación JS 2024

12th Grade

17 Qs

Coding and Robotics

Coding and Robotics

8th - 12th Grade

12 Qs

BE METER REVIEW #4

BE METER REVIEW #4

12th Grade

13 Qs

JavaScript Control Structures Basic

JavaScript Control Structures Basic

12th Grade

11 Qs

Python - day 1

Python - day 1

11th - 12th Grade

12 Qs

JS Skill #1

JS Skill #1

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Nixon López

Used 3+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?