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.
NOTE: Detailed programming guidelines for assignment 3 will be posted here and announced on the mailing list. There will be additional procedures and requirements for you to follow! Check here when the announcement is sent!
For programming assignments, 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 C++ is acceptable for all programming assignments. Obviously, if I ask you to write the code for a linked list or tree, you're not allowed to use an implementation from the standard libraries!
The programming lab should be the same as you used in 143: the MSCC lab in the basement of Thomson hall. Let me know if there are any problems. Microsoft Visual C++ (MSVC) should be installed on all the lab machines. You may use your own computers, and/or another C compiler. If an assignment specifically requires Windows or MSVC, I will let you know. I currently don't plan on needing either for any assignment.
For all assignments, please write your name and student ID on each page of your printed work, so that you can be sure to get credit for everything you do.