University of Arizona, Department of Computer Science

CSc 120 (Spring 2025): Assignment 08

Start Date: Mon Mar 24
Due Date: Short problems: 7:00 PM, Thu Mar 27
No OCA Video:
Long problems: 7:00 PM, Tue Apr 1

General Requirements

  1. For the long problems, your code should follow the style guidelines for the class.
  2. You may not use concepts not yet covered in class. These concepts include exceptions, lambda functions, decorators, type annotations, and importing libraries (unless a library is explicitly mentioned in the specification.)

Short Problems (Due 7pm Thu Mar 27)

(20 points)

Submit your short problems to the folder PA-08-Shorts folder on Gradescope here https://www.gradescope.com/

The short problems for this assignment are the following:

  1. tree_count

  2. tree_sum

  3. tree_height

  4. count_interior

Long Problem (Due 7pm Tue Apr 1)

(80 points)

  1. Street
    Files: street.py.

Extra Credit Problem (Due 7pm Tue Apr 1)

Note: this cannot be used for the LATE DAY submission for Assignment 8.

(20 points)

  1. Fake News with merge sort
    Files: fake_news_ms.py.

Submission information:

Submit the files specified above at http://www.gradescope.com