Deck 16: Ajax-Enabled Rich Internet Applications With Xml and Json

Full screen (f)
exit full mode
Question
Which of the following is false

A) The XMLHttpRequest object carries out asynchronous requests.
B) Browsers cache asynchronously requested files for faster access.
C) The XMLHttpRequest can make a request to any server.
D) The third argument to the XMLHttpRequest object's open method determines whether the request is asynchronous.
Use Space or
up arrow
down arrow
to flip the card.
Question
The XMLHttpRequest object parses an XML response into a DOM tree and stores it in the ________ property.

A) response
B) responseXML
C) xmlData
D) responseTree
Question
The name for Ajax was coined by ________ in ________.

A) Jesse James Garrett, 2005
B) Adaptive Path, 2003
C) Microsoft, 1998
D) None of the above.
Question
Unlike in POST requests, in an HTTP GET request

A) the request may not have parameters
B) the request may have only a limited number of parameters
C) the parameters are appended to the URL
D) the parameters are sent separatelyo
Question
Which property or method is used to modify an attribute of an XML DOM element

A) attribute
B) the property with the same name as the attribute
C) attributeValue
D) setAttribute
Question
Ajax toolkits solve which of the following problems

A) cross-browser incompatibilies
B) limited bandwidth availability
C) application security
D) compliance to web standards
Question
When an XMLHttpRequest object receives a response from the server, it invokes a ________, which usually performs a ________ to display the retreived data.

A) recursive function, browser reload
B) anonymous function, browser redirect
C) callback function, partial page update
D) delayed function, database query
Question
Ajax takes advantage of ________ scripting to make applications more responsive.

A) server-side
B) PHP
C) client-side
D) XML
Question
If the code in a try block causes an exception, execution passes to ________.

A) the next line of the try block
B) the next function
C) the corresponding catch block
D) the corresponding error block
Question
Ajax applications respond to user actions by making ________ requests to a web server.

A) synchronous
B) asynchronous
C) contiguous
D) asymmetric
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/10
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 16: Ajax-Enabled Rich Internet Applications With Xml and Json
1
Which of the following is false

A) The XMLHttpRequest object carries out asynchronous requests.
B) Browsers cache asynchronously requested files for faster access.
C) The XMLHttpRequest can make a request to any server.
D) The third argument to the XMLHttpRequest object's open method determines whether the request is asynchronous.
C
2
The XMLHttpRequest object parses an XML response into a DOM tree and stores it in the ________ property.

A) response
B) responseXML
C) xmlData
D) responseTree
B
3
The name for Ajax was coined by ________ in ________.

A) Jesse James Garrett, 2005
B) Adaptive Path, 2003
C) Microsoft, 1998
D) None of the above.
A
4
Unlike in POST requests, in an HTTP GET request

A) the request may not have parameters
B) the request may have only a limited number of parameters
C) the parameters are appended to the URL
D) the parameters are sent separatelyo
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
5
Which property or method is used to modify an attribute of an XML DOM element

A) attribute
B) the property with the same name as the attribute
C) attributeValue
D) setAttribute
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
6
Ajax toolkits solve which of the following problems

A) cross-browser incompatibilies
B) limited bandwidth availability
C) application security
D) compliance to web standards
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
7
When an XMLHttpRequest object receives a response from the server, it invokes a ________, which usually performs a ________ to display the retreived data.

A) recursive function, browser reload
B) anonymous function, browser redirect
C) callback function, partial page update
D) delayed function, database query
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
8
Ajax takes advantage of ________ scripting to make applications more responsive.

A) server-side
B) PHP
C) client-side
D) XML
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
9
If the code in a try block causes an exception, execution passes to ________.

A) the next line of the try block
B) the next function
C) the corresponding catch block
D) the corresponding error block
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
10
Ajax applications respond to user actions by making ________ requests to a web server.

A) synchronous
B) asynchronous
C) contiguous
D) asymmetric
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 10 flashcards in this deck.