Time Left : 00 : 30 : 00

Which is true about JSON namespacing?

Correct Answer : C

Which of the following function of Array object applies a function simultaneously against two values of the array (from right-to-left) as to reduce it to a single value?

Correct Answer : D

What keywords are reserved in JSON and cannot be used as keys?

Correct Answer : C

The _______ method of an Array object adds and/or removes elements from an array

Correct Answer : D

A linkage of series of prototype objects is called as :

Correct Answer : B

How do we define the term Thread?

Correct Answer : C

Which of the following function of Array object adds one or more elements to the end of an array and returns the new length of the array?

Correct Answer : B

Which method receives the return value of setInterval() to cancel future invocations?

Correct Answer : C

JavaScript Code can be called by using

Correct Answer : D

In this example, what is the TYPE of employee?

{ "employee" : { "type" : "Director", "functions" : ['sales', 'marketing'] } }

Correct Answer : D

Which of the following are the errors in JavaScript?

Correct Answer : B

Which of the following is the correct syntax to redirect a url using JavaScript?

Correct Answer : D

In this example, what is the VALUE of employee.type?

{ "employee" : { "type" : "Director", "functions" : ['sales', 'marketing'] } }

 

Correct Answer : C

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

Correct Answer : C

The snippet that has to be used to check if “a” is not equal to “null” is

Correct Answer : D

Which of the following is a valid JSON string?

Correct Answer : B

The meaning for Augmenting classes is that:

Correct Answer : A

In this example, what would the VALUE of employee.functions[1] be?

{ "employee" : { "type" : "Director", "functions" : ['sales', 'marketing'] } }

 

Correct Answer : C

A proper scripting language is a

Correct Answer : A

Among the keywords below, which one is not a statement?

Correct Answer : D

JavaScript is designed for following purpose -

Correct Answer : D

What is a closure?

Correct Answer : C

What are the three important manipulations done in a for loop on a loop variable in javascript?

Correct Answer : B

In what situation would you want to use XML over JSON?

Correct Answer : C

What is the output of following Javascript?

var a = 'java';
var b = 'script';
var c = a/b;
document.write(c);

 

Correct Answer : C

What error does JSON.parse() throw when the string to parse is not valid JSON?

Correct Answer : C

What is used by the JSONObject and JSONArray constructors to parse JSON source strings?

Correct Answer : A

What are the two basic groups of dataypes in JavaScript?

Correct Answer : C

True of False. The order of JSON objects is always preserved.

Correct Answer : A

Which statement about the replacer parameter in JSON.stringify() is true?

Correct Answer : C