CS 341 - Assignments

Programs, Homeworks, Quizzes, & Exams


[ Home ] [ Syllabus ] [ Lectures ] [ Information ] [ Assignments ] [ Grades ]

Unless otherwise noted, all assignments, homeworks, programs, assessents, etc... Are due at 11:59:59pm on the day it is due. I.e., if the assignment is due on Monday, it means it's due before Monday turns Tuesday.

Exams

Homeworks

  • Homework #1: [ PS, PS.gz, PDF ]
    • Due: Wed 1/30/2008 @ 11.59.59pm through CS turnin facility
  • Homework #2: [ PS, PS.gz, PDF ]
    • Due: Tue 2/12/2008 @ 11.59.59pm through CS turnin facility
  • Homework #3: [ PS, PS.gz, PDF ] + Source files
    • Due: 2/28/2008 @ 11.59.50pm through CS turnin facility
    • Note!!! Please implement the strrchr functionality from the C strrchr man page, i.e., the function returns a pointer to the position of the found character, or null if not found. This is a mistake in the writeup (rather mimicking the Java lastIndexOf method, and that's not what we want.
  • Homework #4: [ PS, PS.gz, PDF ] + Source files
    • Due: 4/7/2008 @ 11.59pm through CS turnin facility
  • Homework #5: [ PS, PS.gz, PDF ]
    • Due: 5/13/2008 in class
    • Please read the writeup, and ask questions as needed
    • If you missed class on 4/29/08 you'll need to talk to andree to get a user on the system.
  • Assignments

  • How to turn in your program (See bottom of page)

  • Quizzes

    Turnin

    Since all programs you write should compile and run on the cs machines (moons.cs.unm.edu), it is of course imperative that you have a CS account. On these machines, there is a facilty called turnin. This program will be used to turn in all your assignments this semester. Each assignment will have a name, such as cs341.prog1, and you can turn in your files using the following command:

          turnin <assignment name> <list of files>
          

    When you have turned in an assignment, you can verify your turnin using the following command:

          turnin -ls <assignment name>
          

    Note! If you get the following type of message when trying to submit your assignment:

        Turning in:
        Can't open "Hw1Answers.txt".
        All files were not turned in successfully!
          

    There is a permissions issue with your files. In order for the turnin to work, the following two rules have to be adhered to:

    • The file you are submitting has to be world readable

    • The directory that the file resides in has to be world executable.

    Let's say that you have the following structure:

          Home
            + -> CS341
    	       + -> Hw1
    	            + -> Hw1Answers.txt
          

    In order to accomplish the correct permissions on the files and directories, you'd say:

          > cd ~/CS341
          > chmod o+x Hw1
          > chmod o+r Hw1/Hw1Answers.txt
          > cd Hw1
          > turnin cs341.hw1 Hw1Answers.txt
          

    And the file would be turned in correctly.

    It's ok to turn in an assignment several times, only the latest submission will be used. Note that this is the only valid way of turning in an assignment. Submissions over email or other media will not be accepted. Assignment deadlines should be kept, and once the turnin for an assignment is closed, assignment submissions will no longer be accepted.

    Notes! You should *ONLY* turn in the source and documentation files specifically requested in the assignment writeup. Submission of other files such as backup files etc, will have a negative impact on your grade for that assignment.

    Naturally, all files that you turn in should be properly documented with your name, email, and assignment name and number.


    Page last modified 04/29/2008 11:46AM by Andree