AJAX QUIZ DESCRIPTION

Let suppose there are multiple <h3> elements in an HTML document, which
is the correct jQuery statement to get the first <h3> element?

  • $("h3").first();
     

  •  $("h3").parent();
     

  •  $("h3").firstParent();
     

  • $("h3").top();
     

Which are the jQuery methods for traversing down the DOM tree?

  • children()
     

  • find()
     

  • childrens()
     

  •  Both A. and B.

What is the difference between remove() and empty() methods?

  • remove() removes the selected element and its child elements while empty() removes the child elements of the selected element
     

  • remove() removes the child elements of the selected element while empty() removes the selected elements and its child elements
     

  •  remove() removes the child elements while empty() removes the content of the selected element
     

  •  remove() removes the child elements while empty() removes the content of the selected element and its child elements

What is the official name of JavaScript?

  • NetscapeScript
     

  • XMLScript
     

  •  ECMAScript
     

  • WebScript

Which method is used to set or get the CSS style attribute?

  • cssAttribute()
     

  • attribute()
     

  •  attr()
     

  •  css()

Which one of these legendary Greek mythical figures or places is the code name for Microsoft’s version of AJAX ?

  • Oracle
     

  • Atlas
     

  •  Hercules
     

  • Delphi

Which jQuery method is used to get or set the height of an HTML element?

  • cssHeight()
     

  • CssHeight()
     

  • height()
     

  • getHeight()

In AJAX, the word “Synchronous” describes _______________.

  • Ability to handle processes independently from other processes
     

  •  Processes are dependent upon other processes
     

  • Processes are not fully dependant on other processes
     

  •  All the processes can be run independently

Can we add more than one CSS classes to the selected elements using the addClass() method?

  • Yes

  • No

Which is the correct syntax to set the value of a CSS style attribute/property
using the css() method?

  • css("propertyname"="value");
     

  •  css("propertyname","value");
     

  • css("propertyname":"value");
     

  •  css("propertyname":="value");

AJAX comes in ____.

  • 2003
     

  • 2005
     

  • 2004
     

  • 2006

Which of the following attribute can hold the JavaScript version?

  • SCRIPT
     

  •  LANGUAGE
     

  • VERSION
     

  • None of above

Which jQuery DOM method is used to insert content after the selected
elements?

  • after()

     

  •  postpend()
     

  • addafter()
     

  • prepend()
     

From the provided methods, pick the right one that returns the value of an attribute:

  • attribute[index].text
     

  • attribute()
     

  • getAttribute()
     

  • All of above

Which jQuery DOM method is used to insert content before the selected
elements?

  • before()
     

  • addbefore()
     

  •  addprepend()
     

  • prepend()

which tool is used to debug ASP.NET AJAX applications ?

  •  Fiddler
     

  • Firebug
     

  • Both
     

  •  None of these

What is AJAX ?

  • is a programe
     

  •  is a country name
     

  • is a football club name

_______ Of the following technologies, which one provides the ability to dynamically interact 
with Web page layout?

  • JavaScript.
     

  • XML.
     

  • Document Object Model.
     

  • HTML.

Is it possible cancel an Asynchronous postback?

  • Yes

  • No

Is it compulsory to have Script manager on the page when you are using any control of ajax control tool kit?

  • Yes

  • No

  • No need

Ajax is a programming language.

  • True

  • False

Which of following has AJAX is a built-in functionality?

  • .NET Framework 3.5
     

  •  .NET Framework 2.0
     

  •  .NET Framework 3.0
     

  •  .NET Framework 4.0

Which jQuery method is used to get the all ancestor elements of the
selected element, all the way up to the document's root element (<html>)?

  • parent()
     

  • parents()
     

  •  parentsUntil()
     

  • All of the above

_____ JavaScript statements embedded in an HTML page can respond to user events such as mouse-clicks, form input, and page navigation.

  • Client-side
     

  • Server-side
     

  • Local
     

  • Native

Regarding the XMLHttpRequest Object, does the order in which one calls the “open” method and assign a function to the “onreadystatechange” event handler matter?

  • yes

  • No

Which jQuery method is used to get all direct children of the selected
element?

  • children()
     

  • find()
     

  • childrens()
     

  • Both A. and B.

What sever support AJAX ?

  • SMTP
     

  • WWW
     

  • HTTP

There is a <pre> element, write a jQuery statement to get it's parent?

  • $("pre").parent();
     

  • $("pre").parents();
     

  • $("pre").parentsUntil();
     

  •  None of the above

Fill in the blank with the proper option from the following: A ________________________ to the JavaScript engine starts all subsequent requests to the server.

  • XML Document
     

  • Function call
     

  •  HTML page
     

  •  XHTML Tag

Sent state of XMLHttpRequest object refers to the state when the object has been created; however, the send function has not been invoked.

  • True

  • False