Your source code files should follow a specific format and you will submit them to me in a specific way. These rules make it easier for me to automate the collecting and compiling of your homework assignments, so it is important that you follow them carefully.
At the very beginning of each of your source files there should be a C-style comment containing the course number, your name, and the assignment number. An example below shows how you are to format this. After this comment are your import statements. After the import statements are your class definitions. Right after the closing brace of a method definition there should be a C++ style comment containing the name of the function. Here is a template of how a source file should look.
Your solution for an assignment will probably make use of a few source files. What I want you to turn in to me is a zip file containing all of the source files for your solution. I want you to follow a very strict rule for naming your zip file. The name of your zip file should be of the form
/*
Course: CS 50700
Name: Gluyas Williams
Assignment: 0
Any other comments that you want to make...
*/
import java.awt.*;
public class CS507Hw0Williams
{
public static void main( String[] args )
{
// put code here
}//main()
}//CS507Hw0Williams
CS507HW0Surname.zip
. The number between HW
and Surname
is the number of the homework assignment. And Surname
is of course your last name. If your surname has more than one part, concatenate the parts together so that the file name does not have any spaces in it.
When you are finished with your assignment, submit your solution using the Blackboard "Assignments" tool for this course. When you are on the "Edit Submission" page for an assignment, click on the "Add Attachments" button. In the popup window, click on the "My Computer" icon, which brings up a Windows file chooser dialog. Use the dialog box to navigate to your assignment zip file that you want to submit. After you click on the "Open" button from this dialog box, you will be back to the Blackboard "Edit Submission" page. Click on the "Submit" button at the bottom of this page. After you have submitted an assignment, it will move from your "In" box to your "Submitted" box. If you should need to re-submit the assignment, you can move the assignment back to your "In" box.
If your assignment is not finished but you want to send it to me in order to ask a question, then use the following procedure. Put your question in the body of an e-mail message and either put your source code in the body of the mail message, or attach your source code file to the message, or attach a zip file, whichever you think is more appropriate. The subject of the e-mail message should be of the form "Question CS507 Hw0". (If you attach a zip file to an e-mail message, be aware that some mail servers will not forward messages with zip file attachments. You can fool some of these mail servers by changing the extension of the zip file to something like "gif" or "jpg".)