ESAT Forouzan - Chapter 27: HTTP and WWW Flashcards
HTTP has similarities to both _______ and _______.
a. FTP; SNMP
b. FTP; SMTP
c. FTP; MTV
d. FTP; URL
b. FTP; SMTP
A request message always contains _______.
a. A header and a body
b. A request line and a header
c. A status line, a header, and a body
d. A status line and a header
b. A request line and a header
Which of the following is present in both a request line and a status line?
a. HTTP version number
b. URL
c. Status code
d. Status phrase
a. HTTP version number
What does the URL need to access a document?
a. Path name
b. Host computer
c. Retrieval method
d. All the above
d. All the above
Which of the following is a retrieval method?
a. HTTP
b. FTP
c. TELNET
d. All of the above
d. All of the above
A user wants to replace a document with a newer version; the request line contains the _______ method.
a. GET
b. POST
c. COPY
d. PUT
d. PUT
A user wants to copy a file to another location; the request line contains the _______ method.
a. PUT
b. PATCH
c. COPY
d. POST
c. COPY
A user needs to retrieve a document from the server; the request line contains the _______ method.
a. GET
b. HEAD
c. POST
d. PUT
a. GET
A user needs to send the server some information. The request line method is ________.
a. OPTION
b. PATCH
c. MOVE
d. POST
d. POST
A user needs to move a file to another location. The request line method is _______.
a. MOVE
b. PUT
c. GET
d. PATCH
a. MOVE
A response message always contains _______.
a. A header and a body
b. A status line, a header, and a body
c. A request line and a header
d. A status line and a header
c. A request line and a header
The _______ header supplies information about the body of a document.
a. General
b. Request
c. Response
d. Entity
d. Entity
The _______ header can specify the server configuration or provide information about a request.
a. General
b. Request
c. Response
d. Entity
c. Response
The _______ header can specify the client configuration and the client’s preferred document format.
a. General
b. Request
c. Response
d. Entity
b. Request
Hypertext documents are linked through ___________.
a. DNS
b. TELNET
c. Pointers
d. Homepages
c. Pointers
Which of the following is not a client program in WWW?
a. FTP
b. TELNET
c. HTTP
d. HTML
d. HTML
Which of the following is an interpreter?
a. HTTP
b. HTML
c. CGI
d. FTP
b. HTML
What are the components of a browser?
a. Retrieval method, host computer, path name
b. Controller, client program, interpreter
c. Hypertext, hypermedia, HTML
d. All the above
b. Controller, client program, interpreter
Which type of Web document is run at the client site?
a. Static
b. Dynamic
c. Active
d. All the above
c. Active
Which type of Web document is created at the server site only when requested by a client?
a. Static
b. Dynamic
c. Active
d. All the above
b. Dynamic
Which type of Web document is fixed-content and is created and stored at the server site?
a. Static
b. Dynamic
c. Active
d. All the above
a. Static
The _______ of a Web page contains the title and parameters used by the browser.
a. Tags
b. Head
c. Body
d. Attributes
b. Head
In < IMG SRC=”Pictures/book1.gif” ALIGN=middle> ALIGN is _______.
a. A tag
b. The head
c. The body
d. An attribute
d. An attribute
An ending tag is usually of the form _______.
a. </tagname>
b. <\ tagname>
c. < tagname >
d. < tagname!>
a. </tagname>