Horstmann Internet Networking Verified Test Bank Ch.22 - Big Java Early Objects 5e Complete Test Bank by Cay S. Horstmann. DOCX document preview.
Course Title: Big Java, Early Objects
Chapter Number: 22 Internet Networking
Question type: Multiple Choice
1) Two kinds of data are transmitted between computers: ______________ refers to the data that one computer actually wants to send to another. Network protocol data are the data that describe how to reach the intended recipient and how to check for errors and data loss in the transmission.
a) packets
b) transmission data
c) application data
d) socket data
Title: _________ refers to data that one computer sends to another.
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
2) The term _____________ data refers to the data that describe how to reach the intended recipient and how to check for errors and data loss in the transmission.
a) packet
b) socket
c) application data
d) network protocol
Title: ____ data refers to data that describe how to reach the recipient and check for errors
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
3) The ____________ translates domain names into Internet addresses.
a) DSN
b) DNIP
c) DNS
d) TCP
Title: The ______ translates domain names into Internet addresses.
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
4) IP breaks up large chunks of data into more manageable ____________________.
a) packets
b) sockets
c) application data
d) network protocol data
Title: IP breaks up large chunks of data into more manageable ____.
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
5) The ____________ has one function, to attempt to deliver data from one computer to another across the Internet.
a) TCP/IP
b) IP
c) HTTP
d) DNS
Title: The _____ has one function, to attempt to deliver data across the Internet.
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
6) _____________ attempts reliable delivery of data, with retries if there are failures. It also notifies the sender whether or not the attempt succeeded.
a) IP
b) FTP
c) HTTP
d) TCP
Title: _____ attempts reliable delivery of data ...
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
7) Suppose you use the URLGet program in Section 22.5 to get a web page from a server that does not exist, such as http://wombat.java/index.html. What will happen?
a) The call to the URL constructor will throw an exception.
b) The call to getResponseCode will throw an exception.
c) The call to getResponseCode will return the error code 404.
d) The call to getInputStream will throw an exception.
Title: What happens when URLGet tries to connect to a nonexistent server?
Difficulty: Hard
Section Reference 1: 22.5 URL Connections
8) _______ ________ was developed to enable different local area networks to communicate with each other and has become the basis for connecting computers around the world over the Internet.
a) TCP
b) IP
c) FTP
d) HTTP
Title: ____ is used to connect computers worldwide
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
9) ____________________ has no provision for retrying an incomplete transmission.
a) TCP
b) IP
c) FTP
d) HTTP
Title: ____ has no provisions for retrying an incomplete transmission.
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
10) Each IP ____ is delivered separately, and each one that is a part of the same transmission can take different routes through the Internet.
a) packet
b) socket
c) address
d) port number
Title: Each IP ____ is delivered separately ... through the Internet.
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
11) The ____ is a complex collection of pathways on which a message can travel from one access point to another.
a) IP
b) HTTP protocol
c) HTML
d) Internet
Title: Name of collection of pathways between computers
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
12) If a computer wants to request information from gateway.com, it must first ask a(n) ____ server to translate the domain name into a numeric Internet address.
a) DNS
b) socket
c) URL
d) IP
Title: Server that translates domain names into IP addresses
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
13) If your data gets lost or garbled during transmission from one computer to another, what is responsible for ensuring that the recipient is aware of the unfortunate fact and does not rely on incomplete data?
a) TCP
b) IP
c) HTTP
d) DNS
Title: Protocol that provides reliability
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
14) The numbers 130.65.86.66 denote a(n) ____________________.
a) TCP address
b) IP address
c) URL address
d) FTP address
Title: The numbers 130.65.86.66 denote a _____.
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
15) ____ has built-in provisions for retrying incomplete transmissions.
a) TCP
b) IP
c) DNS
d) HTTP
Title: ____ has provisions for retrying incomplete transmissions.
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
16) What are among the most important pieces of information that must be included in an IP packet?
I) The Internet address of the recipient
II) The URL of the recipient
III) The Internet address of the sender
IV) The port number of the sender
a) I, III, and IV
b) I, II, and III
c) II, III, and IV
d) I, II, III, and IV
Title: Most important pieces of information in an IP packet?
Difficulty: Medium
Section Reference 1: 22.1 The Internet Protocol
17) A(n) _______________ is a set of instructions and rules that the client and server follow to allow communication between them. Each will know what to send and what to expect to receive from its partner in the communication.
a) URL
b) Internet
c) protocol in network programming
d) File Transfer Protocol
Title: What is a set of instructions for communicating in network programming?
Difficulty: Medium
Section Reference 1: 22.1 The Internet Protocol
18) What does the acronym POP stand for?
a) Point to Point
b) Post Office Point
c) Protocol Of Point
d) Post Office Protocol
Title: What does the acronym POP3 stand for?
Difficulty: Easy
Section Reference 1: 22.1 The Internet Protocol
19) __________________ is the protocol that defines communication between Web browsers and Web servers.
a) TCP/IP
b) Telnet
c) HTTP
d) IP
Title: Contrast TCP/IP and HTTP
Difficulty: Medium
Section Reference 1: 22.1 The Internet Protocol
20) Which of the following protocols is used to send email messages?
a) POP
b) IP
c) SMTP
d) TCP
Title: Which protocol is used for sending email?
Difficulty: Easy
Section Reference 1: 22.2 Application Level Protocols
21) Which of the following HTTP commands supplies input to a server-side command and returns the result?
a) CONNECT
b) DELETE
c) HEAD
d) POST
Title: Which HTTP command supplies input to a server-side command ... ?
Difficulty: Medium
Section Reference 1: 22.2 Application Level Protocols
22) Which of the following statements is correct?
a) HTML is a protocol that describes the command set for web server requests.
b) Web servers know how to display HTML documents.
c) Web servers know how to issue HTTP commands.
d) The Telnet program is not a browser and does not understand HTML tags.
Title: Which statement about HTTP and HTML is correct?
Difficulty: Easy
Section Reference 1: 22.2 Application Level Protocols
23) Which of the following is not an HTTP command?
a) HEAD
b) BODY
c) PUT
d) OPTIONS
Title: The following are HTTP commands except ____________
Difficulty: easy
Section Reference 1: 22.2 Application Level Protocols
24) A(n) ____ describes how data for a particular application is transmitted.
a) URL
b) application protocol
c) socket
d) IP address
Title: What describes how application data is transmitted?
Difficulty: Easy
Section Reference 1: 22.2 Application Level Protocols
25) A(n) ____ is a pointer to an information resource on the World Wide Web.
a) URL
b) socket
c) IP address
d) domain name
Title: A ____ is a pointer to a resource on the Web.
Difficulty: Easy
Section Reference 1: 22.2 Application Level Protocols
26) The ____ program is a useful tool for establishing test connections with servers.
a) DNS
b) HTML
c) Telnet
d) TCP
Title: ____ is a useful tool for establishing test connections with servers.
Difficulty: Easy
Section Reference 1: 22.2 Application Level Protocols
27) The ____ is used to download received messages from e-mail servers.
a) SMTP
b) TCP
c) IP
d) POP
Title: The ____ is used to download e-mail messages.
Difficulty: Easy
Section Reference 1: 22.2 Application Level Protocols
28) What does the acronym SMTP stand for?
a) Simple Mail Transfer Protocol
b) Small Mail Transport Protocol
c) Simple Mail Transport Protocol
d) Small Mail Transfer Protocol
Title: What does the acronym stand for?
Difficulty: Hard
Section Reference 1: 22.2 Application Level Protocols
29) Show the command line that establishes a telnet connection with echo server (port 7) running on the computer www.eecs.utoledo.edu.
a) telnet 7 www.eecs.utoledo.edu
b) connect www.eecs.utoledo.edu 7
c) telnet www.eecs.utoledo.edu 7
d) tcp www.eecs.utoledo.edu 7
Title: Show command line that makes a telnet connection with ...
Difficulty: Easy
Section Reference 1: 22.2 Application Level Protocols
30) Suppose that sock refers to a TCP socket connected to another machine, and in is aScanner. Which code sends the string “Who is there?” to the other machine, receives the return answer, and then prints it?
a)
PrintWriter pw = new PrintWriter(sock.getOutputStream().println("Who is there?"));
InputStream instream = sock.getInputStream();
Scanner in = new Scanner(instream);
System.out.println(in.nextLine());
b)
PrintWriter pw = new PrintWriter(sock.getInputStream());
pw.println("Who is there?");
pw.flush();
InputStream instream = sock.getInputStream();
Scanner in = new Scanner(instream);
System.out.println(in.nextLine());
c)
PrintWriter pw = new PrintWriter(sock.getOutputStream());
pw.flush("Who is there");
InputStream instream = sock.getInputStream();
Scanner in = new Scanner(instream);
System.out.println(in.nextLine());
d)
PrintWriter pw = new PrintWriter(sock.getOutputStream());
pw.println("Who is there?");
pw.flush();
InputStream instream = sock.getInputStream();
Scanner in = new Scanner(instream);
System.out.println(in.nextLine());
Title: Which code sends string, receives the return, and prints it.
Difficulty: Medium
Section Reference 1: 22.3 A Client Program
31) Write a code fragment that connects to a server running on gorge.divms.uiowa.edu at port 2345 and reads one line of text sent by the server.
a)
Socket sock = new Socket(gorge.divms.uiowa.edu, 2345);
Scanner scan = new Scanner(sock.getOutputStream());
String line = scan.nextLine();
b)
Socket sock = new Socket(gorge.divms.uiowa.edu, 2345);
Scanner scan = new Scanner(sock.getInputStream());
String line = scan.nextLine();
c)
Scanner scan = new Scanner(sock.getInputStream());
Socket sock = new Socket(gorge.divms.uiowa.edu, 2345);
String line = scan.nextLine();
d)
Socket sock = new Socket(2345, gorge.divms.uiowa.edu);
Scanner scan = new Scanner(sock.getInputStream());
String line = scan.next();
Title: Write code that connects to a server and reads text sent by it
Difficulty: Medium
Section Reference 1: 22.3 A Client Program
32) Write a code fragment that connects to a server running on gorge.divms.uiowa.edu at port 2345 and sends the message “Hello server” to the server and then reads the one-line response from the server.
a)
Socket sock = new Socket(2345, gorge.divms.uiowa.edu);
PrintWriter pw = new PrintWriter(sock.getOutputStream());
pw.println("Hello server");
pw.flush();
String line = scan.nextLine();
Scanner scan = new Scanner(sock.getInputStream());
b)
Socket sock = new Socket(gorge.divms.uiowa.edu);
PrintWriter pw = new PrintWriter(sock.getOutputStream(), 2345);
pw.println("Hello server");
pw.flush();
Scanner scan = new Scanner(sock.getInputStream());
String line = scan.nextLine();
c)
Socket sock = new Socket(gorge.divms.uiowa.edu, 2345);
PrintWriter pw = new PrintWriter(sock.getOutputStream());
pw.println("Hello server");
pw.flush();
Scanner scan = new Scanner(sock.getInputStream());
String line = scan.nextLine();
d)
Socket sock = new Socket(gorge.divms.uiowa.edu, 2345);
PrintWriter pw = new PrintWriter(sock.getInputStream());
pw.println("Hello server");
pw.flush();
Scanner scan = new Scanner(sock.getOutputStream());
String line = scan.nextLine();
Title: Write code that connects, sends “Hello server,” and reads response
Difficulty: Medium
Section Reference 1: 22.3 A Client Program
33) What are the steps involved in designing a client/server application?
I) Design a communication protocol.
II) Test the server with the Telnet program.
III) Implement the server program.
IV) Write a client program.
a) I
b) I and II
c) I, II, and III
d) I, II, III, and IV
Title: What are the steps in designing a client/server application?
Difficulty: Hard
Section Reference 1: 22.4 A Server Program
34) _________ objects are used for communication (IO) between two computers (client and server).
a) ServerSocket
b) Socket
c) ClientSocket
d) Packet
Title: Contrast server sockets and regular TCP sockets
Difficulty: Medium
Section Reference 1: 22.4 A Server Program
35) Which code creates a server socket on port PORT_NUMBER and listens for a connection?
a)
ServerSocket ss = new ServerSocket(PORT_NUMBER);
Socket sock = ss.accept();
b)
Socket ss = new Server(PORT_NUMBER);
ServerSocket sock = ss.accept();
c)
ServerSocket ss = new ServerSocket();
Socket sock = ss.accept();
d)
ServerSocket ss = new ServerSocket(PORT_NUMBER);
Socket sock = new Socket(ss.accept());
Title: Which code creates a server socket and listens for a connection?
Difficulty: Easy
Section Reference 1: 22.4 A Server Program
36) Which code fragment creates a server running at port 6666 and sends one line of text, “Hello from earth” over and over to any machine that connects to the server.
a)
ServerSocket ss = new ServerSocket(6666);
Socket sock = ss.accept();
while (true)
{
PrintWriter pw = new PrintWriter(sock.getOutputStream());
pw.println("Hello from earth");
pw.flush();
pw.close();
}
b)
ServerSocket ss = new ServerSocket(6666);
while (true)
{
PrintWriter pw = new PrintWriter(sock.getOutputStream());
pw.println("Hello from earth");
Socket sock = ss.accept();
}
c)
ServerSocket ss = new ServerSocket(6666);
while (true)
{
Socket sock = ss.accept();
PrintWriter pw = new PrintWriter(sock.getOutputStream());
pw.println("Hello from earth");
pw.flush();
pw.close();
}
d)
Socket sock = ss.accept();
while (true)
{
ServerSocket ss = new ServerSocket(6666);
PrintWriter pw = new PrintWriter(sock.getOutputStream());
pw.println("Hello from earth");
pw.flush();
pw.close();
}
Title: Create a server at port 6666 that sends “Hello from earth”
Difficulty: Medium
Section Reference 1: 22.4 A Server Program
37) Suppose you use the URLGet program in Section 22.5 to get a web page that does not exist on a server (which does exist). Assuming that the server is otherwise working properly, what will happen?
a) The call to openConnection will throw an exception.
b) The call to getResponseCode will return the error code 404.
c) The call to getResponseMessage will return null.
d) The call to getInputStream will throw an exception.
Title: What happens when URLGet tries to get a nonexistent page?
Difficulty: Medium
Section Reference 1: 22.5 URL Connections
38) A ______ is an object that encapsulates a TCP connection.
a) packet
b) socket
c) client
d) server
Title: A ______ is an object that encapsulates a TCP connection.
Difficulty: easy
Section Reference 1: 22.3 A Client Program
39) To connect to the HTTP port (80) of the server yahoo.com, you use:
a) Socket s = new Socket(80, yahoo.com);
b) Socket s = connect("yahoo.com", 80);
c) Socket s = new Socket("yahoo.com", 80);
d) java yahoo.com 80
Title: To connect to the HTTP port (80) of the server yahoo.com, you use:
Difficulty: medium
Section Reference 1: 22.3 A Client Program
40) For test protocols, turn the socket streams into:
a) scanners and readers.
b) scanners and printers.
c) scanners and writers.
d) scanners and servers.
Title: For test protocols, turn the socket streams into:
Difficulty: medium
Section Reference 1: 22.3 A Client Program
a) characters are immediately sent to their destination.
b) characters are not placed in an array.
c) characters are not immediately sent to their destination.
d) characters are being flushed.
Difficulty: medium
Section Reference 1: 22.3 A Client Program
42) A print writer buffers the characters that you send to it. To make sure that the server gets a complete request at a time, you need to ________ the buffer.
a) print
b) send
c) scan
d) flush
Title: To make sure that the server gets a complete request you need to ________ the buffer.
Difficulty: medium
Section Reference 1: 22.3 A Client Program
43) The ______ method empties the buffer and forwards all waiting characters to the destination.
a) print
b) send
c) scan
d) flush
Title: The ______ method empties the buffer and forwards all waiting characters.
Difficulty: easy
Section Reference 1: 22.3 A Client Program
44) The following command:
java pgmName hostname /
a) the port of the hostname.
b) the root page of the web server.
c) the character to end the command.
d) the item name needs to be retrieved.
Title: What does the slash mean in the following command?
Difficulty: medium
Section Reference 1: 22.3 A Client Program
45) The ______ method of the ServerSocket class waits for a client connection.
a) wait()
b) connect()
c) accept()
d) next()
Title: The ______ method of the ServerSocket class waits for a client connection.
Difficulty: medium
Section Reference 1: 22.4 A Server Program
46) For the server to execute the run method in a separate thread for each client, the application program needs to implement the _____ interface.
a) Running
b) Runtime
c) Server
d) Runnable
Title: For the server to execute the run method in each thread, applications need to implement the _____ interface:
Difficulty: Easy
Section Reference 1: 22.4 A Server Program
47) A thread dies ______________
a) when the client quits or disconnects.
b) when the run method exits.
c) when the client quits or disconnects and/or when the run method exits.
d) the thread runs forever in the background.
Title: When does a thread die?
Difficulty: medium
Section Reference 1: 22.4 A Server Program
48) To kill a server that was started in a shell window, ________.
a) press Ctrl+C
b) press Ctrl+Z
c) call the kill method
d) servers don’t stop.
Title: To kill a server that was started in a shell window, ________.
Difficulty: medium
Section Reference 1: 22.4 A Server Program
49) In a communication protocol, can the sender indicate how many bytes are contained in the request?
a) Yes, the web server does that at the end of the GET request.
b) Yes, the web browser does that in POST request.
c) Yes, the web browser does that at the end of the HTTP header.
d) No, the sender can't indicate how many bytes are contained in the request.
Title: Can the sender indicate how many bytes are contained in the request?
Difficulty: medium
Section Reference 1: 22.1 HOW TO
50) The Java library provides a _________ class that can take care of the socket connection to a web server.
a) SocketConnection
b) ServerConnection
c) ClientConnection
d) URLConnection
Title: The _________ class takes care of the socket connection.
Difficulty: medium
Section Reference 1: 22.5 URL Connections
51) The _________ class makes it easy to fetch a file from a web server.
a) FileConnection
b) ServerConnection
c) ClientConnection
d) URLConnection
Title: The _________ class makes it easy to fetch a file from a web server.
Difficulty: medium
Section Reference 1: 22.5 URL Connections
52) When a web page is loaded, the browser stores it in a ________ directory.
a) root
b) my document
c) cashe
d) cache
Title: When a web page is loaded, the browser stores it in a ________ directory.
Difficulty: easy
Section Reference 1: 22.5 URL Connections
53) To retrieve the response code from a URLConnection object, you need __________________.
a) to cast the HttpURLConnection object to the URLConnect subclass.
b) to cast the URLConnection object to the HttpURLConnect subclass.
c) to use the getInputStream() method.
d) to use the getCodeResponse() method.
Title: To retrieve the response code, you need __________________
Difficulty: Medium
Section Reference 1: 22.5 URL Connections
54) To retrieve the response code and message from an HttpURLConnection object, you need __________________.
a) to use the getInputStream() method.
b) to use the getURLConnection() method.
c) to use the getResponseCode() and getResponseMessage() methods.
d) to use the getCodeResponse() method.
Title: To retrieve the response code and message, you need __________________.
Difficulty: medium
Section Reference 1: 22.5 URL Connections
55) The HTTP response code 404 means _______________.
a) the response is successful.
b) the page is found successfully.
c) the page was not found.
d) the connection is lost.
Title: The HTTP response code 404 means _______________.
Difficulty: medium
Section Reference 1: 22.5 URL Connections
56) The HTTP response code 200 means _______________.
a) the response is successful.
b) the page is found successfully.
c) the page was not found.
d) the connection is lost.
Title: The HTTP response code 200 means _______________.
Difficulty: medium
Section Reference 1: 22.5 URL Connections
57) A successful response has status _______________.
a) 200 OK.
b) 404 OK.
c) 0 OK.
d) 100 OK.
Title: A successful response _______________.
Difficulty: medium
Section Reference 1: 22.5 URL Connections
58) A page not found has status code _______________.
a) 200 not found.
b) 404 not found.
c) 0 not found.
d) 100 not found.
Title: A page not found _______________.
Difficulty: medium
Section Reference 1: 22.5 URL Connections
59) When you communicate with a web server to obtain data, you have two choices:
I) You can make a socket connection and send GET and POST commands.
II) You can make a server connection and send GET and POST commands.
III) You can use the URLConnection class and have it issue the commands on your behalf.
IV) You can use the URL class and have it issue the commands on your behalf.
a) I and II.
b) II and III.
c) III and I.
d) IV and II.
Title: When you communicate with a web server to obtain data, you have two choices.
Difficulty: medium
Section Reference 1: 22.5 URL Connections
Section Reference 2: Programming Tip 22.1
60) When you communicate with a mail server, you ___________, or you can learn how to use Java mail extensions.
a) can write programs that send GET and POP commands.
b) can write programs that send SMTP and POST commands.
c) can write programs that send GET and POST commands
d) can write programs that send SMTP and POP commands.
Title: When you communicate with a mail server, you _____________.
Difficulty: medium
Section Reference 1: 22.5 URL Connections
Section Reference 2: Programming Tip 22.1
61) You should not use a ______ to connect to a web server.
a) Packet
b) Socket
c) URLConnection
d) HttpURLConnection
Title: You should not use ______ to connect to web servers.
Difficulty: easy
Section Reference 1: 22.5 URL Connections
Section Reference 2: Programming Tip 22.1
62) You should use a ______ to connect to a web server.
a) Packet
b) Socket
c) URLConnection
d) HttpURLConnection
Title: You should use ______ to connect to web servers.
Difficulty: easy
Section Reference 1: 22.5 URL Connections
Section Reference 2: Programming Tip 22.1
63) What does TCP/IP stand for?
a) Transmission Control and Internet Protocol.
b) Transmission Control Protocol and Internet Protocol.
c) Transmission Protocol and Internet Protocol.
d) Transmission Control Protocol over Internet Protocol.
Title: What does TCP/IP stand for?
Difficulty: easy
Section Reference 1: 22.5 URL Connections
Section Reference 2: Programming Tip 22.1
64) Sending commands over a socket connection is ___________.
a) a high-level approach.
b) a medium-level approach.
c) a low-level approach.
d) a complex approach.
Title: Sending commands over a socket connection is ___________.
Difficulty: easy
Section Reference 1: Programming Tip 22.1
65) What does the following if statement do?
if (code == HttpURLConnetion.HTTP_OK)
a) It checks if the code is 200.
b) It checks if the code is 404.
c) It checks if the connection is still connected.
d) It checks if there is HTTP.
Title: What does the following if statement do?
Difficulty: medium
Section Reference 1: 22.5 URL Connections
66) To open a connection, which of the following statements can you use?
a)
URL u = new URL("http://www.yahoo.com");
URLConnection conn = u.open();
b)
URL u = new URL("http://www.yahoo.com");
URLConnection conn = new URLConnection(u);
c)
URL u = new URL("http://www.yahoo.com");
URLConnection conn = u.openURLConnection();
d)
URL u = new URL("http://www.yahoo.com");
URLConnection conn = u.openConnection();
Title: To open a connection, which of the following statements can you use?
Difficulty: medium
Section Reference 1: 22.5 URL Connections
67) To close a connection, which of the following statements can you use?
a)
URL u = new URL("http://www.yahoo.com");
URLConnection conn = u.close();
b)
URL u = new URL(str);
URLConnection conn = new URLConnection(u);
c)
URL u = new URL(str);
URLConnection conn = u.closeURLConnection();
d) There is no need to close the connection.
Title: To close a connection, which of the the following statements can you use?
Difficulty: medium
Section Reference 1: 22.5 URL Connections
68) The HTTP command HEAD ____________.
a) stores the header information of an item on the server.
b) deletes the header information of an item from the server.
c) requests the header information of an item.
d) traces the header information of an item.
Title: The command HEAD____________.
Difficulty: easy
Section Reference 1: 22.2 Application Level Protocols
69) The HTTP command POST ____________.
a) returns the requested item.
b) supplies input to a server-side command and returns the result.
c) requests input from the server-side command.
d) supplies input to a client-side command.
Title: The command POST____________.
Difficulty: easy
Section Reference 1: 22.2 Application Level Protocols
70) The HTTP command GET ____________.
a) returns the requested item.
b) supplies input to a server-side command.
c) requests input from the server-side command.
d) supplies input to a client-side command.
Title: The command GET _____.
Difficulty: easy
Section Reference 1: 22.2 Application Level Protocols
71) The HTTP command PUT ____________.
a) returns the requested item.
b) stores an item on the client.
c) stores an item on the server.
d) supplies input to a client-side command.
Title: The command PUT ____________.
Difficulty: easy
Section Reference 1: 22.2 Application Level Protocols
72) The HTTP command DELETE ____________.
a) deletes two items, an item on the server and an item from the client.
b) deletes an item from the client.
c) deletes an item on the server.
d) deletes input from a client-side command.
Title: The command DELETE ____________.
Difficulty: easy
Section Reference 1: 22.2 Application Level Protocols
73) The HTTP command TRACE ____________.
a) traces the requested item.
b) traces an item from the client.
c) traces an item on the server.
d) traces the server communication.
Title: The command TRACE:
Difficulty: easy
Section Reference 1: 22.2 Application Level Protocols
74) The HTTP command OPTIONS ____________.
a) requests the item's communication options.
b) returns the item's options from the client.
c) returns the item's option on the server.
d) changes the options of the item.
Title: The command OPTIONS____________.
Difficulty: easy
Section Reference 1: 22.2 Application Level Protocols