Homework for UCLA Computer Science 131, winter 2018

[131 home]

Submit your homeworks electronically on CCLE.

You are expected to do your homeworks by yourself. You can share ideas and discuss general principles with others in the class, but all the code that you submit must be your own work; do not share your homework code with others. Please see Grading for more details. Consult a TA or the instructor if you have any questions about this policy.

Your programs must behave robustly. Among other things, this means they must avoid arbitrary limits on the length or number of any data structure, including symbols, strings, and line length. It is OK to impose a non-arbitrary limit, e.g., because your computer runs out of memory or because of the limited range of the Java int type, but it is not OK to impose an arbitrary limit, e.g., a limit of at most 255 characters in a symbol.

Please stick to coding styles used in the course material rather than inventing your own style, as this saves work for the grader.

Assignments are due by 23:55 on the specified date (i.e., five minutes before midnight).

Assignments and the schedule are tentative and may be adjusted as the quarter progresses.

due assignment
2018-01-17 Homework 1 (OCaml)
2018-01-29 Homework 2 (OCaml)
2018-02-06 Homework 3 (Java)
2018-02-22 Homework 4 (Prolog)
2018-03-01 Homework 5 (Scheme)
2018-03-09 Project (Python)
2018-03-14 Homework 6 (C++, CUDA, Java, OCaml, Python, (Haskell; Julia; Rust)) – 03-16 is last day to submit

The midterm is Thursday, 2018-02-08, during lecture.

The final exam is scheduled as per the registrar.

Please see the grading policy for how assignments are treated when late.


© 1999, 2003–2018 Paul Eggert. See copying rules.
$Id: homework.html,v 1.263 2018/03/07 00:50:23 eggert Exp $