Javascript Quiz 2
Quiz
•
Computers
•
11th Grade
•
Hard
ARTURO PARIÑAS
Used 22+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
12 questions
HTML
Quiz
•
9th - 12th Grade
20 questions
Electrónica básica
Quiz
•
1st Grade - Professio...
10 questions
conditional and iterative statements
Quiz
•
11th Grade
15 questions
ôn tập chỉnh ảnh và làm phim
Quiz
•
11th Grade
20 questions
Primary storage
Quiz
•
9th - 11th Grade
10 questions
Kuis tipedata, flowchart informatima kelas X j4njang SMA
Quiz
•
9th - 12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
13 questions
Halloween Movie Trivia
Quiz
•
9th - 12th Grade
7 questions
Halloween - Myths & Legends
Interactive video
•
10th - 12th Grade
