JavaScript MCQ : JS Variables (Multiple Choice Questions)


Question 1
var num=20;
Above Statement is called as __________ Statement. Select all the appropriate options.
A
Initialization
B
Declaration
C
Globalization
D
Instatiation
Question 2
Variable name contain following type of characters -
  1. Alphabet
  2. Digits
  3. Underscore
  4. Special Chracters
Select the correct option.
A
1 2 3
B
1 2 3 4
C
3 4 2
D
4 3 1
Question 3
Spaces,Punctuation marks are called as __________ Symbols in JavaScript.
A
Punctual
B
Special
C
None of these
D
Mandetory
Question 4
Which JavaScript variable cannot be used as First character but can be use after first character ?
A
Underscore
B
Asterisk
C
Digit
D
Dollar Sign
Question 5
Java Script Variable should be Case ___________.
A
Non Sensitive
B
Sensitive
There are 5 questions to complete.