• Admin
  • 31st May, 2022


Following are mostly asked Ajax MCQ test that are designed for professionals like you to crack you interviews. You can take this Ajax online test before appearing to you real interview. This Ajax quiz there are around 30+ multiple choice questions on Ajax with four options.

1) AJAX stands for ___.

  • A. Asynchronous JavaScript And XML
  • B. Active JavaScript And XML
  • C. Applet JavaScript And XML
  • D. All of the above

2) __ is more robust and secure than __.

  • A. POST, GET
  • B. GET, POST
  • C. Both A & B
  • D. None of the above

3) The ___ property defines a function to be executed when the readyState changes.

  • A. onreadystatechange
  • B. onreadystateup
  • C. onreadystatedown
  • D. None of the above

4) __ is a technique for creating fast and dynamic web pages.

  • A. AJAX
  • B. SQL
  • C. JAVA
  • D. All of the above

5) What are the advantages of Ajax?

  • A. Bandwidth utilization
  • B. More interactive
  • C. Speeder retrieval of data
  • D. All of these
Download Free : AJAX MCQ PDF

6) What makes Ajax unique?

  • A. It works as a stand-alone Web-development tool.
  • B. It works the same with all Web browsers.
  • C. It uses C++ as its programming language.
  • D. It makes data requests asynchronously.

7) What are the controls of Ajax?

  • A. ScriptManager
  • B. ScriptManagerProxy
  • C. UpdatePanel
  • D. All of these

8) __ get the response data as XML data.

  • A. responseXML
  • B. responseText
  • C. responseString
  • D. None of the above

9) Which property is used to control the duration of Ajax request.

  • A. AsyncPostBackTimeout
  • B. AsyncTimeout
  • C. Timeout
  • D. PostBackTimeout

10) How can you test the Ajax code?

  • A. JSU
  • B. JSUnit
  • C. AjaxJSU
  • D. JSUnitAjax

11) Which of the following helps to execute a synchronous request?

  • A. xhttp.open("GET", "ajax_info.txt", false);
  • B. xhttp.open("GET", "ajax_info.txt", true);
  • C. Both A & B
  • D. None of the above

12) __ returns all the header information from the server resource.

  • A. getResponseHeader()
  • B. getAllResponseHeaders()
  • C. Both A & B
  • D. None of the above

13) AJAX was made popular by?

  • A. Microsoft
  • B. Google
  • C. Sun Microsystem
  • D. IBM

14) The jQuery AJAX methods .get(), .post(), and .ajax() all require which parameter to be supplied?

  • A. method
  • B. url
  • C. data
  • D. headers

15) What are all the technologies used by Ajax?

  • A. JavaScript
  • B. XMLHttpRequest
  • C. Document Object Model (DOM)
  • D. All of the above

16) ___ JavaScript is also called server-side JavaScript.

  • A. Microsoft
  • B. Navigator
  • C. LiveWire
  • D. All of the above

17) _____ JavaScript is also called client-side JavaScript.

  • A. Microsoft
  • B. LiveWire
  • C. Native
  • D. Navigator

18) AJAX based on __.

  • A. JavaScript and XML
  • B. JavaScript and Java
  • C. VBScript and XML
  • D. JavaScript and HTTP requests

19) AJAX comes in ____.

  • A. 2003
  • B. 2005
  • C. 2004
  • D. 2006

20) Which one of these technologies is NOT used in AJAX?

  • A. CSS
  • B. DOM
  • C. DHTML
  • D. Flash

21) Which Web browser is the least optimized for Microsoft's version of AJAX?

  • A. Firefox
  • B. Safari
  • C. Opera
  • D. Internet Explorer

22) The XMLHttpRequest object supports a method called "quit".

  • A. True
  • B. False

23) ActiveX can be disabled via browser settings.

  • A. True
  • B. False

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

  • A. JavaScript
  • B. XML
  • C. Document Object Model
  • D. HTML

25) 5. What does the XMLHttpRequest object accomplish in Ajax?

  • A. It's the programming language used to develop Ajax applications.
  • B. It provides a means of exchanging structured data between the Web server and client.
  • C. It provides the ability to asynchronously exchange data between Web browsers and a Web server.
  • D. It provides the ability to mark up and style the display of Web-page text.

Ajax Online Test Questions (Ajax FAQs)

1) What is AJAX?

AJAX stands for Asynchronous JavaScript And XML. AJAX is basically a technique used for creating fast and Dynamic Webpages. AJAX helps in reducing efforts as the updates can be done without reloading the web page.

2) What are the advantages of ajax?

The advantages of Azax are as follows:

  • Improved user experience.
  • Asynchronous processing.
  • Reduced server hits and network load.
  • Platform and architecture neutrality.
  • Multi-browser support.
  • Faster page renders and improved response times.

3) Why do we use AJAX?

AJAX is used for creating fast and Dynamic Webpages. AJAX helps in reducing efforts as the updates can be done without reloading the web page by exchanging small amounts of data with the server.

4) What are the controls of ajax?

The controls of Ajax are:

  • ScriptManager
  • ScriplManagerProxy
  • Timer Control
  • UpdatePanel
  • UpdateProgress.

5) What is XSS?

XSS is also known as Cross-site scripting. It is a client-side code injection attack in which the attacker executes malicious scripts in a web browser of the victim by including malicious code in a web page or web application.

6) What does CORS stand for?

CORS stands for Cross-Origin Resource Sharing which is an HTTP-header-based mechanism that allows a server to indicate any other origins from which a browser should permit loading of resources.

7) What are different states of Ajax?

There are four different states of AJAX :

  • initial server connection established.
  • request received.
  • processing request.
  • request finished and response is ready

8) What is JSONP?

JSONP or JSON with padding is used to get a file from another Domain with the help of a script tag instead of the XMLHttpRequest object to avoid problems due to cross-domain policy.

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

Node js MCQ
Spring MCQ
SQL Server MCQ