
JavaScript Exercise Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
WaiLin Htet
Used 1+ times
FREE Resource
Enhance your content in a minute
85 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct syntax for referring to an external script called "app.js"?
<script href="app.js">
<script src="app.js">
<script ref="app.js">
<script link="app.js">
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you write "Hello World" in an alert box?
alertBox("Hello World");
msg("Hello World");
alert("Hello World");
message("Hello World");
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which operator is used to assign a value to a variable?
=
==
===
:=
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will typeof null return?
"null"
"object"
"undefined"
"string"
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you create a function in JavaScript?
function myFunction() {}
def myFunction() {}
function:myFunction() {}
myFunction() = function {}
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which method is used to add an element to the end of an array?
push()
pop()
shift()
unshift()
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you declare a variable in JavaScript?
var x;
variable x;
v x;
let = x;
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
80 questions
2526 9.1.1 - LATIHAN SOAL
Quiz
•
9th Grade
83 questions
BLUE PRISM_SET-1
Quiz
•
12th Grade
89 questions
1.1.1 Functionality of different hardware devices
Quiz
•
11th Grade
83 questions
Compilation Stages Vocabulary
Quiz
•
12th Grade
82 questions
Uji Pemahaman Sistem Komputer
Quiz
•
9th Grade
90 questions
Computer System
Quiz
•
11th Grade
83 questions
C4.1 Types of software and interrupts
Quiz
•
10th Grade
85 questions
Câu hỏi về Python_bai18_21
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Six Weeks Test 2 Review
Lesson
•
9th - 12th Grade
12 questions
Overview of Mexico Part 1
Lesson
•
9th - 12th Grade
16 questions
Lesson 3.5 - If Structures Practice
Quiz
•
11th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
