Ajax Solved MCQs - 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Ajax solved MCQs

1- What is AJAX? Ajax


A. is a program
B. is a country name
C. is a football club name
Ans: A

2- What sever support AJAX? | Ajax


A. SMTP
B. WWW
C. HTTP
Ans: C

3- AJAX Stands for: | Ajax


A. Asynchronous JavaScript and XML
B. Abstract JSON and XML
C. Another Java Abstraction for X-Windows
D. Another Java and XML Library
Ans: A

4- What makes Ajax unique? Ajax


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.
Ans: D

5- What does the XMLHttpRequest object accomplish in Ajax? | 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.
Ans: C

6- Of the following technologies, which one provides the ability to dynamically interact with Web page
layout? Ajax
A. JavaScript.
B. XML.
C. Document Object Model.
D. HTML.
Ans: C

7- What is the first step in creating a Joke of the Day application? | Ajax
A. Create the application's text file.
B. Write the application's HTML.
C. Turn the HTML application into an Ajax application.
D. Upload the application to a Web server.
Ans: B

8- Ajax stands for Synchronous JavaScript and XML. | Ajax


A. True
B. False
Ans: B

9- Ajax is a programming language. | Ajax


A. True
B. False
Ans: B

10- Regarding the XMLHttpRequest Object, does the order in which one calls the "open" method and assign
a function to the "onreadystatechange" event handler matter? | Ajax
A. Yes
B. No
Ans: B

11- Can a call to the "send" method fire an error (assuming the user's browser supports the XMLHttpRequest
Object and the "send" method)? | Ajax
A. Yes
B. No
Ans: B

12- ActiveX can be disabled via browser settings. | Ajax


A. True
B. False
Ans: A

13- The XMLHttpRequest object can be disabled via browser settings. | Ajax
A. True
B. False
Ans: B

14- Assuming that "xmlhttp" is a user-defined variable that carrys the Ajax requesting object, xmlhttp.status
can carry a value of 4 after a successful request. | Ajax
A. True B. False
Ans: B

15- The XMLHttpRequest object supports a method called "quit". | Ajax


A. True
B. False
Ans: B

16- Assuming that "xmlhttp" is a user-defined variable that carrys the Ajax requesting object, xmlhttp.status
can carry a value of 0 after a successful request. | Ajax
A. True
B. False
Ans: B

17- The XMLHttpRequest object can be used on subdomain1.mysite.com to request a page located at
subdomain2.mysite.com according to the specification. | Ajax
A. True
B. False
Ans: B

18- What combination of technologies gives AJAX its name? | Ajax


A. ASP and XAML
B. Asynchronous JavaScript and XML
C. Autonomic Computing and DHTML
D. Atlas and XML
Ans: B

19- Which one of these legendary Greek mythical figures or places is the code name for Microsoft's version
of AJAX? | Ajax
A. Oracle
B. Atlas
C. Hercules
D. Delphi
Ans: B

21- Which Web browser is the least optimized for Microsoft's version of AJAX? | Ajax
A. Firefox
B. Opera
C. Safari
D. Internet Explorer
Ans: C
22- Which one of these technologies is NOT used in AJAX? | Ajax
A. CSS C. DHTML
B. DOM D. FLASH
Ans: D

23- AJAX comes in _____. | Ajax


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

Ans: B

24- AJAX made popular by | Ajax


A. Microsoft
B. IBM
C. Sun Micro system
D. Google
Ans: D

25- AJAX based on ______. | Ajax


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

26- Using AJAX we can make our web page. | Ajax


A. more interactive and faster
B. easy to connect web page with server
C. more dynamic
Ans: A

27- What does the <noscript> tag do? | Ajax


A. Enclose text to be displayed by non-JavaScript browsers.
B. Prevents scripts on the page from executing.
C. Describes certain low-budget movies.
D. None of the above
Ans: A

28- Why so JavaScript and Java have similar name? | Ajax


A. JavaScript is a stripped-down version of Java
B. JavaScript's syntax is loosely based on Java's
C. They both originated on the island of Java
D. None of the above
Ans: B

29- When a user views a page containing a JavaScript program, which machine actually executes the script?
| Ajax
A. The User's machine running a Web browser
B. The Web server
C. A central machine deep within Netscape's corporate offices
D. None of the above
Ans: A

30- _____ JavaScript is also called client-side JavaScript. | Ajax


A. Microsoft C. LiveWire
B. Navigator D. Native
Ans: B

31- _______ JavaScript is also called server-side JavaScript. | Ajax


A. Microsoft C. LiveWire
B. Navigator
Ans: C

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy