ICT 214 Tutorial Week 1

  1. Copy the program examples into an editor, save, compile and execute them
  2. Make small changes to the programs, e.g. print different messages
  3. Draw UML diagrams for the programs
  4. Run the GetInetInfo program with various DNS names, IPv4, IPv6 addresses and invalid addresses. Comment on the results.
  5. Look at the JavaDoc for the class NetworkInterface. This has a method getByInetAddress(InetAddress addr). Add code to the program GetInetInfo.java to create a NetworkInterface object for that address. Use methods which return a String such as getName() to display information about the NIC.
  6. The UML diagrams for a home network were too simplistic. Draw some more complete ones.

Jan Newmarch (http://jan.newmarch.name)
jan@newmarch.name
Last modified: Sun Feb 17 20:51:15 EST 2008
Copyright ©Jan Newmarch