Modern JavaScript from the Beginning - Second Edition - Type Coercion

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Quizizz Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of adding a number to a string in JavaScript?
The result is always NaN.
An error is thrown.
The string is converted to a number and added.
The number is converted to a string and concatenated.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When multiplying a string by a number, what does JavaScript do?
Converts the string to a number and multiplies.
Throws an error.
Concatenates the string with the number.
Returns NaN.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does JavaScript handle the addition of null to a number?
Converts null to zero and adds.
Returns NaN.
Converts null to one and adds.
Throws an error.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What numeric value does JavaScript assign to the boolean 'true'?
1
0
2
-1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you add undefined to a number in JavaScript?
The result is NaN.
The result is zero.
The result is undefined.
The result is the original number.
Similar Resources on Wayground
2 questions
Modern JavaScript from the Beginning - Second Edition - Data Types

Interactive video
•
University
2 questions
Frontend Web Development Bootcamp - Build a Twitter Clone - Type Coercion

Interactive video
•
University
3 questions
Modern JavaScript from the Beginning - Second Edition - Type Coercion

Interactive video
•
University
2 questions
Modern JavaScript from the Beginning - Second Edition - Type Conversion

Interactive video
•
University
5 questions
Type Conversion

Interactive video
•
University
2 questions
Full Stack Web Development MASTERY Course - Novice to Expert - Data Types in JavaScript

Interactive video
•
University
8 questions
Frontend Web Development Bootcamp - Build a Twitter Clone - Type Coercion

Interactive video
•
University
5 questions
Modern JavaScript from the Beginning - Second Edition - Type Conversion

Interactive video
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade