[logo] Computing Systems
CS134b, Winter 2003

Programming languages and compilers

SEARCH

Home
Policy
Syllabus
Assignments
Using Osaka
Pearls
Text
People
FAQ
Mailing Lists
Previous Years
Links
Style Guide
Resources

Policies and grading for CS134b

Collaboration policy

Although it is not required, you are encouraged to form a group of up to 3 students. Except for lab 1 (the warmup lab), your group will submit a single submission, and all students in the group will receive the same score.

Students are allowed and encouraged to work together and collaborate with other groups on all homework and lab assignments. However, your group submission must be your own; you must write up your homework and lab work without referring to material developed with other groups. Programming assignments are similar. You are allowed to design your algorithms with other groups, you are even allowed to develop a working program together. However, the program that your group submit must be your own, and you must write it without reference to shared material (or the program you wrote jointly).

You may use the WWW for reference material. For homeworks and labs, you may search for solutions on the web, except for CS134 course material from previous years. You may use the material you found to develop your understanding, but your submission must be your own.

Summary: For homeworks and labs, you may use any and all resources at your disposal, but your submission must be your own work.

Late policy, extensions

There are no extensions in CS134b. Instead, each written and lab assignment has extra credit that can be used to make up for late or missing assignments.

Late penalties. The late penalty starts on the day after the assignment was due. The late penalty applies to both written and lab assignments.

  • Up to 7 days late: 25% penalty
  • Up to 14 days late: 50% penalty
  • No credit will be given to assignments that are submitted more than 14 days late.

Exams

There are no exams.

Extra Credit and end-of-term runoff

There will be many opportunities for extra credit during the term, especially for implementation of optimizations. The submission guidelines will be posted explicitly with each extra-credit assignment--the usual late-penalty policy does not apply in general. Currently, we plan several extra-credit parts, and more may be added during the term. The following extra-credit assignments are all optimizations due at the end of the term.

    Assignment Points
    Dead-code elimination
    10
    Constant-folding and inlining
    10
    Common-subexpression elimination
    10
    Hoisting
    25
    Alias analysis and optimization
    25

In addition, we will have a runoff at the end of term. The student group with the fastest compiler will receive 20 extra-credit points, and the runner-up will receive 10.

Grading

There will be 0-3 homeworks and 5 labs. If we have homework, it will count at most 20% toward your grade. The remainder of your grade comes from the labs and extra-credit, and all labs are worth 100 points. Extra-credit will be added to your score.

Style grading

All written assignments and labs will include style grading. The basic rule of style is that any answer, proof, program, should be concise, containing no more and no less information than necessary. What does necessary mean in this context? It is an imprecise term, and we will be giving you guidelines. Why do we care about style? There are two main reasons. First, as you gain experience in the field, you will begin to work with others and it is important that they understand you. Second, we have more difficulty grading your work when we have to look through the hand waving.

For written assignments, the general rule is that a person versed in the topic (for instance, the TAs) should be able to understand your answer with a minimal amount of effort, and it should be clear that you understand the answer. If you don't understand, you might be tempted to increase your chances of baffling the TA by being verbose (also called "blowing smoke"). Don't! Your submission will be returned.

Handwritten submissions

If we have homework, and if you choose to hand-write your submission, it must be written neatly in pencil or in black or blue pen on neat, untorn paper. Please do not submit on paper torn out of spiral noteboooks! Cross-outs/erasures for minor typos are acceptible, but should be avoided as much as possible. Submissions that are judged by the TAs to be messy will have style points deducted, and those that are deemed unreadable will be returned ungraded.

Style points

Submission Style points Correctness points
Written work 10% 90%
Lab assignments 20% 80%

Regrading

Style points can be recovered. If you are penalized on style, you may resubmit your assignment with style improvements within seven days from the time that your work is returned. In rare instances, your assignment may be returned without a grade if your style is impenetrable. If so, you will be asked to rework the assignment or problem in question.

You may also resubmit your work for a regrade if you believe that it was graded incorrectly. Your entire submission will be regraded, and your new score replaces the original, whether higher or lower.


Webmaster | Contact Us | Generated on %%DATE%%

Copyright (c) 2003 Caltech CS134 Course Administration.
Computer Science Dept., California Institute of Technology
HTML4.01 | CSS2 | Bobby