Interview FAQs

FAQs of level

The differences between AJAX and JavaScript are as follows:   

  1. AJAX sends request to the server and does not wait for the response. It performs other operations on the page during that time. JavaScript make a request to the server and waits for response
  2. AJAX does not require the page to refresh for downloading the whole page. JavaScript manages and controls a Web page after being downloaded
  3. AJAX minimizes the overload on the server since the script needs to request once. JavaScript posts a request that updates the script every time

There are two components of AJAX Architecture:

  1. AJAX client architecture
  2. AJAX server architecture

Following are the advantages of Ajax:

  1. Bandwidth utilization – It saves memory when the data is fetched from the same page.
  2. More interactive
  3. Speeder retrieval of data

Following are the disadvantages of Ajax:

  1. AJAX is dependent on JavaScript. If there is some JavaScript problem with the browser or in the OS, Ajax will not support
  2. Ajax can be problematic in Search engines as it uses JavaScript for most of its parts.
  3. Source code written in AJAX is easily human readable. There will be some security issues in Ajax.
  4. Debugging is difficult
  5. Increases size of the requests
  6. Slow and unreliable network connection.
  7. Problem with browser back button when using AJAX enabled pages.

JSON supports following data types:

  1. String
  2. Number
  3. Boolean
  4. Array
  5. Object

Following are the limitations of Ajax:

  1. AJAX on an application will not work if JavaScript is disabled.
  2. In some scenarios, it exposes vulnerability.
  3. It will always be difficult to bookmark application state.
  4. Application behavior may be slow in some scenarios, because of different loading time of controls on a single page.

Ajax is used to get the data from server without refreshing the current page.
We can use GET OR POST Method to send data.

The difference between synchronous and asynchronous PostBack is as follows:

  1. Asynchronous PostBack renders only the required part of the page; whereas, synchronous PostBack renders the entire page for any PostBack.
  2. Asynchronous PostBack executes only one PostBack at a time, that is, if you have two buttons doing asynchronous PostBack, the actions will be performed one by one; whereas, synchronous PostBack executes all the actions at once.
  3. Asynchronous PostBack only modifies the update panel that raises the PostBack; whereas, synchronous PostBack modifies the entire page.

PreviousDisplaying 2 of 6Next
1 2 3 4 5 6
Need Help? Contact Us.

Log in


Forgot password?


New User