• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Ajax Interview Questions

Ajax Interview Questions

Following are some of the most frequently asked Ajax interview questions in the interview, here are the answers for them.

What is Ajax?

Ajax is abbreviated as Asynchronous Javascript and XML. It is new technique used to create better, faster and more interactive web systems or applications. Ajax uses asynchronous data transfer between the Browser and the web server.

This technique is used to make internet faster and user friendly. It is not a programming language.

What are Ajax applications?

Browser based applications and platform independent applications are used by Ajax.

How many types of triggers are present in update panel?

There are two types of triggers used in update panel:

PostBackTrigger – This works as full postback and it cannot work asynchronously
AsyncPostBackTrigger – Partial post back asynchronously

What are all the controls of Ajax?

Following are the controls of Ajax:

ScriptManager
ScriptManagerProxy
UpdatePanel
UpdateProgress
Timer

What is the name of the DLL that contains Ajax control tool kit?

Ajaxcontroltoolkit.dll is the DLL used for Ajax control tool kit and it can be downloaded from the internet. It can be added in the tool box or copied directly in the bin folder.

What are disadvantage of Ajax?

It does not crawl to search Engine.

Define JSON?

JSON is JavaScript Object Notation.

Describe how to handle concurrent AJAX requests?

JavaScipt Closures can be used for handling concurrent requests.

What is Asynchronous in Ajax?

We can set the Asynchronous value as true OR false.
Async=true
Ajax request execute independently, Its response can come earlier than other request which is execute later .
Async=true
Ajax request does not execute independently, Its response can comes when earlier request finished.

What is the difference between JavaScript and AJAX?

JavaScript makes a request to the server and waits for the response. It consumes more bandwidth as it reloads the page.

AJAX sends a request to the server and doesn’t wait for the response. It doesn’t reload the page so consumes less bandwidth.

What are the different ready states of a request in AJAX?

There are 5 ready states of a request in AJAX.

0 means UNOPENED
1 means OPENED
2 means HEADERS_RECEIVED
3 means LOADING
4 means DONE

What does XMLHttpRequest?

sends data in the background
receives data
updates data without reloading the page

What are the real web applications of AJAX currently running in the market?

Twitter
Facebook
Gmail
Javatpoint
Youtube etc.

What is JSON in AJAX?

JSON stands for JavaScript Object Notation. It is easy to understand and data exchange is fast than XML. It supports array.

What are the properties of XMLHttpRequest?

The important properties of XMLHttpRequest object are given below.

onReadyStateChange

readyState

responseText

responseXML

What are the technologies used by AJAX?

HTML/XHTML and CSS

DOM

XML

XMLHttpRequest

JavaScript

What do the different readystates in XMLHttpRequest?

Following are different stats(0-4) of ready state in XMLHttpRequest
0 Ajax Request not initialized
1 Ajax Request’s server connection established
2 Ajax Request received
3 Ajax Request processing
4 request finished and response is ready.

What js library are available to use the Ajax?

Following are few JS library which are used for Ajax

JQuery

MooTools

Prototype

YUI Library

Backbone js

What are advantage of AJax?

Its faster as it load only required content.

More user friendly.

One page application possible due to Ajax.

Reduce the loading of page.

What is XMLHttpRequest?

XMLHttpRequest is an API available to web browser scripting languages (i.e. JavaScript).
It is used to send HTTP/HTTPS requests to a web server and load the server’s response into the script.

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Ajax Interview Questions"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Site Disclaimer, Copyright © 2016 - All Rights Reserved.

    Support


    Please leave a message and we'll get back to you soon.