Exam 21: Internet Networking

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

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?

(Multiple Choice)
4.8/5
(32)

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.

(Multiple Choice)
4.9/5
(37)

The HTTP command GET ____________.

(Multiple Choice)
4.8/5
(34)

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.

(Multiple Choice)
4.9/5
(45)

Which of the following protocols is used to send email messages?

(Multiple Choice)
4.7/5
(40)

The numbers 130.65.86.66 denote a(n) ____________________.

(Multiple Choice)
5.0/5
(45)

The ____ is a complex collection of pathways on which a message can travel from one access point to another.

(Multiple Choice)
4.9/5
(39)

The HTTP command HEAD ____________.

(Multiple Choice)
4.8/5
(35)

____________________ has no provision for retrying an incomplete transmission.

(Multiple Choice)
4.8/5
(38)

Buffering the characters means:

(Multiple Choice)
5.0/5
(33)

The HTTP command TRACE ____________.

(Multiple Choice)
4.8/5
(39)

The ____________ translates domain names into Internet addresses.

(Multiple Choice)
4.9/5
(35)

Suppose you use the URLGet program in Section 21.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?

(Multiple Choice)
4.8/5
(38)

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?

(Multiple Choice)
4.7/5
(36)

Which code creates a server socket on port PORT_NUMBER and listens for a connection?

(Multiple Choice)
4.8/5
(40)

_____________ attempts reliable delivery of data, with retries if there are failures. It also notifies the sender whether or not the attempt succeeded.

(Multiple Choice)
4.8/5
(38)

You should use a ______ to connect to a web server.

(Multiple Choice)
4.8/5
(33)

A successful response has status _______________.

(Multiple Choice)
4.8/5
(43)

A(n) ____ is a pointer to an information resource on the World Wide Web.

(Multiple Choice)
4.8/5
(39)

__________________ is the protocol that defines communication between Web browsers and Web servers.

(Multiple Choice)
4.8/5
(44)
Showing 41 - 60 of 74
close modal

Filters

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