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>
Which category of HTML tags allows the listing of documents?
a. Image
b. List
c. Hyperlink
d. Executable contents
b. List
The __________ tags enclose binary code or byte code.
a. Image
b. List
c. Hyperlink
d. Executable contents
d. Executable contents
A program can use _____ to write a CGI program.
a. Bourne shell script
b. Perl
c. C
d. Any of the above
d. Any of the above
An unemployed actor has posted his resume on the Web. This is probably a(n) _______ document.
a. Active
b. Static
c. Passive
d. Dynamic
b. Static
The server receives input from a browser through _________.
a. An attribute
b. A tag
c. A form
d. Any of the above
c. A form
Output from a CGI program is _______.
a. Text
b. Graphics
c. Binary data
d. Any of the above
d. Any of the above
Which type of Web document is transported from the server to the client in binary form?
a. Static
b. Dynamic
c. Active
d. All of the above
c. Active
An applet is a small application program written in _____.
a. C
b. C++
c. Shell script
d. Java
d. Java
_____________ is used to enable the use of active documents.
a. HTML
b. CGI
c. Java
d. All the above
a. HTML
Java is ____________.
a. A programming language
b. A run-time environment
c. A class library
d. All the above
d. All the above
An applet is ____________ document application program.
a. A static
b. An active
c. A passive
d. A dynamic
b. An active
Stock quotations are posted on the Web. This is probably a(n) ____________ document.
a. Active
b. Static
c. Passive
d. Dynamic
d. Dynamic
Updates for a satellite’s coordinates can be obtained on the WWW. This is probably a(n) ________ document.
a. Active
b. Static
c. Passive
d. Dynamic
d. Dynamic