Modern JavaScript from the Beginning - Second Edition - Logical Operators

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Quizizz Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression '10 > 20 && 30 > 15'?
true
false
undefined
null
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the expression '10 && 20 && 0', what value is returned?
10
20
undefined
0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the OR operator (||) determine the result of an expression?
Returns the first falsy value
Returns the last truthy value
Returns the first truthy value
Returns the last falsy value
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the expression '0 || null || ""' return?
null
0
undefined
""
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the nullish coalescing operator (??) return when the left operand is null?
The left operand
The right operand
undefined
null
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator would you use to return the right operand only if the left is null or undefined?
??
==
||
&&
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the expression 'undefined ?? 20', what value is returned?
0
null
20
undefined
Similar Resources on Wayground
6 questions
Quick JavaScript Crash Course - Modern and Advanced JavaScript - Nullish-Coalescing-Operator

Interactive video
•
University
8 questions
Quick JavaScript Crash Course - Modern and Advanced JavaScript - Logical Operators

Interactive video
•
University
2 questions
The Modern JavaScript Bootcamp (2019) - Truthy and Falsy Values

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

Interactive video
•
University
2 questions
The Modern JavaScript Bootcamp (2019) - Type Coercion

Interactive video
•
University
8 questions
JavaScript Masterclass - Zero to Job-Ready with Hands-On Projects - Type Conversion / 017

Interactive video
•
University
4 questions
Modern JavaScript from the Beginning - Second Edition - Logical Assignment

Interactive video
•
University
2 questions
Modern JavaScript from the Beginning - Second Edition - Logical Assignment

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