Q1: |
Why do we have to do error checking? Dr. Plank doesn't have any error checking in his lecture notes. |
A: |
Dr. Plank doesn't have error checking in his lecture notes on purpose. It is for the students to read and follow his code easily. You have to do error checking in your code. |
|
Q2: |
I didn't take CS360, and didn't know about error checking. TA's didn't tell me about it. I should get my points back. |
A: |
We assume the students in CS560 know all the things we learn in CS360. Error checking is one of them. We will not give little details about grading unless we think all the students should be informed in advance. |
|
Q3: |
Can I ask a TA to check my code before I submit? |
A: |
There are 60 students in this class and only 3 of us. There is no way we can check everybody's program for each lab. We would like to be fair to all the students in the class. Although we will not try to read the whole program and fix it, 5 to 10 lines of code can be helpful when you send your questions by e-mail. |
|
Q4: |
If I don't get a confirmation e-mail immediately after I submit lab, do I have to submit it again? |
A: |
No. The acknowledgement will be sent when your grader unpacks your submission. Please wait for a few days. |
|
Q5: |
Will my grader for lab1 grade all my labs for this course? |
A: |
Probably not. TA's will grade labs at random. |
|
Q6: |
How do I know that the output from my program is correct? |
A: |
Run the sample executable. All the sample executables for lab1 to lab3 are found in ~cs560/bin.labs/sparc-sun-solaris2.7. |
|
Q7: |
I got a segmentation fault. I can't figure out why. |
A: |
Run "gdb", and find out which line of your code is causing a segmentation fault. After you find out where it gets seg. fault, print out everything and make sure that the data you are passing/assigning/getting are all correct. It usually turns out you have a little mistake in your code. |
|
Q8: |
My output doesn't match Dr. Plank's. I'm sure I'm doing everything correct. I think Dr. Plank has bugs in his code. |
A: |
We have heard this kind of claim about Dr. Plank's code, and 99% of the time, it's a mistake on the student side. We did not have any instances where Dr. Plank made mistakes when we took CS560. |