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?
JS Skill #1
Quiz
•
Computers
•
12th Grade
•
Hard
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
Which is the output?
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.
4.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Choose the best option for declaring an Euler constant
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
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
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?
12 questions
HTML & CSS
Quiz
•
10th - 12th Grade
15 questions
JavaScript and Graphics
Quiz
•
9th - 12th Grade
10 questions
JS PRACTICE - TEST ERRORS
Quiz
•
12th Grade
12 questions
Coding and Robotics
Quiz
•
8th - 12th Grade
10 questions
JavaScript Cert Prep
Quiz
•
9th - 12th Grade
12 questions
JavaScript Practices #5
Quiz
•
12th Grade
13 questions
BE METER REVIEW #4
Quiz
•
12th Grade
12 questions
BJC Unit 2 Concepts Review
Quiz
•
10th Grade - University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University