15-122 Principles of Imperative Computation

The written and programming assignments are the heart of this course and account for 45% of your grade. Much of what you learn in this course will be through completing these assignments. They must be done individually.

Assignments are submitted and managed through Autolab system

You must read and submit a signed copy of this document


Assignment Schedule

    Out Points Assignment Due

Asst 0 Thu Jan 19 10 Getting Started     Thur Jan 26 (required)
Asst 1 Thu Jan 26 40 Theory Handout   Written   Thu Feb 02 at start of lecture
Starter Code     Handout   Programming   Thu Feb 02 11:59pm
Asst 2 Thu Feb 02 50 Theory Handout   Written   Thu Feb 09 at start of lecture
Starter Code     Handout   Programming   Thu Feb 09 11:59pm
Asst 3 Tue Feb 14 50 Theory Handout   Written   Tue Feb 21 at start of lecture
Starter Code     Handout   Programming   Tue Feb 21 11:59pm
Asst 4 Thu Mar 01 50 Theory Handout   Written   Thu Mar 08 at start of lecture
Starter Code     Handout   Programming   Thu Mar 08 11:59pm
Asst 5 Thu Mar 08 50 Theory Handout   Written   Tue Mar 27 at start of lecture
Starter Code     Handout   Programming   Tue Mar 27 11:59pm
Asst 6 Tue Mar 27 50 Theory Handout   Written   Tue Apr 03 at start of lecture
Starter Code     Handout   Programming   Tue Apr 03 11:59pm
Asst 7 Fri Apr 06 50 Theory Handout   Written   Tue Apr 17 at start of lecture
Starter Code     Handout   Programming   Tue Apr 17 11:59pm
Asst 8 Wed Apr 18 100 Assignment 8 Handout   Written   none
Assignment 8 Starter Code   Programming   Fri May 04 at 11:59pm

Collaboration and Academic Integrity

The university policies and procedures on academic integrity will be applied rigorously.

The value of your degree depends on the academic integrity of yourself and your peers in each of your classes. It is expected that, unless otherwise instructed, the work you submit as your own will be your own work and not someone else's work or a collaboration between yourself and other(s).

Please read the University Policy on Cheating and Plagiarism carefully to understand the penalties associated with academic dishonesty at CMU. In this class, cheating/copying/plagiarism means copying all or part of a program or homework solution from another student or unauthorized source such as the Internet, knowingly giving such information to another student, or giving or receiving unauthorized information during an examination. In general, each solution you submit (quiz, written assignment, programming assignment, midterm or final exam) must be your own work. In the event that you use information written by another person in your solution, you must cite the source of this information (and receive prior permission if unsure whether this is permitted).

Your course instructor reserves the right to determine an appropriate penalty based on the violation of academic dishonesty that occurs. Violations of the university policy can result in severe penalties including failing this course and possible expulsion from Carnegie Mellon University. If you have any questions about this policy and any work you are doing in the course, please feel free to contact your instructor for help.

We will be using the Moss system to detect software plagiarism.

It is not considered cheating to clarify vague points in the assignments, lectures, lecture notes, or to give help or receive help in using the computer systems, compilers, debuggers, profilers, or other facilities.

Due Dates and Late Days

All handins of written assignments are on paper at the beginning of lecture (9:00am) on the due date. Assignments handed in after this time will receive no credit. There are no late days or partial credit for late written assignments.

All handins of programming assignments are electronic via hand-in scripts on the university's linux systems. You may submit programs multiple times until they are due without penalty, but only your final hand-in will be graded.

All programming assignments are due at 11:59pm on the specified due date. Every student has up to 3 late days to use for any programming assignment throughout the semester. On any given assignment, you may use at most one late date, so if the assignment is due on 11:59pm on Thursday the last possible time to hand in an assignment is 11:59pm on the next day (Friday). Late submissions from students who have exhausted their late days will receive no credit.

Exceptions to the policies above will be granted only in exceptional circumstances and must be discussed with and approved by the course instructor in advance.


Grading criteria are stated separately with each assignment.

Grading for written assignments is based on the correctness of the answer and the presentation of your reasoning. Strive for clarity and conciseness, but show how you arrived at the answer. If you cannot solve a problem, explaining your approach and why you failed is encouraged. Such answers will be given partial credit.

The most important criterion for programming assignments is always correctness. Buggy code is useless, and is likely to get a low score. It is important that your code be readable and well-organized. This includes proper use of contracts, invariants, and clear comments.

Grades are based primarily on the total score for the class out of 1000 points. There are no predetermined cut-offs, but 900 and above is guaranteed to be an A, 800 and above a B, etc. The teaching staff will decide on grade boundaries at the end of the year. We will use intangibles, such as participation in class and recitation for those close to grade boundaries.

[ Home | Schedule | Assignments | Resources ]
[ Blackboard | academic.cs.15-122 ]

Andre Platzer

Ananda Gunawardena