Javascript variables

Javascript variables

12th Grade

6 Qs

quiz-placeholder

Similar activities

Lesson 8 - Apple Swift Coding 1

Lesson 8 - Apple Swift Coding 1

9th - 12th Grade

7 Qs

Basics of python

Basics of python

10th Grade - Professional Development

11 Qs

Python Variables

Python Variables

7th - 12th Grade

10 Qs

Java Strings

Java Strings

1st Grade - Professional Development

10 Qs

Individuals and Variables of Data

Individuals and Variables of Data

6th - 12th Grade

10 Qs

Python Ch. 1 & 2

Python Ch. 1 & 2

9th - 12th Grade

10 Qs

Variables and Functions

Variables and Functions

KG - University

10 Qs

KODEKIDDO HACK #MLH3

KODEKIDDO HACK #MLH3

4th Grade - University

10 Qs

Javascript variables

Javascript variables

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Rita Jraisat

Used 128+ 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