ulrail.gif

Resources

  ur-2c.gif urrail.gif
blrail-nonavbar.gif

Home | Resources | Assignments | Exams
Lectures | Course Staff | Submit

br-2a.gif   br-2c.gif brrail.gif
spacer.gif

spacer.gif

Resources and Policies

Files for Homework 3

Standard Java Libraries

A helpful tutorial on debugging in eclipse

http://www.ibm.com/developerworks/opensource/library/os-ecbug/

To get Java for your Windows computer (as of August 28, 2007)

  • Visit http://java.sun.com
  • Under popular downloads (on the right) click on Java SE
  • Click on Download
  • Check that you agree with the license terms and then click on either the Windows Online or Offline at the top of the list of choices
  • This will download a file with a .exe extension. Open the file (run the program) to install Java on your machine

To use Java from the Windows command line

  • right-click on "my computer", choose properties. Then select the "advanced" tab, and click the "Environment Variables" button
  • You should see a dialog box with two lists. In the top list, look for a variable called "PATH". If you don't see one, click "new", and create a PATH variable, otherwise select the PATH variable and click "edit". The value of the PATH variable simply tells the Windows operating system what directories to look in for programs when you run them from the command line. When you type "java" at the command line, for example, Windows searches in each directory listed in your PATH for the program, java.exe. In either case, you should put the following string at the beginning (make sure you get this exactly right, and make sure that it corresponds to where you actually installed the JDK; if you installed the JDK in the standard place using the installation defaults this should be right): C:\Program Files\Java\jdk1.6.0_02\bin;c:\Program Files\Java\jre1.6.0_02\bin
  • If you already had something in the PATH (so you had to click "edit" before), you will want to put a semicolon at the end to separate what you just wrote from what was already there.
  • Quit any open command prompt windows, open a new one, and you should be good to go.

To get Eclipse

  • First be sure that you installed an up-date-date version of the Java SDK (as above)
  • Visit http://eclipse.org
  • Click on the orange Download button
  • Click on Eclipse IDE for Java Developers link for your operating system
  • What you get, specifically, when you download Eclipse is in fact a zip file. To "install" Eclipse, open the zip file and "extract" the zipped files into a new directory. You can put this new directory anywhere you like.
  • You'll now have a working Eclipse installation. To run Eclipse, go to your newly created eclipse directory and double-click on the Eclipse icon.
  • [WINDOWS ONLY] To make life easier, however, you can right click on this icon, select "create shortcut", then move the new shortcut to your desktop.

Honor Code

The UVA Honor Code applies to all work in this course, and will be enforced.  We will be using automated techniques to find violations of this policy.

Rules on Collaboration on Assignments

Students are encouraged to collaborate on the laboratory components of assignments, but are prohibited from collaborating in any way on the main parts of the assignments. By turning in lab work, a student attests that he or she has done the work and has understood the material. If work is done in collaboration with other students, the names of all collaborating students must be included in each file submitted, and the id’s of the students should be listed on the submission page when the work is submitted. Students should submit only one copy of a lab per group. By turning in work, a student attests that he or she contributed fairly and equally to the result and that every other student whose name is included did as well. You must not turn in laboratory work if you did not contribute fairly and equally to the result, and you must not turn in work with the name of any other student who did not contribute fairly and equally to the work. To do so would constitute plagiarism. Again, the main part of each assignment is to be done individually without the help of anyone except the course instructor or a course TA. You may continue to discuss with each other the laboratory components of the assignments and the basic building block issues that they cover. If in doubt about whether a particular kind of collaboration or discussion is allowed, ask the instructor. In no case may you look at another student’s programming code, share your programming code, allow your programming code to be seen by, or write programming code for another student on the main parts of the assignment. That work is to be yours alone, done, at most, with the help of the instructor or a course TA.

Regrades

All lab assignments, programming assignments, and lab quizzes will have the grades e-mailed to you.  That e-mail will include the grades for each of the sub-parts of the assignment, and if you did not get full credit, then an explanation why.  Included in the e-mail will be a link to the grading guidelines, which will explain how and why points were awarded.

If you believe that you deserve more points than given, you will need to fill out a regrade request via the Submit a regrade link.  All lab assignments, programming assignments, and lab quizzes must have their regrades submitted via this web page.  All regrades must be submitted within 10 days of when the assignment grade is e-mailed to you.  This 10 day limit is enforced by the regrade system, and the list of assignments that are allowing regrades is listed at the top of the page.  If there is a valid reason why you were unable to submit a regrade during that time, you can speak to the course personnel, but in general, late regrades will not be accepted.  When submitting a regrade, you need to explain why you feel you deserve more points (just saying "I want a higher grade" is not a valid reason).

Exams, which are paper-based, will have a paper-based form to fill out for a regrade. Exam regrades must also be submitted within 10 days of when they are initially returned in class. There will be more on this when the first exam is returned. 

View course grades

This link will allow you to view all of your course grades throughout the semester.  Once a graded assignment is returned, it will be e-mailed to you, and will then appear on this page.  Note that the grades do not appear on this page before they are e-mailed to you.  Currently, there are no grades to be viewed, however.

spacer.gif
spacer.gif footer-middle.gif spacer.gif