Utah High School ACM Programming Contest

2003 Take-Home Problem

Question Answering (QA) System

Frequently Asked Questions


  1. The basic system that you provided outputs the answers to each question to the screen, yet in the Output section of the Project Details document it says we should produce a file. Which is correct?
  2. Thank you for pointing this out. The Project Details document has been corrected to say that your answers should be output to the screen only. No output file should be generated.

  3. The sample code, and all supporting documentation suggests that the story text-file will be made up of one sentence per line. The sample test files are, however, not this way, and contain multiple sentences per line. Should we re-format the text files to comply with the documentation or write our program to work with the multiple sentences per line?
  4. The story input files are in the one-sentence-per-line format. The answer files for the training & test sets are in the multiple-sentences-per-line format. This was done out of laziness (one of the virtues of a good engineer) — we need to make less modifications to the grading script this way. The instructions given on the website for input and output should be followed, regardless of the format of the answer files.

  5. When I open the story files in Notepad (or other Windows text editors), it appears that all the sentences are on the same line. Shouldn't they all be on separate lines?
  6. Unix and Windows handle end-of-lines differently. In Windows, lines end with both a line feed character and a carriage return character. In Unix, lines only end with a line feed character. As a result, when you open up the story files in Notepad (or most other Windows text editors), it will appear that all the sentences are on the same line. This shouldn't effect you at all though. Most programming environments should interpet the line feed character as an end-of-line so everything should work properly.

  7. I haven't been able to access the training/test files. My username is <username> and my password is <password>. What is wrong?
  8. A common problem in this situation is that the case of the username/password is important. The case specified on the NDA has been used. There may be instances where the intended case is different from the interpreted case. If you are having problems with accessing the training/test files, you may want to send an email to verify the case of your username/password.


    This page best viewed with a browser that supports CSS.

    Utah High School ACM Programming Contest