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