Assignments, CPSC 331, Winter 2007

home page -  news -  syllabus -  topics -  schedule -  assignments -  tutorials -  tests -  java -  references -  Mike Jacobson


Instructions -  Assignment 1 -  Assignment 2 -  Assignment 3 -  Assignment 4 -  Assignment 5

 Instructions for Preparing and Submitting Assignments

Read These First!

Please make sure to read both of the following documents before you spend time working on assignments for this course.

Note that both these documents include information about the kinds of discussions you can have about course work and about how reference material can be cited and used.

Preparation of Assignments

General Instructions

Electronic submission, via the course Blackboard page, will be used to submit all assignments in this course.

Preparation of Java Programs

Provide Java source files as text files when you are asked to write Java programs to solve problems on assignments in this course.

Each program that you write should be

Note: You will be assessed on the quality of your testing and documentation when programs are marked in this course.

Preparation of Other Written Material

Written solutions to other questions (that require proofs or analysis) should be typeset and provided as Microsoft Word (“.doc”), Postscript (“.ps”) or PDF (“.pdf”) files. No other file formats are allowed.

Note: You will be assessed on the quality of your writing when your answers for non-programming problems are marked in this course.

Submission of Assignments

File names can be changed when files are submitted using Blackboard, and this can complicate things when you submit programs. Please submit a single file, using the following instructions, as your solution for each assignment in this course.

  1. Move Your Files into a New Directory.

    When you are ready to submit your solutions for an assignment create a new directory (preferably named after the assignment) and move all (and only) the files that you wish to submit into this directory.

  2. Generate an Archive File.

    Use the Unix “tar” command to produce a single compressed “tar file” that includes the contents of this directory.

    You should do this by executing the command

    tar –cvfz archive.tgz AssignmentDirectory

    in the directory above the directory with your assignment files — that is, in the directory that contains your assignment directory — where archive.tgz is the name you wish to give to the compressed “tar file” that you wish to create, and where AssignmentDirectory is the name of the directory that stores your assignment files (which you have created already).

    After you have done this, you should find that a new file called archive.tgz has been created, in the same directory as the one that contains the directory storing your assignment files.

    For example, if I have a directory called “CPSC331” where I store all my files for this course, then I would probably create a new directory called “Assignment1” inside my “CPSC331” directory, and I would use the directory “Assignment1” to store my files for the first assignment in this course. Just before submitting material for the first assignment I would make sure that “Assignment1” includes the files I wish to submit. Then I would execute the command

    tar –cvfz assignment1.tgz Assignment1

    within my “CPSC331” directory in order to create a file called “assignment1.tgz” and this is the file that I would submit using the course Blackboard page.

  3. Select Your Compressed File Using the File Selector in the Assignment Area, in Blackboard.

    Go the the area for the assignment in the course blackboard page. You should see that this includes

    • an “Assignment Information” area, where a copy of the assignment can be downloaded,
    • an “Assignment Materials” area, that you can use to give feedback and upload your assignment solution, and
    • a “Submit” area that you should use when you are finished with the assignment.

    The middle “Assignment Material” area includes a file selector that you should use to upload your solution.

  4. Complete the Submission Process:

    Press the “Submit” button when you are finished.

    Note: To my knowledge it is only possible to submit material by pressing the “Submit” button once!

    Furthermore, pressing “Save” does not submit your work for you, so that it will not be seen or graded if you select this instead of “Submit,” by mistake.

    Please send email to the course instructor as soon as you can, if you discover that you wish to resubmit material (perhaps, in order to correct a mistake), or if you realize that you did not “submit” your material before an assignment was due.


This page last modified:
http://www.cpsc.ucalgary.ca/~jacobs/cpsc331/W07/assignments.html