Exam 11: Updating Web Pages With Ajax

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

____ define information about the request or response message and about the contents of the message body.

Free
(Multiple Choice)
4.8/5
(40)
Correct Answer:
Verified

C

The term ____ refers to the application, usually a web browser, that makes the request.

Free
(Multiple Choice)
4.9/5
(33)
Correct Answer:
Verified

D

After you have defined the basic request criteria, you use the ____ method with the instantiated XMLHttpRequest object to submit the request to the server.

Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
Verified

C

Match each statement below with correct item:
Lets a user's browser know that a cross-domain request is authorized
DHTML
Contains HTTP response as a text string
same-origin policy
Three digits returned from an HTTP server
XMLHttpRequest object
Correct Answer:
Verified
Premises:
Responses:
Lets a user's browser know that a cross-domain request is authorized
DHTML
Contains HTTP response as a text string
same-origin policy
Three digits returned from an HTTP server
XMLHttpRequest object
Uses a special HTTP response header to indicate response data may be used on other domains
proxy
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
JSON-P
Provides services or data in response to requests that use its methods and properties
responseText property
Someone or something that acts or performs a request for another thing or person
web service
The key component of Ajax
CORS
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
Access-Control-Allow-Origin header
Opens a potential security hole in your website
status code
(Matching)
4.8/5
(38)

Why is it generally a good practice to reuse an instantiated XMLHttpRequest object?

(Essay)
4.8/5
(38)

The term ____ refers to a computer system that is being accessed by a remote computer.

(Multiple Choice)
4.9/5
(41)

The first line of an HTTP message specifies the date.

(True/False)
4.9/5
(32)

The XMLHttpRequest object uses ____ to exchange data between a client computer and a web server.

(Multiple Choice)
5.0/5
(45)

What are the four steps in using Ajax to update data?

(Essay)
4.9/5
(32)

A(n)____ request stops the processing of the JavaScript code until a response is returned from the server.

(Multiple Choice)
4.7/5
(41)

Why is the Cache-Control header important for Ajax applications?

(Essay)
4.8/5
(41)

____ requests JSON content using a script element rather than an XMLHttpRequest object.

(Multiple Choice)
4.7/5
(36)

HTTP client requests and server responses are both known as HTTP ____.

(Multiple Choice)
4.8/5
(37)

An HTTP response code of 200 indicates that the request was successful.

(True/False)
4.9/5
(32)

A(n)____ is a data source made available on one domain for use on other domains across the web.

(Multiple Choice)
4.9/5
(48)

Why do you need access to a web server when developing an Ajax application?

(Essay)
4.8/5
(38)

____ refers to the temporary storage of data for faster access.

(Multiple Choice)
4.8/5
(36)

The ____ header specifies how a web browser should cache any server content it receives.

(Multiple Choice)
5.0/5
(35)

Are synchronous or asynchronous responses more resistant to server problems? Why?

(Essay)
4.7/5
(42)

You can use a server-side script as a ____ to access data from another domain.

(Multiple Choice)
4.9/5
(42)
Showing 1 - 20 of 41
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)