University of Arizona, Department of Computer Science

CSc 120 (Spring 2025): Assignment 3

Start Date: Mon Feb 3
Due Date: Short problems: 7:00 PM, Thu Feb 6
OCA-4 Video: 11:00pm Sat Feb 8
Long problems: 7:00 PM, Tue Feb 11

This assignment continues work on more complex Python data structures and programming problems.

General Requirements

  1. For the long problem, your code should follow the style guidelines for the class.
  2. You may not use material not yet covered in class. This includes classes (except in short problem number 4, Anagrams), the with statement, recursion, exceptions, type annotations, list comprehensions, and importing libraries (unless a library is explicitly mentioned in the specification.) If you don't know what any of these are, don't worry, because you can't use them accidentally.

Short Problems (Due 7pm Thu Feb 6)

(20 points)

SUBMISSION: These problems have to be solved and submitted at http://practice.cs.arizona.edu/.

The process for turning in your solutions is as in previous assignments. There are four problems, described below, which are grouped under the assignment name "Assg 03".

The short problems for this assignment are the following:

  1. Words ending with

  2. Words beginning with

  3. Primary stress position

  4. Anagrams (class Word)

Long Problems (Due 7pm Tue Feb 11)

(80 points)

  1. Rhyming words

SUBMISSION: For this problem, submit the file rhymes.py at http://gradescope.com