COP3330 Object Oriented Programming Section 2
Programming
Assignment Specifications
Spring 2003
Development (coding,
compiling, running)
You may use either the JDK alone (with a text editor) or the
JBuilder IDE to develop your programs.
(We must restrict the environments to be used for convenience to the
graders).
Deliverables
Please spend the time to package your program according to
the instructions below. A poor job here
means the grader has to spend more time on your program. The grader is only human. If he/she has to spend more time on your
program, he/she will be predisposed to assign you a lower grade.
You are to turn in a single zip file (no other compression
formats please). The zip should maintain
an internal path structure. The contents
of the zip are as follows:
- A
single directory under which all other files will reside.
- A
document in the main directory of your zip file called README.TXT or
README.DOC with instructions for installing and running your program. See below for specific items.
- If
you’re using the JDK, a DOS batch file containing
commands to compile and run your program.
These should be called COMPILE.BAT and RUN.BAT. These should be located in the main
directory of your zip file. You may
assume that the grader has the Java compiler (javac) and the Java
interpreter (java) in his/her PATH.
Your batch files should contain no absolute paths on your
system. (If they did, they would
most likely be invalid on the grader’s system). These files should require zero editing
by the graders. In particular, your
CLASSPATH should (most of the time) only include the current directory
(denoted with a “.”). Finally, do
not set your PATH variable inside the batch files. If you do, it will override the grader’s
PATH variable. Instead, define it
through Windows or at the prompt prior to running your batch files. Test your batch files by moving
everything to a different directory and running them. If it works, it probably will work
without problems for the grader too.
- If
you’re using JBuilder, the project file and all of its associated
directories. The project file
should define a main class so that the grader can simply click the Run button
(looks like a green play button).
The main class is defined under Project
Properties.
- All
source code (.java files) with your name in a comment at the top of EACH
source file.
- Regardless
of development environment, your must have compiled the source in your zip
file. In other words, the grader
should only need to unzip your program and execute RUN.BAT or, for
JBuilder, click the Run button.
Test this before zipping it up!
- A
write-up file (again in text or doc format) if the particular programming
assignment requires it.
- Again,
your programs should not require any third party libraries to run unless we
authorize these beforehand.
README
Specifications
The following information should be included in your
README.TXT or README.DOC file. Please
take the time to make the information in this document clear.
- Whether
you are using the JDK or JBuilder.
- Installation
instructions: any instructions
needed prior to running your program; there may not be any.
- Running
instructions: if the grader should
know anything else other than RUN.BAT or clicking Run, specify it
here. For example, if your batch
files require editing (they shouldn’t most of the time), put the required
edits here.
- The
main class of your program (i.e. the one that has the main method defined). This should be the class your are executing in your RUN.BAT or, if using
JBuilder, the main class of the project.
- The
name of the file containing a program write-up (if the program requires
it).
Delivery
Email your zipped program to the TA who is assigned to
handle your programs. See below:
- Your
email subject should include “COP3330 Program #x” or some other text to
identify the class and the assignment number.
- Your
email should have your real name in the text of the message.