JavaScript Variables Quiz

Quiz
•
Computers
•
10th Grade
•
Hard
R. Mou
Used 7+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are variables in JavaScript similar to?
Puzzle pieces
Functions
Little boxes to store values
Strings
Loops
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is commonly used to declare a variable in JavaScript?
const
let
int
float
var
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you declare a variable without initializing it, what is it called?
Uninitialized
Null
Empty
Undefined
Zeroed
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does initializing a variable mean?
Naming it
Assigning a value to it
Creating a box for it
Naming and assigning a value to it
Deleting it
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to declare and initialize a variable to store the number 10?
int number = 10;
number = 10;
var number = 10;
float number = 10;
number 10;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? `var value = 53; value = 75; console.log(value);`
53
75
5375
Error
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of variable is used to hold true or false values?
String
Integer
Char
Float
Boolean
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Understanding Python Basics

Quiz
•
8th Grade - University
17 questions
Python

Quiz
•
6th - 10th Grade
16 questions
Variables

Quiz
•
7th - 10th Grade
17 questions
Variables

Quiz
•
9th - 12th Grade
16 questions
Python Basics

Quiz
•
KG - University
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
20 questions
Basics Python

Quiz
•
8th - 10th Grade
15 questions
Javascript

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade