Skip to content

Nov 12: Quiz5, Final Project

Learning Objectives

After today's class, you should be able to:

  • Summarize the algorithms of the Part B functions of PA 2.
  • Describe the requirements and programming topics of PA 3.

Announcements

  • PA2 Reflection due tomorrow, but you can do it today!
  • Read Week 13 – last reading assignment of the course

PA2 Debrief/Hints

  • def is_solved(current: Grid, solution: Grid) -> bool:
  • def check_swap(first: str, second: str) -> str:
  • def cell_to_str(cell: Cell) -> str:
  • def print_grid(grid: Grid) -> None:
  • def update_grid(current: Grid, solution: Grid) -> Grid:
  • def swap_cells(first: str, second: str, grid: Grid) -> Grid:

Preview of PA3

Will be based on last year's PA3subject to change

  • Read last.fm data from json files
  • Build playlists and find new songs
  • Analyze social network connections
  • Define and implement your own idea

This year's PA 3 spec and sample datacoming soon

Submission Points Due
Part A. Unit Testing 15 points Wed 11/19
Part B. Nested Data 50 points Fri 11/21
Part C. Recursion 15 points Tue 12/02
Part D. API Usage 20 points Tue 12/02

Quiz 5

[30 min]

Topics: Strings (PA1-B) and File I/O (PA2-A)

  • 1st sheet: "written potion"
    • Turn off monitor during written portion
  • 2nd sheet: "coding potion"
    • You must use Thonny (not VS Code)
    • Do not turn off recording; just log out