
Introduction to JavaScript Quiz
Quiz
•
Other
•
11th Grade
•
Practice Problem
•
Hard
Standards-aligned
Johnnie Rascoe
Used 16+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
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
10 questions
Bài tập biến mảng
Quiz
•
1st Grade - University
12 questions
Italian Greetings
Quiz
•
KG - 11th Grade
10 questions
Ninjago. Who am I?
Quiz
•
KG - Professional Dev...
15 questions
Introduction to HTML
Quiz
•
9th - 12th Grade
15 questions
christmas music trivia
Quiz
•
5th Grade - Professio...
8 questions
Java
Quiz
•
1st - 12th Grade
10 questions
Anime
Quiz
•
KG - Professional Dev...
10 questions
CompThink: Caesar Ciphers
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
16 questions
ACT English - Grammar Practice #2
Quiz
•
11th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
