JavaScript Variables Flashcard
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Easy
Wayground Content
Used 1+ times
FREE Resource
Student preview

26 questions
Show all answers
1.
FLASHCARD QUESTION
Front
How do you declare a variable in JavaScript?
Back
var
2.
FLASHCARD QUESTION
Front
What are the different types of values that a variable in JavaScript can represent?
Back
string, number, boolean, object, function, undefined
3.
FLASHCARD QUESTION
Front
Is JavaScript attentive to the way we dress up variable names, paying attention to uppercase and lowercase letters?
Back
Yes
4.
FLASHCARD QUESTION
Front
Show Me What You Got! You're creating a new variable in JavaScript for your intergalactic DJ app. What rules must you follow for naming it?
Back
Variable names must begin with a letter, underscore (_), or dollar sign ($)
5.
FLASHCARD QUESTION
Front
What does JavaScript default a variable to if it is declared but not assigned any value?
Back
undefined
6.
FLASHCARD QUESTION
Front
Show Me What You Got! Explain the difference between 'let', 'var', and 'const' in JavaScript variable declaration.
Back
They have different scopes and usage in JavaScript.
7.
FLASHCARD QUESTION
Front
Can a variable name in JavaScript be initiated with a digit?
Back
No
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
19 questions
The Scientific Method - Experimental Variables.
Flashcard
•
9th - 11th Grade
23 questions
ALG1 - Lesson 2-2 - Simplifying Algebraic Expressions
Flashcard
•
9th - 12th Grade
17 questions
BizInnovator Startup - Launching Your Startup
Flashcard
•
9th - 12th Grade
16 questions
Factoring Polynomials and GCF
Flashcard
•
9th - 12th Grade
16 questions
Word Problem Polynomial Practice
Flashcard
•
9th - 11th Grade
18 questions
Unit 4 Variables, Conditionals & Functions CS20-21
Flashcard
•
9th - 12th Grade
20 questions
Newton's laws
Flashcard
•
9th - 12th Grade
20 questions
Physical Science Final
Flashcard
•
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
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