Q.1
To determine whether one object is the prototype of (or is part of the prototype chain of) another object, one should use the
Q.2
The output for the following code snippet would most appropriately be
var a=5 , b=1
var obj = { a : 10 }
with(obj) 
{
      alert(b)
}
Q.3
The output for the following code snippet would most appropriately be
var a=5 , b=1
var obj = { a : 10 }
with(obj) 
{
      alert(b)
}
Q.4
The “var” and “function” are
Q.5
Which is a more efficient code snippet ?
Code 1 :
for(var num=10;num>=1;num--)
{
    document.writeln(num);
}

Code 2 :
var num=10;
while(num>=1)
{
    document.writeln(num);
    num++;
}
Q.6
A statement block is a
Q.7
Consider the following statements
switch(expression)
{
    statements
}
In the above switch syntax, the expression is compared with the case labels using which of the following operator(s) ?
Q.8
Consider the following statements
var count = 0;
while (count < 10) 
{
     console.log(count);
     count++;
}
In the above code snippet, what happens?
Q.9
The enumeration order becomes implementation dependent and non-interoperable if :
Q.10
Which of the following is not considered as an error in JavaScript?
Q.11
The escape sequence ‘f’ stands for
Q.12
The snippet that has to be used to check if “a” is not equal to “null” is
Q.13
The statement a===b refers to
Q.14
Consider the following snippet code
var string1 =123”;
var intvalue = 123;
alert( string1 + intvalue );
The result would be
Q.15
A function definition expression can be called
Q.16
What kind of an expression is “new Point(2,3)”?
Q.17
Which of the operator is used to test if a particular property exists or not?
Q.18
Assume that we have to convert “false” that is a non-string to string. The command that we use is (without invoking the “new” operator)
Q.19
The property of a primary expression is
Q.20
Spaces,Punctuation marks are called as __________ Symbols in JavaScript.
0 h : 0 m : 1 s