Turning in a homework assignment for CS 275

Your source code files should follow a specific format and you will e-mail 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.

Format for your source files.

At the very beginning of each of your source files there should be a C-style comment containing the course number, your name, your partner's name (if you have one), 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 class (or method) definition there should be a C++ style comment containing the name of the class (or method). Here is an example of how a source file should look.
  /*
     Course: CS 275
     Name: Jean Shepherd
     Assignment: 0
     Any other comments that you want to make...
  */
  import java.awt.*;

  public class CS275HW0Shepherd
  {
     public static void main( String[] args )
     {
          // put code here
     }//main
  }//CS275HW0Shepherd
  
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 CS275HW0Surname.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.

E-mailing your assignments.

When you are finished with an assignment, e-mail me your source code in the zip file. Attach the zip file to your e-mail message. In the body of the e-mail message put your name, the course number, and the assignment number. The subject of the e-mail message should be the name of your zip file, i.e., CS275HW0Surname.zip.

If your assignment is not finished but you want to send it to me in order to ask a question about it, then use the following procedure. Put your question in the body of the mail message and either attach your source code or put it in the body of the mail message, whichever you think is more appropriate. The subject of the e-mail message should be of the form "Question: CS275HW0Surname".


Return to the Homework page.
Return to the CS 275 home page.


compliments and criticisms