JS Skill #1

JS Skill #1

12th Grade

12 Qs

quiz-placeholder

Similar activities

MTA Review #2

MTA Review #2

9th - 12th Grade

10 Qs

JS Practice

JS Practice

12th Grade

17 Qs

JavaScript Fundamentals

JavaScript Fundamentals

9th Grade - Professional Development

10 Qs

Advanced JS Part 1

Advanced JS Part 1

12th Grade

10 Qs

CodeHS 5.1

CodeHS 5.1

9th - 12th Grade

15 Qs

BE METER REVIEW #7

BE METER REVIEW #7

12th Grade

12 Qs

Scratch Vocabulary

Scratch Vocabulary

3rd Grade - University

9 Qs

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 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?