JavaScript Basics Review
Quiz
•
Computers
•
7th - 12th Grade
•
Hard
Joseph Maxwell
Used 83+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Where does JavaScript code go in an HTML document?
<script> tag
<html> tag
<style> tag
<button> tag
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can a developer show a pop-up message to the user?
alert
prompt
console.log
<p> tag
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following will successfully display a message to the user?
Alert(Hello, user);
alert("Hello, " user);
Alert("Hello, user");
alert("Hello, user");
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following will successfully display a message to the user?
alert("hello, " + "user");
Alert("hello, " + user);
alert("hello", + "user");
alert("Hello, " + user";
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this line of code do?
Declares AND sets a variable
Declares a variable
Sets a variable
Adds a value to a variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is NOT necessary when setting a variable?
variable name
equals sign
value to set the variable to
"var" keyword
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which message will the user see?
"I think you want a Sword I think"
Depends what they answer
"you want a Sword I think"
"thinkingMessage + messageToShow + thinkingMessage"
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
20 questions
e-safety
Quiz
•
7th Grade
15 questions
7ICT - Algorithms Revision Quiz
Quiz
•
7th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
20 questions
Payment Gateways
Quiz
•
8th Grade
20 questions
Online Platform Block Q
Quiz
•
11th - 12th Grade
15 questions
emptech L1 A
Quiz
•
12th Grade
20 questions
ตอบปัญหาคอมพิวเตอร์st
Quiz
•
9th - 12th Grade
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
