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. 404 status message
Not Found
ajax (Asynchronous Javascript + XML)
open
Autocompleter.Local
2. Handler that runs whenever readyState changes
Scriptaculous
onreadystatechange
responsive
XMLHttpRequest object
3. 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
set of options
XTML HTTP Request (XHR object)
DOM (Document Object Model)
Ajax.Autocompleter
4. 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.
XTML HTTP Request (XHR object)
Ajax.Autocompleter
Scriptaculous
DOM (Document Object Model)
5. It can access surrounding local variables
responsive
set of options
inner anonymous function
send (content)
6. Fetches and displays list of choices using Ajax
ajax.responseText
Ajax.Autocompleter
XTML HTTP Request (XHR object)
asynchronous requests
7. 400 status message
Unauthorized
Bad Request
set of options
open
8. AJAX files ______________: Cannot be run from web page stored on hard drive - can only be run on web page stored on a web server
responsive
send (content)
security restrictions
Bad Request
9. 403 status message
Prototype ajax request
Forbidden
ajax (Asynchronous Javascript + XML)
Unauthorized
10. 500 status message
Internal server error
Forbidden
asynchronous requests
DOM (Document Object Model)
11. 200 status message
Forbidden
Ok all good
security restrictions
ajax (Asynchronous Javascript + XML)
12. A set of useful additional objects - methods - and cross-browser compatibility fixes
Forbidden
send (content)
JSON (Javascript Object Notation)
prototype javascript library
13. At its core ________ is a way of showing data in a text format that is parsable. Without an associated style file.
ajax.responseText
open
Internal server error
XML
14. Options that can be passed to the ____________: method (get or post) - parameters to pass to the server
Ajax.Request constructor
Ok all good
Forbidden
security restrictions
15. 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 (Asynchronous Javascript + XML)
onreadystatechange
asynchronous requests
Not Found
16. XML Allows you to use __________ as well because XML is a document.
DOM inspector
ajax (Asynchronous Javascript + XML)
$
ajax.responseText
17. A lightweight data-interchange format
JSON (Javascript Object Notation)
set of options
open
readyState property
18. The real value of XML HTTP request is in the way it is ________.
asynchronous
Forbidden
Scriptaculous
Autocompleter.Local
19. Script to use _________: <script type="text/javascript" src=" http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js "></script>
Bad Request
Prototype
asynchronous
responsive
20. Objects have properties such as the title tag on a page is a property of _________. Properties themselves are objects.
Not Found
open
Prototype ajax request
object document
21. 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)
Ok all good
set of options
readyState property
onreadystatechange
22. The core Javascript object that makes Ajax possible. Can fetch files from a web server
JSON (Javascript Object Notation)
XMLHttpRequest object
Not Found
XML
23. Way of encoding parameters into a URL (parameter1=value1¶meter2=value2)(parameters are preceded by a ?)
query string
XTML HTTP Request (XHR object)
onreadystatechange
asynchronous requests
24. Sends request to server
Autocompleter.Local
ajax.responseText
send (content)
XTML HTTP Request (XHR object)
25. Auto-completes from an array of choices
JSON (Javascript Object Notation)
Autocompleter.Local
security restrictions
asynchronous interaction
26. 401 status message
DOM inspector
Unauthorized
DOM (Document Object Model)
object document
27. XMLHttpRequest to pass header name and get response.
XML
Bad Request
Forbidden
getResponseHeader ("headername")
28. User can keep interacting with page while data loads
asynchronous requests
security restrictions
asynchronous interaction
Forbidden
29. Makes the necessary arrangements for the server
asynchronous
Bad Request
XMLHttpRequest object
open
30. Parameters of Prototype's Ajax.Request: object- URL of request - ________
set of options
responsive
send (content)
Scriptaculous
31. Stores the value returned when send() is finished
ajax.responseText
$
XMLHttpRequest object
asynchronous
32. JavaScript library built on top of Prototype that adds visual effects - drag and drop - and others (auto complete - in-place editors)
Ajax.Autocompleter
Prototype
Scriptaculous
$
33. 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
prototype javascript library
asynchronous
ajax (Asynchronous Javascript + XML)
Ok all good
34. Ajax helps make more ________ sites
Internal server error
responsive
Autocompleter.Local
asynchronous requests
35. new Ajax.Request("file.php" - { method:"get" - parameters: {zip:valueOfZipCode} - onSuccess: displayCityState } );
Ok all good
XML
security restrictions
Prototype ajax request
36. symbol used to return the DOM object representing the element with a given id (replaces document.getElementById)
$
Unauthorized
Ajax.Autocompleter
XMLHttpRequest object