11. the inputStream and OutputStream classes in Java provide fundamental methods tecido read and write data...
11. the inputStream and OutputStream classes in Java provide fundamental methods tecido read and write data as A. bits B. bytes C. integers D. floating point numbers E. characters 12. Which of the following statements regarding URI and URL is INCORRECT? A. A URI is a string of characters in a particular syntax that identifies a resource, and its syntax is composed of a "scheme" and a scheme-specific part, separated by a colon B. HTTP is a "scheme" in URI. C. A scheme in URI is called a protocol in a URL, and every scheme in URI is also a protocol in URL. D. A URL is a URI that, in addition to identifying a resource, provides a specific network location for the resource that a client can use to retrieve a representation of that resource. E Java has a class for URI (java.net. URI) as well as URL (ava.net.URL), but the former only identifies resources, while the latter can both identify and retrieve resources, and hence is more useful for this course. 13. Which of the following statements regarding Nagle's algorithm is INCORRECT? A. Nagle's algorithm was invented by John Nagle to solve the so-called small packet problem. B. The "small packet" in the small packet problem is frequently only 1 byte in size. When such a small packet is sent over a network that use TCP IP, the 1-byte packet becomes a 41-byte packet. C. Nagle's algorithm works by combining a number of small outgoing messages and sending them all at once. D. Although Nagle's algorithm may solve the small packet problem, it may also cause delays and, sometimes, even deadlocks. E. You can disable Nagle's algorithm in Java by calling a method in the Socket class called setTepNoNagle(). TCP provides a keeps the other endpoint to the Socket class to en B. In Java, live mechanism...nder called "Con from the server will be closing the 14. Which of the following statements regarding "keep-alive' is INCORRECT? A. TCP provides a keep-alive mechanism where, after a certain time of inactivity, a probe message is sent to the other endpoint to see if it's still alive and well. B. In Java, we use the setKeepAlive() method in the Socket class to enable or disable the TCP keep-alive mechanism. C. In HTTP, the client uses a header called "Connection to indicate that it wants its connection to keep alive' after the first response from the server. D. In HTTP, the server uses a header called "Close to indicate that it will be closing the connection once it has completed its current response. E. In HTTP. this keep alive' feature improves the efficiency in processing requests.