JavaScript Variables Flashcard

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Scratch Test - New

Flashcard
•
9th - 12th Grade
20 questions
JavaScript Math

Flashcard
•
9th - 11th Grade
21 questions
C.P. - Flashcard #2 - Review

Flashcard
•
9th - 12th Grade
25 questions
MW CodeHS Basic Java Review for test

Flashcard
•
8th - 12th Grade
22 questions
AP CSP Vocab #4

Flashcard
•
9th - 12th Grade
25 questions
JavaScript Console & Graphics Review

Flashcard
•
9th - 12th Grade
20 questions
Javascript Basics

Flashcard
•
7th Grade - University
22 questions
Review JavaScript

Flashcard
•
11th Grade - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade