Short problems: 7:00 PM, Thu Jan 30 OCA-3 Video: 11:00pm Sat Feb 1 Long problem: 7:00 PM, Tue Feb 4
This assignment aims to work on more complex Python data structures, in particular
focusing on dictionaries.
General Requirements
You do not need to provide comments for the short problems.
For the long problem, your code should follow the style guidelines
for the class.
You may not use Python material and concepts not yet covered in class. These concepts include recursion, classes, exceptions, type annotations, list comprehensions, the with statement, 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 7:00pm Thu Jan 30)
(20 points)
These problems have to be solved and submitted in CloudCoder at
http://practice.cs.arizona.edu.
The process for turning in your solutions is as follows:
Log in with your UA netid and password.
Select Spring 25 on the pane on the left (click on the little triangle
on the left).
Select CSc 120 (click on the little triangle on the left).
The available assignment names should appear in the left pane under the name of
the course. Click on "Assg 02". This should cause five problems, described
below, to show up under the middle pane (Exercises).
Select the problem you want to work on and click the button
Load exercise (top right of the pane).
Insert your code where it says "# your code here".
Click the button Run it! (bottom right) to run your code on
the test cases. The results will appear at the bottom of the screen.
The short problems for this assignment are the following: