Assignments for UCLA Computer Science 97, winter 2021

[97 home]

Most assignments are divided into two parts: laboratory exercises and homeworks. Laboratory exercises are expected to be done with more assistance from the TAs and LAs.

Submit your assignments 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 and writings that you submit must be your own work; do not share them with others. Please see Grading for more details. Consult a TA or the instructor if you have any questions about this policy.

Typically, labs and homeworks are done on GNU/Linux based systems running on your own computer, either natively or in a virtual machine. In some cases, though, they are done on the SEASnet GNU/Linux servers. Also, even when you develop on your own system, you should test on the SEASnet GNU/Linux servers as that's what we use to grade. When running on SEASnet, take care to not run commands like su and sudo that would make it appear to the system administrators that you might be trying to break into the system.

Any programs that you write 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 C ptrdiff_t type, but it is not OK to impose an arbitrary limit, e.g., a limit of at most 255 bytes in a line.

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 at the end of the day).

This schedule is tentative, including due dates and assignments that have not yet been assigned.

due % of total grade assignment
2021-01-15   3.5% 1. Editing and shell scripting
2021-01-28   3.5% 2. Lisp and Python scripting
2021-01-31   0.7% 1- to 2-page project proposals
2021-02-03   5.0% 3. Chorus lapilli
2021-02-05   0.25% First LA feedback survey
2021-02-08  15.0% Midterm (hard deadline 02-09 noon)
2021-02-18   4.0% 4. Basic change management
2021-02-24   4.0% 5. Low-level refactoring and performance
2021-03-08   4.0% 6. Git repository organization
2021-03-08 Project source code
2021-03-10 Project final report

The project is worth 35% of the total grade.

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