CSE logo University of Washington Department of Computer Science & Engineering
 CSE 326: Data Structures and Algorithms
  CSE Home   About Us    Search    Contact Info 

 Main page
Administration
 Syllabus
 Workload and Grading
 Instructor and TAs
 Lectures AA/B BA/B
 Email archive
 Accommodations
Assignments and exams
 Assignments
 Exams
 Policies
Resources
 Tutorials
 Demos
   

CSE 326 Assignment Guidelines

For written assignments, turn in hardcopy at the class meeting when it is due. Typed assignments are preferred. Handwritten will be accepted, but note that if the TA has a hard time reading your work, the TA will also have a hard time giving you a good grade.

Some problems on the written assignments ask you to give an algorithm to solve a problem. Unless the assignment specifically tells you to implement the code and run it, pseudocode is acceptable. Pseudocode means that you don't have to write every line in C with correct syntax; English explanations of operations are acceptable. Note that the general rule you should follow is that you can substitute English for any O(1) operation, but not for more complex steps.  Thus, the following would not be acceptable:

scan the list and count all elements greater than x

while the following would be OK

while list has more elements
    increment counter if current element is greater than x
    move to next element of list

The idea is that you don't have to give all the nitty-gritty coding details (that's what the programming assignments are for), but you should demonstrate a clear understanding of what your algorithm does and where those nitty-gritty details would have to go.


For programming assignments, if not otherwise stated on the assignment page, turn in both hardcopy of your code and online files so that we can run your program (details to be given later). Either C++ or Java is acceptable for all programming assignments. Obviously, if you are asked to write the code for a linked list or tree, you're not allowed to use an implementation from the standard libraries!

Let us know if there are any problems.


For all assignments, please include your name, student ID, and section with your submission, so that you can be sure to get credit for everything you do.


CSE logo Department of Computer Science & Engineering
University of Washington
Box 352350
Seattle, WA  98195-2350
(206) 543-1695 voice, (206) 543-2969 FAX
[comments to afuchs at cs.washington.edu]