
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
12 questions
TXT
Quiz
•
1st - 12th Grade
14 questions
End of Unit 3 Quiz Review
Quiz
•
6th - 12th Grade
12 questions
CA DMV Quiz
Quiz
•
9th - 12th Grade
10 questions
ISIZULU - Isifundo 4
Quiz
•
1st Grade - University
10 questions
SKT5-2.1.3 SQL: MEMBINA PANGKALAN DATA
Quiz
•
11th Grade
17 questions
Christmas Movies
Quiz
•
11th Grade
10 questions
German Greetings and Farewells
Quiz
•
7th - 12th Grade
15 questions
Zamir
Quiz
•
KG - University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
