JavaScript is ______ Side Scripting Language.
JavaScript is ______ Side Scripting Language.
The unordered collection of properties, each of which has a name and a value is called
The unordered collection of properties, each of which has a name and a value is called
The snippet that has to be used to check if “a” is not equal to “null” is
The snippet that has to be used to check if “a” is not equal to “null” is
Which attribute is used to specify that the script is executed when the page has finished parsing ( only for external scripts )
Which attribute is used to specify that the script is executed when the page has finished parsing ( only for external scripts )
“An expression that can legally appear on the left side of an assignment expression.” is a well known explanation for variables, properties of objects, and elements of arrays. They are called
“An expression that can legally appear on the left side of an assignment expression.” is a well known explanation for variables, properties of objects, and elements of arrays. They are called
The development environment offers which standard construct for data validation
The development environment offers which standard construct for data validation
Multiple Declarations of variables are separated by ___________ symbol.
Multiple Declarations of variables are separated by ___________ symbol.
JavaScript Code can be called by using _________.
JavaScript Code can be called by using _________.
Among the keywords below, which one is not a statement?
Among the keywords below, which one is not a statement?
Spaces,Punctuation marks are called as __________ Symbols in JavaScript.
Spaces,Punctuation marks are called as __________ Symbols in JavaScript.
Java Script Variable should be Case ___________.
Java Script Variable should be Case ___________.
A JavaScript program developed on a Unix Machine
A JavaScript program developed on a Unix Machine
A linkage of series of prototype objects is called as :
A linkage of series of prototype objects is called as :
Javascript is _________ language.
Javascript is _________ language.
What will be the step of the interpreter in a jump statement when an exception is thrown?
What will be the step of the interpreter in a jump statement when an exception is thrown?
When an empty statement is encountered, a JavaScript interpreter
When an empty statement is encountered, a JavaScript interpreter
We can declare ___________ at a time. Select most appropriate option.
We can declare ___________ at a time. Select most appropriate option.
The main purpose of a “Live Wire” in NetScape is to
The main purpose of a “Live Wire” in NetScape is to
The “var” and “function” are
The “var” and “function” are
Variable declared inside JavaScript Function will be called as ____________.
Variable declared inside JavaScript Function will be called as ____________.
Consider the following code snippet
while (a != 0)
{
if (spam>a == 1)
continue;
else
a++;
}
What will be the role of the continue keyword in the above code snippet?
Consider the following code snippet
while (a != 0)
{
if (spam>a == 1)
continue;
else
a++;
}
What will be the role of the continue keyword in the above code snippet?
What will happen if the body of a for/in loop deletes a property that has not yet been enumerated?
What will happen if the body of a for/in loop deletes a property that has not yet been enumerated?
Among the following, which one is a ternary operator?
Among the following, which one is a ternary operator?
Integer Variable is declared using following syntax in JavaScript.
Integer Variable is declared using following syntax in JavaScript.
Initialization of variable can be done by writing _____ operator in between variable name and operand value.
Initialization of variable can be done by writing _____ operator in between variable name and operand value.
Local Browser used for validations on the Web Pages uses __________.
Local Browser used for validations on the Web Pages uses __________.
The generalised syntax for a real number representation is
The generalised syntax for a real number representation is
JavaScript Code is written inside file having extension __________.
JavaScript Code is written inside file having extension __________.
Consider the following snippet code
var string1 = ”123”;
var intvalue = 123;
alert( string1 + intvalue );
The result would be
Consider the following snippet code
var string1 = ”123”;
var intvalue = 123;
alert( string1 + intvalue );
The result would be
A proper scripting language is a
A proper scripting language is a
Integer Variable is declared using following syntax in JavaScript.
Integer Variable is declared using following syntax in JavaScript.
Which of the following Attribute is used to include External JS code inside your HTML Document
Which of the following Attribute is used to include External JS code inside your HTML Document
Which of the operator is used to test if a particular property exists or not?
Which of the operator is used to test if a particular property exists or not?
Which of the following is not considered as an error in JavaScript?
Which of the following is not considered as an error in JavaScript?
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) ?
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) ?
A conditional expression is also called a
A conditional expression is also called a
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++;
}
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++;
}
The escape sequence ‘f’ stands for
The escape sequence ‘f’ stands for
JavaScript is designed for following purpose
JavaScript is designed for following purpose
Underscore can be used as first letter while declaring variable in JavaScript.
Underscore can be used as first letter while declaring variable in JavaScript.
JavaScript is ideal to
JavaScript is ideal to
JavaScript can be written
JavaScript can be written
Consider the following code snippet
function printArray(a)
{
var len = a.length, i = 0;
if (len == 0)
console.log("Empty Array");
else
{
do
{
console.log(a[i]);
} while (++i < len);
}
}
What does the above code result?
Consider the following code snippet
function printArray(a)
{
var len = a.length, i = 0;
if (len == 0)
console.log("Empty Array");
else
{
do
{
console.log(a[i]);
} while (++i < len);
}
}
What does the above code result?
Variable can hold ________ value at a time.
Variable can hold ________ value at a time.
Consider the following code snippet
function f(o)
{
if (o === undefined) debugger;
}
What could be the task of the statement debugger?
Consider the following code snippet
function f(o)
{
if (o === undefined) debugger;
}
What could be the task of the statement debugger?
The type of a variable that is volatile is
The type of a variable that is volatile is
Consider the following code snippet
function tail(o)
{
for (; o.next; o = o.next) ;
return o;
}
Will the above code snippet work? If not, what will be the error?
Consider the following code snippet
function tail(o)
{
for (; o.next; o = o.next) ;
return o;
}
Will the above code snippet work? If not, what will be the error?
JavaScript is a _______________ language
JavaScript is a _______________ language
Consider the following statements
var count = 0;
while (count < 10)
{
console.log(count);
count++;
}
In the above code snippet, what happens?
Consider the following statements
var count = 0;
while (count < 10)
{
console.log(count);
count++;
}
In the above code snippet, what happens?
The object has three object attributes namely
The object has three object attributes namely
A function definition expression can be called
A function definition expression can be called
A hexadecimal literal begins with
A hexadecimal literal begins with
We can embed JS code inside HTML directly ?
We can embed JS code inside HTML directly ?
What are the three important manipulations done in a for loop on a loop variable?
What are the three important manipulations done in a for loop on a loop variable?
Local Variables are destroyed after execution of function.
Local Variables are destroyed after execution of function.
The basic purpose of the toLocaleString() is to
The basic purpose of the toLocaleString() is to
JS code included inside head section is loaded before loading page.
JS code included inside head section is loaded before loading page.
Identify the process done in the below code snippet
o = {x:1, y:{z:[false,null,""]}};
s = JSON.stringify(o);
p = JSON.parse(s);
Identify the process done in the below code snippet
o = {x:1, y:{z:[false,null,""]}};
s = JSON.stringify(o);
p = JSON.parse(s);
The enumeration order becomes implementation dependent and non-interoperable if :
The enumeration order becomes implementation dependent and non-interoperable if :
Which was the first browser to support JavaScript ?
Which was the first browser to support JavaScript ?
JavaScript Code can be called by using
JavaScript Code can be called by using
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)
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)
The JavaScript’s syntax calling ( or executing ) a function or method is called
The JavaScript’s syntax calling ( or executing ) a function or method is called
JavaScript Code can be called by using
JavaScript Code can be called by using
The output for the following code snippet would most appropriately be
var a=5 , b=1
var obj = { a : 10 }
with(obj)
{
alert(b)
}
The output for the following code snippet would most appropriately be
var a=5 , b=1
var obj = { a : 10 }
with(obj)
{
alert(b)
}
The script tag must be placed in
The script tag must be placed in
The statement a===b refers to
The statement a===b refers to
JavaScript was invented at _______ Lab.
JavaScript was invented at _______ Lab.
JavaScript is invented by ________.
JavaScript is invented by ________.
Consider the below given syntax
book[datatype]=assignment_value;
In the above syntax, the datatype within the square brackets must be
Consider the below given syntax
book[datatype]=assignment_value;
In the above syntax, the datatype within the square brackets must be
The purpose of extensible attribute is to
The purpose of extensible attribute is to
When there is an indefinite or an infinity value during an arithmetic value computation, javascript
When there is an indefinite or an infinity value during an arithmetic value computation, javascript
A statement block is a
A statement block is a
Consider the following statements
var text = "testing: 1, 2, 3"; // Sample text
var pattern = /d+/g // Matches all instances of one or more digits
In order to check if the pattern matches with the string “text”, the statement is
Consider the following statements
var text = "testing: 1, 2, 3"; // Sample text
var pattern = /d+/g // Matches all instances of one or more digits
In order to check if the pattern matches with the string “text”, the statement is
To determine whether one object is the prototype of (or is part of the prototype chain of) another object, one should use the
To determine whether one object is the prototype of (or is part of the prototype chain of) another object, one should use the
What kind of an expression is “new Point(2,3)”?
What kind of an expression is “new Point(2,3)”?
Consider the following code snippet
The above prototype represents a
Consider the following code snippet
The above prototype represents a
Which attribute is used to specifies that the script is executed when the page has finished parsing (only for external scripts)
Which attribute is used to specifies that the script is executed when the page has finished parsing (only for external scripts)
The output for the following code snippet would most appropriately be
var a=5 , b=1
var obj = { a : 10 }
with(obj)
{
alert(b)
}
The output for the following code snippet would most appropriately be
var a=5 , b=1
var obj = { a : 10 }
with(obj)
{
alert(b)
}
The property of a primary expression is
The property of a primary expression is
It is good to include JS code inside footer section in order to speed up the Page loading time of Webpage.
It is good to include JS code inside footer section in order to speed up the Page loading time of Webpage.
One of the special feature of an interpreter in reference with the for loop is that
One of the special feature of an interpreter in reference with the for loop is that
Consider the following code snippet :
var book = {
"main title": "JavaScript",
'sub-title': "The Definitive Guide",
"for": "all audiences",
author: {
firstname: "David",
surname: "Flanagan"
}
};
In the above snippet, firstname and surname are
Consider the following code snippet :
var book = {
"main title": "JavaScript",
'sub-title': "The Definitive Guide",
"for": "all audiences",
author: {
firstname: "David",
surname: "Flanagan"
}
};
In the above snippet, firstname and surname are