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
How many choices are possible when using a single if-else statement?
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 Wayground
16 questions
Python programming

Quiz
•
6th - 12th Grade
15 questions
Python - тест

Quiz
•
1st - 12th Grade
13 questions
Dojo - Type Inference

Quiz
•
1st - 12th Grade
12 questions
Java Script 1.4. Массивы

Quiz
•
1st - 12th Grade
10 questions
Session 1

Quiz
•
9th - 12th Grade
10 questions
Đề 1

Quiz
•
9th - 12th Grade
14 questions
Interactive Animations and Games from code.org

Quiz
•
7th - 12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade