Java Script Variable should be Case ___________.
Java Script Variable should be Case ___________.
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 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 main purpose of a “Live Wire” in NetScape is to
The main purpose of a “Live Wire” in NetScape 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 function definition expression can be called
A function definition expression can be called
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) ?
Spaces,Punctuation marks are called as __________ Symbols in JavaScript.
Spaces,Punctuation marks are called as __________ Symbols in JavaScript.
JavaScript Code is written inside file having extension __________.
JavaScript Code is written inside file having extension __________.
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?
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)
}
JavaScript is ______ Side Scripting Language.
JavaScript is ______ Side Scripting Language.
A statement block is a
A statement block is a
JavaScript can be written
JavaScript can be written
“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
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 )
Which of the following is not considered as an error in JavaScript?
Which of the following is not considered as an error in JavaScript?
JavaScript Code can be called by using
JavaScript Code can be called by using
Variable can hold ________ value at a time.
Variable can hold ________ value at a time.
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.
The generalised syntax for a real number representation is
The generalised syntax for a real number representation is
The purpose of extensible attribute is to
The purpose of extensible attribute is to
Integer Variable is declared using following syntax in JavaScript.
Integer Variable is declared using following syntax in JavaScript.
Variable declared inside JavaScript Function will be called as ____________.
Variable declared inside JavaScript Function will be called as ____________.
Among the keywords below, which one is not a statement?
Among the keywords below, which one is not a statement?
The development environment offers which standard construct for data validation
The development environment offers which standard construct for data validation
A conditional expression is also called a
A conditional expression is also called a
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)
}
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 type of a variable that is volatile is
The type of a variable that is volatile is
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)
A JavaScript program developed on a Unix Machine
A JavaScript program developed on a Unix Machine
What kind of an expression is “new Point(2,3)”?
What kind of an expression is “new Point(2,3)”?
The “var” and “function” are
The “var” and “function” 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
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
Local Variables are destroyed after execution of function.
Local Variables are destroyed after execution of function.
A hexadecimal literal begins with
A hexadecimal literal begins with
JS code included inside head section is loaded before loading page.
JS code included inside head section is loaded before loading page.
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
The property of a primary expression is
The property of a primary expression is
A proper scripting language is a
A proper scripting language is a
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?
Integer Variable is declared using following syntax in JavaScript.
Integer Variable is declared using following syntax in JavaScript.
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?
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++;
}
Which was the first browser to support JavaScript ?
Which was the first browser to support JavaScript ?
JavaScript is ideal to
JavaScript is ideal to
JavaScript Code can be called by using
JavaScript Code can be called by using
Underscore can be used as first letter while declaring variable in JavaScript.
Underscore can be used as first letter while declaring variable 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.
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 :
A linkage of series of prototype objects is called as :
A linkage of series of prototype objects is called as :
When an empty statement is encountered, a JavaScript interpreter
When an empty statement is encountered, a JavaScript interpreter
Multiple Declarations of variables are separated by ___________ symbol.
Multiple Declarations of variables are separated by ___________ symbol.
JavaScript is invented by ________.
JavaScript is invented by ________.
We can declare ___________ at a time. Select most appropriate option.
We can declare ___________ at a time. Select most appropriate option.
JavaScript Code can be called by using _________.
JavaScript Code can be called by using _________.
Local Browser used for validations on the Web Pages uses __________.
Local Browser used for validations on the Web Pages uses __________.
The statement a===b refers to
The statement a===b refers to
The basic purpose of the toLocaleString() is to
The basic purpose of the toLocaleString() is to
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?
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
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?
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
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
We can embed JS code inside HTML directly ?
We can embed JS code inside HTML directly ?
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?
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?
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
The escape sequence ‘f’ stands for
The escape sequence ‘f’ stands for
JavaScript is designed for following purpose
JavaScript is designed for following purpose
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
The script tag must be placed in
The script tag must be placed in
The object has three object attributes namely
The object has three object attributes namely
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?
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)
Javascript is _________ language.
Javascript is _________ language.
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
JavaScript was invented at _______ Lab.
JavaScript was invented at _______ Lab.
Among the following, which one is a ternary operator?
Among the following, which one is a ternary operator?
Consider the following code snippet
The above prototype represents a
Consider the following code snippet
The above prototype represents a
JavaScript is a _______________ language
JavaScript is a _______________ language