<< Chapter < Page Chapter >> Page >

Go to answer 11

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 .

Go to answer 12

Question 13

True or False?

Most IP addresses have a corresponding name known as a domain name .

Go to answer 13

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.

Go to answer 14

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.

Go to answer 15

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.

Go to answer 16

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.

Go to answer 17

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.

Go to answer 18

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.

Go to answer 19

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)

Go to answer 20

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.

Go to answer 21

Question 22

True or False?

The two socket classes named Socket and DatagramSocket represent TCP and UDP communications respectively.

Go to answer 22

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 .

Go to answer 23

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Object-oriented programming (oop) with java. OpenStax CNX. Jun 29, 2016 Download for free at https://legacy.cnx.org/content/col11441/1.201
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Object-oriented programming (oop) with java' conversation and receive update notifications?

Ask