
JS Basics Quiz
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Medium
Michael Garcia
Used 2+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the data type for the phoneNumber variable?
Quel est le type de données pour la variable de numéro de téléphone?
String
Number
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the data type for the ageInput variable?
Quel est le type de données de la variable ageInput?
String
Number
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in JavaScript?
A section of the document
A type of JavaScript data
A container for storing data values
A command that performs a specific action
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid variable name in JavaScript?
_myVar
2ndVar
$myVar
myVar123
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in JavaScript?
var myVariable;
variable myVariable;
v myVariable;
declare myVariable;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is NOT supported in JavaScript?
String
Number
Character
Boolean
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet? ```javascript var x = 10; var y = "20"; var z = x + y; ```
30
"1020"
"30"
1020
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
Already have an account?
Similar Resources on Wayground
13 questions
topologies
Quiz
•
7th - 8th Grade
10 questions
Sound File Formats
Quiz
•
8th Grade
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
20 questions
Quiz
•
7th - 12th Grade
15 questions
Creating Illustrations
Quiz
•
7th - 8th Grade
20 questions
M1_Final_Quiz1_2017
Quiz
•
7th - 8th Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
12 questions
Creating Webpages
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
