University of Arizona, Department of Computer Science

CSc 120 (Fall 2026): Assignment 1

Start Date: Wed Aug 26
Due Date: OCA-1 Video: Python Review 1 (First 48 slides of the Python review slides - not required)
Short problems: 7:00 PM, Tue, Sep 1
Long problems: 7:00 PM, Sat, Sep 5

This assignment aims to review various Python concepts covered in CSC 110—specifically: reading from a file; lists; 2-D lists (lists of lists); simple conditionals and loops; and functions (including passing values into and out of functions).

General Requirements

  1. You do not need to provide comments for the short problems.
  2. For the long problems, your code should follow the style guidelines for the class. Your long programs must define a main() function. For reference, see the 01_Python_review lecture slides, from slide 110 to 115.
  3. You may not use material not yet covered in class. See the Restrictions section below. If you don't know what any of those Python contructs are, don't worry, because you can't use them accidentally.
  4. Use of any restricted material will result in a -20 point deduction, or in some cases, even -80 points.

Restrictions

    You may not use concepts and/or short-hand syntax not yet covered in class. The restrictions include the following:

Submission Instructions

Short Problems:
Your short problems should be submitted to Gradescope. Gradescope:

Long Problems:
Submit the following files to Gradescope:

NOTE: use underscores in the file names, not dashes.

word_grid.py
word_search.py

Short Problems (Due 7:00pm Tue, Sep 1)

(20 points)

The problems below must be solved and submitted to the PA-01-Shorts folder on Gradescope. Please follow this guide for turning in your short problems: Guide to submitting the short problems

Long Problems (Due 7:00pm Sat, Sep 5)

(30 + 50 = 80 points)

  1. Word grid

  2. Word search