Homework for UCLA Computer Science 131, spring 2019

[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, and do not look for previous solutions by using a search engine or visiting sites like GitHub. 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
2019-04-09 Homework 1 (OCaml)
2019-04-21 Homework 2 (OCaml)
2019-05-06 Homework 3 (Java)
2019-05-14 Homework 4 (Prolog)
2019-05-23 Homework 5 (Scheme)
2019-05-31 Project (Python)
2019-06-07 Homework 6 (Python, Java, Ocaml, Kotlin) – 06-07 is last day to submit

The midterm is Thursday, 2019-05-02, 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–2019 Paul Eggert. See copying rules.
$Id: homework.html,v 1.284 2019/04/10 16:35:52 eggert Exp eggert $