JS Skill #1

JS Skill #1

12th Grade

12 Qs

quiz-placeholder

Similar activities

Evaluación Final POO

Evaluación Final POO

12th Grade - University

14 Qs

Block Code Quiz - Express Code

Block Code Quiz - Express Code

9th - 12th Grade

15 Qs

Introduction to Basics

Introduction to Basics

9th - 12th Grade

12 Qs

Scratch - Lesson 3 - Creating game

Scratch - Lesson 3 - Creating game

6th - 12th Grade

12 Qs

If Statement C++

If Statement C++

8th - 12th Grade

14 Qs

Apple Swift Coding I - Lesson 1 & 2

Apple Swift Coding I - Lesson 1 & 2

9th - 12th Grade

11 Qs

PLTW Final Review Part 2

PLTW Final Review Part 2

9th - 12th Grade

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