JavaScript Basics Review
Quiz
•
Computers
•
7th - 12th Grade
•
Practice Problem
•
Hard
Joseph Maxwell
Used 85+ 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
Already have an account?
Similar Resources on Wayground
16 questions
Input Device
Quiz
•
9th - 10th Grade
20 questions
ÔN TẬP WHILE DO VÀ FOR TO DO
Quiz
•
8th Grade
20 questions
Bài tập về chương trình con
Quiz
•
11th Grade
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
20 questions
Latihan Soal Administrasi Infrastruktur Jaringan XII TKJ
Quiz
•
10th - 12th Grade
20 questions
Теги HTML
Quiz
•
10th Grade
20 questions
Html - язык гипертекстовой разметки
Quiz
•
10th Grade
15 questions
HTML Quiz
Quiz
•
11th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
