Time Left : 00 : 30 : 00

What must be done in order to implement Lexical Scoping?

Correct Answer : C

Which of the following function of String object returns the characters in a string between two indexes into the string?

Correct Answer : D

JSON elements are separated by

Correct Answer : C

What are the types of Pop up boxes available in JavaScript?

Correct Answer : D

Does JSON support Unicode characters?

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 statement a===b refers to

Correct Answer : C

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

Correct Answer : D

Which of the following are the errors in JavaScript?

Correct Answer : B

The order of elements in JSON arrays is always preserved.

Correct Answer : B

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++;
}

 

Correct Answer : A

Which of the following is correct about features of JavaScript?

Correct Answer : B

A disadvantage of JSON is that it requires the use of JavaScript.

Correct Answer : A

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

Correct Answer : C

Does JavaScript allow exception handling?

Correct Answer : A

Which of the following code will return a valid JSON object?

Correct Answer : D

What is the opposite approach to the lexical scoping?

Correct Answer : C

Which statement about the space parameter in JSON.stringify() is false?

Correct Answer : C

What two structures is JSON built on?

Correct Answer : A

In the below notation, Employee is of type { "Employee": { "Name": "Amy", "Age": 25 } }

Correct Answer : A

Javascript string using double quotes is exactly the same as a string using single quotes?

Correct Answer : A

The object has three object attributes namely

Correct Answer : C

Which of the following is not an example of closures?

Correct Answer : D

Which of the following is not the properties of screen objects in JavaScript?

Correct Answer : B

In this example, what is the TYPE of employee?

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

Correct Answer : D

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

Correct Answer : A

Which of the following is not JavaScript Data Types?

Correct Answer : D

Which of them is not the looping structures in JavaScript?

Correct Answer : B

When coding a string object in JSON, what must separate the string and the value?

Correct Answer : D

Which of the following function of String object creates a string to be displayed in a big font as if it were in a <big> tag?

Correct Answer : B