Question 12
True or False?
For human consumption, we usually convert the value of each of the IP address bytes to an unsigned decimal value and display them connected by periods to makethem easier to remember. For example, a typical IP address might be 206.77.150.222 .
Question 13
True or False?
Most IP addresses have a corresponding name known as a domain name .
Question 14
True or False?
The Domain Name of a destination server is encapsulated into data packets and used by the internet protocol to route those packets from thesource to the destination.
Question 15
True or False?
The Java InetAddress class can often be used to find the domain name corresponding to an IP address, and to find the IP address corresponding to a domain name.
Question 16
True or False?
Each server computer that you may connect to will be logically organized into ports . Theoretically, there are a large number of available ports. A subset of those port numbers are predefined to be used for certain standardservices. For example, if you want to connect with a public server that communicates using the HTTP protocol, you would normally connect to port 80 onthe server of interest.
Question 17
True or False?
A firewall is the common name given to the equipment and associated software that is used to improve the communication speed of computersinside of a company with the Internet at large outside the company.
Question 18
True or False?
A proxy server is the common name given to the equipment and associated software that is used to insulate the network inside of a companyfrom the Internet at large outside the company. Typically, the firewall will restrict the degree to which computers inside the company can communicate withthe Internet for security and other reasons.
Question 19
True or False?
URL is an acronym for Uniform Resource Locator . (It is also the name of a class in Java.) A URL is a pointer to a particular resource at a particular location on the Internet.
Question 20
True or False?
A URL specifies the following:
- the protocol used to access the server (such as http)
- the name of the server
- the port on the server (optional)
- the path and name of a specific file on the server (sometimes optional)
- the anchor or reference point within the file (optional)
Question 21
True or False?
Java provides at least two different approaches for doing network programming (and possibly more) , insofar as the web is concerned. The two approaches are associated with
- The Connector , DatagramConnector , and ServerConnector classes
- The URL, URLEncoder, and URLConnection classes.
Question 22
True or False?
The two socket classes named Socket and DatagramSocket represent TCP and UDP communications respectively.
Question 23
True or False?
Generally, the Socket and DatagramSocket classes are used to implement both clients and servers , while the ServerSocket class is only used to implement servers .