
Introduction to JavaScript Quiz

Quiz
•
Other
•
11th Grade
•
Hard
Standards-aligned
Johnnie Rascoe
Used 10+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 15 pts
What is the correct syntax to output "Hello World" in JavaScript?
`print("Hello World")`
`console.log("Hello World")`
`echo "Hello World"`
`System.out.println("Hello World")`
Tags
DOK Level 1: Recall
2.
MULTIPLE CHOICE QUESTION
1 min • 15 pts
Which of the following is a correct way to declare a variable in JavaScript?
`var myVar;`
`variable myVar;`
`v myVar;`
`declare myVar;`
Tags
DOK Level 1: Recall
3.
MULTIPLE CHOICE QUESTION
1 min • 15 pts
What is the output of the following code? ```javascript var x = 5; var y = 10; console.log(x + y); ```
`15`
`510`
`undefined`
`NaN`
Tags
DOK Level 1: Recall
4.
MULTIPLE CHOICE QUESTION
1 min • 15 pts
Which of the following is NOT a data type in JavaScript?
`String`
`Number`
`Boolean`
`Character`
Tags
DOK Level 1: Recall
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the value of `typeof null` in JavaScript?
`null`
`object`
`undefined`
`boolean`
Tags
DOK Level 1: Recall
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following is used to declare a constant in JavaScript?
`var`
`let`
`const`
`constant`
Tags
DOK Level 1: Recall
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will be the output of the following code? ```javascript let a = 10; a = 20; console.log(a); ```
`10`
`20`
`undefined`
`Error`
Tags
DOK Level 1: Recall
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
G21 10 ZAMORA

Quiz
•
9th - 12th Grade
15 questions
DBZBS-Dikkat ve Bilgisayar Zekası Beceri Sınavı

Quiz
•
4th Grade - University
10 questions
Coding in the NFL

Quiz
•
11th Grade
15 questions
Günler, Aylar ve Mevsimler

Quiz
•
7th - 12th Grade
15 questions
genel kültür

Quiz
•
11th Grade
17 questions
Christmas Movies

Quiz
•
11th Grade
10 questions
Web Design: intro to Javascript

Quiz
•
10th - 12th Grade
10 questions
JavaScript - 2

Quiz
•
11th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Other
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade