Javascript variables

Quiz
•
Computers
•
12th Grade
•
Medium
Rita Jraisat
Used 129+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable is undefined
var year;
var ;
var year =10; year = 7;
var year = 7 ;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is of the following not correct rule for writting variables names.
These need to be in the lowercase or camel case
spaces are allowed while naming these.
These could be mix of letters, Numbers, _ or $
you cannot start with a number
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variable is not case sensitive
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
One of the follwing statements is correct
var myVariable = "Hello"
var myVariable = /Hello/
var myVariable = "Hello'
var myVariable = Hello
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which the camel case variable name is correct
var my _code_date = "c"
var myCodeDate = "c"
var MycodeDate = "c"
var MyCodeDate = "c"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You will always find these in pairs if you have an opening one you will find a closing one as well. Even if it is after many multiple lines.
{ Braces}
[ Brackets ]
( Parentheses )
All
Similar Resources on Wayground
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
10 questions
GDScript Quiz - Lesson 2 - Variables & Functions

Quiz
•
12th Grade
10 questions
C# Programming Quiz

Quiz
•
12th Grade
10 questions
QUIZ TIK - KELAS 12

Quiz
•
12th Grade
10 questions
java script

Quiz
•
12th Grade
10 questions
Intro to Python

Quiz
•
KG - University
11 questions
JavaScript Control Structures Basic

Quiz
•
12th Grade
11 questions
Javascript Lists Lecture Knowledge Check

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade