COT 3530: Data Structures -- Spring 03
Frequently Asked Questions


To ask a question, email to: giri@cs.fiu.edu


Assignment #5

Apr 14:
 Question: 
  > You want us to remove all punctuations except hyphens and apostrophes.
  > However, some sentences include single quotes, and a single quote is
  > exactly the same charater as the apostrophe. Do we leave the
  > single quotes or remove them as well?

 Answer:  
  Treat the single quote like an apostrophe for this assignment. 
 Question: 
  > The method getAverageClusterSize() returns an int value in the
  > given version of hashSet.java. Shouldn't it be returning a double
  > value? 

 Answer:  
  Change the given code for hashSet so that it does return a double value.
Apr 05:
 Question: 
  > How do I manipulate the package weiss.util? 

 Answer:  
  Simply store the unzipped weiss.util as a sub-directory in the
  "Source" directory where your program sits. It should then compile
  with the appropriate "import weiss.util.HashSet" statement. Do not
  put it in the C:\jdk1.3.0\jre\lib\ext directory as recommended in
  Weiss' homepage because you need to use the modified HashSet.java
  file, as given on my course webpage.

Assignment #4

Mar 30:
 Question: 
  > How do I access the data files from home. 

 Answer: 
  The data files can be downloaded from ftp://ftp.imdb.com/pub/interfaces/.
  You are, however, constrained to use the gzip files without unzipping them.
Mar 29:
 Question: 
  > I'm having difficulty increasing the memory size in the JVM.
  > Where in JCreator or JBuilder do I increase the memory?

 Answer: 
  In JBuilder, go under "Project Properties" under "VM Parameters".

  In JCreator, go under "Project Settings", "JDK Tools", "Run
  Application", "Parameters".

  Under parameters (in JCreator or JBuilder), type "-Xmx192m".
  For JCreator users, your parameters should look like this:
       -Xmx192m -classpath "$[ClassPath]" $[JavaClass]
  (Thanks to Maria Cajina & Allen Vega for the above information.)

Assignment #2

Feb 27:
 Question: 
  > Is there an error in the tour length posted on the web site? 

 Answer: 
  YES!!! The corrected lengths are now available from the same location.