
Review Lesson 15

Quiz
•
Education
•
6th - 8th Grade
•
Medium
Arif Rahman
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is JavaScript primarily used for?
Designing web layouts
Creating static content on websites
Adding interactivity and dynamic behavior to websites
Managing databases
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to include JavaScript internally in an HTML file?
<script type = text/javascript>
<script> <javascript>
<javascript>
<script> javascript </script>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code do?
alert("Welcome to the website!");
Displays a pop-up message with "Welcome to the website!"
Writes "Welcome to the website!" on the webpage
Logs "Welcome to the website!" to the console
Changes the title of the webpage
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code do?
Opens a dialog box displaying "Hello, world!"
Writes "Hello, world!" on the webpage
Outputs "Hello, world!" to the browser console
Replaces the webpage content with "Hello, world!"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct way to declare a variable in JavaScript?
variable x = 10;
var x = 10;
declare x = 10;
let x == 10;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output?
let name = "John";
let age = 25;
document.write("Name: " + name + ", Age: " + age);
Name: , Age:
Name: John, Age: 25
John25
Name + name, Age + age
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between alert() and document.write()?
alert() writes on the webpage, while document.write() shows a pop-up
alert() shows a pop-up, while document.write() writes on the webpage
Both do the same thing
alert() works offline, and document.write() works online
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Spanish|Semester 2|6th Grade

Quiz
•
6th Grade
11 questions
Super Cooper Sunday Quiz

Quiz
•
KG - Professional Dev...
14 questions
И09-03-Учет понятия об информационной безопасности при создании

Quiz
•
8th Grade
10 questions
Talent shows. Prepare 6. Unit 17.

Quiz
•
6th Grade
10 questions
General questions

Quiz
•
6th - 8th Grade
10 questions
informatika kelas 9

Quiz
•
8th Grade
5 questions
Atividade Programação Criação Páginas

Quiz
•
8th Grade
15 questions
INDONESIA'S INDEPENDENCE DAY

Quiz
•
3rd - 6th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers

Quiz
•
7th Grade
20 questions
Figurative Language Review

Quiz
•
8th Grade
30 questions
Math Fluency: Multiply and Divide

Quiz
•
7th Grade