Deck 16: Ajax-Enabled Rich Internet Applications With Xml and Json
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/10
Play
Full screen (f)
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.
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
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) 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
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
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
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
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
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
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
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