How many choices are possible when using a single if-else statement?
Javascript Quiz 2

Quiz
•
Computers
•
11th Grade
•
Hard
ARTURO PARIÑAS
Used 22+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Javascript code matches this statement:
Their name is Kim and they are less than 16 years old
if (name = "Kim" && age < 16 )
if (name = "Kim" || age < 16 )
if (name === "Kim" && age < 16 )
if (name === "Kim" || age < 16 )
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Javascript code matches this statement:
The player's health is 0 and they still have a life remaining.
if (health == "0" && lives > "0")
if (health === 0 && lives >= 0)
if (health <1 && lives > 0)
if (health === 0 && lives > 0)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Javascript code matches this statement:
The player has gathered at least 300 coins or reached the end of the level.
if ("coins" >= 300 && "end" == true)
if (coins >= 300 || end == true)
if ("coins" >= 300 OR "end" == true)
if ("coins" >= 300 || "end" == true)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What kind of statement is an If statement?
comparison statement
anecdotal statement
conditional statement
looping statement
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What kind of operators do If statements use to test conditions?
comparison operators
arithmetic operators
array operators
bitwise operators
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when an If statements conditional is not true?
the if statement executes
Nothing happens
the if statement start over
all options are correct
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Documente Web. Formatul HTML

Quiz
•
9th Grade - University
20 questions
Ôn tập HKI

Quiz
•
11th Grade
20 questions
Java Casting & Booleans

Quiz
•
10th - 12th Grade
10 questions
Advanced Java Study Guide

Quiz
•
11th - 12th Grade
15 questions
HTML Quiz

Quiz
•
7th - 12th Grade
14 questions
CSAwesome 3.6.1Equivalent Boolean Expressions

Quiz
•
9th - 12th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
20 questions
Bài TX1 - HK2 - Tin học 11

Quiz
•
11th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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