UCLA CS 239 Grading Policies
Programming is a creative process.
Individuals must reach their own understanding of problems and
discover paths to their solutions.
During this time, discussions with friends and colleagues are
encouraged, and they must be acknowledged when you submit your
When the time comes to write code, however, such discussions are no
Each program must be entirely your own work.
Do not, under any circumstances, permit any other student to
see any part of your program, and do not permit yourself to see any
part of another student's program.
In particular, you may not test or debug another student's code, nor
may you have another student test or debug your code.
(If you can't get code to work, consult the teaching assistant.)
Using another's code in any form or writing code for use by
another violates the University's academic regulations.
The standard penalty for violating these rules on one part of one
assignment is to receive a zero for the entire assignment and in
addition to receive a reduction of one letter grade for the course.
This penalty may be adjusted at the professor's discretion, up to and
including the assessment of a failing grade for the course.
Repeat offenses will be dealt with harshly.
In serious cases, the Dean may choose to take additional action,
including possible suspension or
expulsion from the University.
You may look in the library (including the Internet, etc.) for ideas
on how to solve homework problems, just as you may discuss problems
with your classmates.
All sources must be acknowledged.
Homework solutions must be neat and well organized.
Students are encouraged to use the computer to prepare homework solutions.
Any work that cannot easily be read will score zero points.
Clear English expression is required.
The above policies were adapted from policies used by Norman Ramsey
at Purdue University in Spring 1996.
Further Policies for the Homework
For each of the Homeworks, there is a link from the CS 239 webpage
to a directory with test cases (also known as "the public test cases").
If a solution to any of the Homeworks works for all the public test cases, then
it is guaranteed that the solution will be awarded at least 40% of the points.
A solution will be graded on the basis of both the public test cases
and some secret test cases.
If a solution cannot be compiled, then it will receive 0 points.
If a solution can be compiled, but crashes or loops on all test cases,
then it will receive 0 points.
A solution can only receive more than 0 points if
1) it can be compiled and
2) for at least one test case, it does not crash or loop and does produce
partially correct output.
If a solution can be compiled, and works correctly for all the test cases,
then it will receive maximum points.
Challenging a Grade
The grades and the test cases will be available at the same time.
Please check your program before challenging your grade.
To check the grade,
using the same email account from which you had submitted the assignment,
send a blank message to
The subject line must read "grade_request XXXXXXXX".
where XXXXXXXX is your 8 digit ucla id.
You will then receive your homework grade by e-mail.