Homework/Lab Pointers

  1. When you are finished with the assignment, use the script command to capture your activities. This creates a log file, and you should give it a ".txt" extension.

  2. The script command should be issued on the SNOWBALL server, not before you have connected to it (unless specifically requested).

  3. Use cat to show the programs you've made along with the file(s) containing explanations/comments. If appropriate, show data files.

  4. Show the compilations of each program. Also show test run(s) of the programs.

  5. If you need to answer questions, use cat to display your answers.

  6. Turn in the log as a text file (i.e. with a .txt extension) through iCollege. Attach the source files (e.g. ".c" files, ".h" files, etc.) along with the log file.

  7. The log file you turned in should be readable, which means program or test run(s) should be clearly shown line by line. All unreadable or unnecessary content should be removed. Your submission will not be graded if you fail to do so.

  8. Call the cleaned-up version hmwkY_XX.txt. Here you have to replace XX with the name of your account and Y should be replaced with the appropriate number. For example Account name: hchebrolu1, and it is a 2nd homework then your filename should be hmwk2_hchebrolu1.txt. For Labs use the similar format labY_XX.txt

  9. Always put your name in the comments in your code.
  10. If any line is copied from other source that must be specified in comments. You should not be using other people's code in your programs. If you do, you must indicate what it is (including which lines), who wrote it, and where it comes from.

  11. Make sure to keep a back-up of your files, including the log file before cleaning it up.

Note that we might use different input/file(s) to compile with your program, so you should make sure that it is a flexible solution.

Special policy

  1. Late submission within one week will receive the late penalty as given in the syllabus. A submission over one week late will not be graded.

  2. If a demo is required, it has to be scheduled and shown within a week. Failure to show the demo will receive a penalty (typically 10 points).

  3. Do not turn in files that are in a proprietary format. Use open formats such as .c, .sh, .txt, .ods, .odt, .csv, .ogg, .pdf, .md, .html. The format should be appropriate to the assignment. Files in a proprietary format will not be graded.