SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Ajax
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 36 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Script to use _________: <script type="text/javascript" src=" http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js "></script>
onreadystatechange
prototype javascript library
Prototype
security restrictions
2. Objects have properties such as the title tag on a page is a property of _________. Properties themselves are objects.
object document
query string
$
DOM (Document Object Model)
3. AJAX files ______________: Cannot be run from web page stored on hard drive - can only be run on web page stored on a web server
ajax (Asynchronous Javascript + XML)
XTML HTTP Request (XHR object)
security restrictions
XMLHttpRequest object
4. It can access surrounding local variables
inner anonymous function
security restrictions
Not Found
Ok all good
5. XMLHttpRequest to pass header name and get response.
asynchronous requests
Autocompleter.Local
getResponseHeader ("headername")
Bad Request
6. Fetches and displays list of choices using Ajax
Prototype ajax request
Internal server error
prototype javascript library
Ajax.Autocompleter
7. Parameters of Prototype's Ajax.Request: object- URL of request - ________
set of options
ajax.responseText
security restrictions
Bad Request
8. Way of encoding parameters into a URL (parameter1=value1¶meter2=value2)(parameters are preceded by a ?)
Autocompleter.Local
XML
Ajax.Request constructor
query string
9. Process to sending ___________: create request object(var ajax= new XMLHTTPRequest())- attach event handler to onreadystatechange(ajax.onreadystatechange = function) - open a connection (ajax.open("get" -url -true); makes arrangements for the server
ajax.responseText
onreadystatechange
asynchronous requests
XMLHttpRequest object
10. Sends request to server
Ajax.Request constructor
send (content)
prototype javascript library
Prototype ajax request
11. symbol used to return the DOM object representing the element with a given id (replaces document.getElementById)
Bad Request
asynchronous interaction
Ajax.Autocompleter
$
12. 404 status message
ajax (Asynchronous Javascript + XML)
send (content)
set of options
Not Found
13. A group of interrelated web development techniques used on the client-side to create interactive web applications - Loading information using JavaScript from a web server without refreshing the page. Asynchronous requests may be made and responses ar
inner anonymous function
Autocompleter.Local
ajax (Asynchronous Javascript + XML)
Unauthorized
14. Options that can be passed to the ____________: method (get or post) - parameters to pass to the server
Ajax.Request constructor
Ok all good
Scriptaculous
Ajax.Autocompleter
15. 500 status message
Forbidden
security restrictions
Internal server error
Bad Request
16. new Ajax.Request("file.php" - { method:"get" - parameters: {zip:valueOfZipCode} - onSuccess: displayCityState } );
Unauthorized
XTML HTTP Request (XHR object)
Prototype ajax request
Scriptaculous
17. The core Javascript object that makes Ajax possible. Can fetch files from a web server
asynchronous
object document
Ajax.Autocompleter
XMLHttpRequest object
18. Ajax helps make more ________ sites
$
inner anonymous function
Ok all good
responsive
19. 403 status message
Forbidden
XTML HTTP Request (XHR object)
security restrictions
$
20. Handler that runs whenever readyState changes
onreadystatechange
ajax (Asynchronous Javascript + XML)
inner anonymous function
ajax.responseText
21. At its core ________ is a way of showing data in a text format that is parsable. Without an associated style file.
set of options
DOM (Document Object Model)
Autocompleter.Local
XML
22. 401 status message
ajax (Asynchronous Javascript + XML)
Autocompleter.Local
Scriptaculous
Unauthorized
23. Stores the value returned when send() is finished
ajax.responseText
XML
Not Found
Prototype
24. Makes the necessary arrangements for the server
open
Forbidden
readyState property
Not Found
25. A set of useful additional objects - methods - and cross-browser compatibility fixes
Bad Request
Ajax.Autocompleter
Autocompleter.Local
prototype javascript library
26. An object that allows requests to be made to the server without interrupting other browser tasks. Its an object and objects contain properties. The properties are: readyState - responseText - responseXML - status - statusText
XTML HTTP Request (XHR object)
object document
responsive
open
27. XML Allows you to use __________ as well because XML is a document.
XMLHttpRequest object
onreadystatechange
object document
DOM inspector
28. This holds the status of the XMLHttpRequest - is set several times by the web server when the server is processing the request - values from 0-4 (4 implies that the request is completely processed by server)
Prototype ajax request
readyState property
XML
Internal server error
29. JavaScript library built on top of Prototype that adds visual effects - drag and drop - and others (auto complete - in-place editors)
responsive
readyState property
query string
Scriptaculous
30. The real value of XML HTTP request is in the way it is ________.
asynchronous
open
Ajax.Request constructor
Bad Request
31. Everything in a document - everything in a browser window is an object. When we talk about these objects the word for that is model. Documents on a webpage = the DOM.
DOM (Document Object Model)
responsive
Not Found
JSON (Javascript Object Notation)
32. User can keep interacting with page while data loads
inner anonymous function
asynchronous interaction
object document
security restrictions
33. 400 status message
JSON (Javascript Object Notation)
asynchronous
Bad Request
send (content)
34. A lightweight data-interchange format
send (content)
JSON (Javascript Object Notation)
prototype javascript library
Bad Request
35. 200 status message
XMLHttpRequest object
DOM (Document Object Model)
Ok all good
Not Found
36. Auto-completes from an array of choices
Autocompleter.Local
Prototype ajax request
Unauthorized
Scriptaculous