Exam 22: Internet Networking

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

What does the following if statement do? If (code == HttpURLConnetion.HTTP_OK)

Free
(Multiple Choice)
5.0/5
(34)
Correct Answer:
Verified

A

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

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

D

Each IP ____ is delivered separately, and each one that is a part of the same transmission can take different routes through the Internet.

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

A

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
(43)

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

(Multiple Choice)
4.8/5
(36)

Which of the following HTTP commands supplies input to a server-side command and returns the result?

(Multiple Choice)
4.8/5
(37)

Which of the following statements is correct?

(Multiple Choice)
4.7/5
(36)

Show the command line that establishes a telnet connection with echo server (port 7) running on the computer www.eecs.utoledo.edu.

(Multiple Choice)
4.8/5
(47)

To connect to the HTTP port (80) of the server yahoo.com, you use:

(Multiple Choice)
4.9/5
(36)

Which of the following is not an HTTP command?

(Multiple Choice)
4.7/5
(40)

The HTTP command GET ____________.

(Multiple Choice)
4.8/5
(36)

What does the acronym POP stand for?

(Multiple Choice)
4.9/5
(42)

To retrieve the response code from a URLConnection object, you need __________________.

(Multiple Choice)
4.8/5
(33)

To retrieve the response code and message from an HttpURLConnection object, you need __________________.

(Multiple Choice)
4.9/5
(36)

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

(Multiple Choice)
4.8/5
(41)

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.

(Multiple Choice)
4.8/5
(38)

____________________ has no provision for retrying an incomplete transmission.

(Multiple Choice)
4.7/5
(43)

In a communication protocol, can the sender indicate how many bytes are contained in the request?

(Multiple Choice)
4.8/5
(34)

The ____________ has one function, to attempt to deliver data from one computer to another across the Internet.

(Multiple Choice)
5.0/5
(36)

For the server to execute the run method in a separate thread for each client, the application program needs to implement the _____ interface.

(Multiple Choice)
4.9/5
(38)
Showing 1 - 20 of 74
close modal

Filters

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