JavaScript Variables Flashcard

Flashcard
•
Computers
•
9th - 12th Grade
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Frontend - Vue y Js

Flashcard
•
KG
15 questions
5.1 The internet and the world wide web

Flashcard
•
9th Grade - University
21 questions
INFO 200 Exam 1 Review

Flashcard
•
KG - University
21 questions
CodeHS JavaScript

Flashcard
•
8th - 12th Grade
19 questions
HTML, CSS, Javascript

Flashcard
•
11th - 12th Grade
20 questions
Scratch Programming

Flashcard
•
KG
24 questions
032_Cross-site Scripting – CompTIA Security+ SY0-701 – 2.3

Flashcard
•
9th Grade - University
20 questions
Programming With Karel Vocabulary Flashcard

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade