JavaScript Basics Review

Quiz
•
Computers
•
7th - 12th Grade
•
Hard
Joseph Maxwell
Used 83+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
Computer Basics

Quiz
•
5th - 10th Grade
20 questions
Y8 Python

Quiz
•
7th - 8th Grade
20 questions
Fundamentals to Hardware and Software

Quiz
•
10th - 11th Grade
20 questions
แบบทดสอบ MicroBit

Quiz
•
7th Grade
18 questions
python

Quiz
•
6th - 8th Grade
15 questions
Javascript

Quiz
•
10th - 12th Grade
20 questions
ICT Daily Test ( Javascript)

Quiz
•
8th Grade
20 questions
Google Knowledge

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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

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

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

Quiz
•
9th - 12th Grade