
KA JS Logic & Conditionals
Computers
KG - University
Used 98+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is NOT an operator you can use in JavaScript conditional expressions?
&&
||
!
**
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the && operator do, when used in a JS logical expression?
Evalute to true if both values are true
Evalute to true if at least one value is true
Evalute to true if both values are false
Evalute to true if at least one value is false
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the || operator do, when used in a JS logical expression?
Evalute to true if both values are true
Evalute to true if at least one value is true
Evalute to true if both values are false
Evalute to true if at least one value is false
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If isWarmOutside is true and isRaining is false, which of these expressions is true?
isWarmOutside && isRaining
isWarmOutside && !isRaining
!isWarmOutside || isRaining
isWarmOutside > isRaining
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is NOT an operator that you can use in JS to compare 2 values?
>
<
<~
>=
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If y is 335, which of these expressions is true?
y > 330
y < 335
y > 335
y <= 330
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If x is 225, which of these expressions is NOT true?
x > 220
x < 230
x >= 225
x < 225
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?