CSE logo University of Washington Computer Science & Engineering
CSE326 Spring 2008
  CSE Home    326 Home   About Us    Search    Contact Info 

CSE 326
 Home
 Calendar
 Lectures
Assignments & Exams
 Projects
 Homeworks
 Midterm exam
 Final exam
Communication
 Discussion Board
 Mail to Course Staff
 Announcement Archive
Policies
 General Guidelines
 Grading Policies
 Programming Guidelines
 Written HW Guidelines
Misc
 LaTeX info
   

Written Homework Guidelines

Written homework assignments will be turned in at the beginning of lecture on their due dates.

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 Java 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.