CMU 15-112: Fundamentals of Programming and Computer Science
Check5 Practice
Due in Autolab by 10:30am Tue 27-Sep


This check will follow a similar pattern as check3 and check4. Note:
  1. Week4 time report and brief reflection
    First, fill out this week4 time report and brief reflection. Thanks!

  2. 2d Lists notes and videos
    [Note: you are only watching the 2d Lists notes and videos, and you should only do parts 1-8 and skip part 9 / worked examples.] As with last week: watch the 2d Lists videos carefully together and after each video, write one interesting, not-too-easy but not-too-hard quiz-style question, and then review and discuss each others' questions before proceeding to the next video.

  3. Code Tracing
    Working as a group, do all the Code Tracing problems from here. Be sure to help everyone in your group so that all of you can fluently do similar CT problems henceforth.

  4. Practice problems
    Write the following practice problems all taken from here. Be sure to also write good test functions. Submit your work to autolab. Then practice this until you can write these easily and quickly from scratch, as will be expected when you arrive in class on Tuesday.
    1. isMagicSquare
    2. matrixAdd
    3. matrixMultiply

  5. What to Submit
    We recommend you finish by Monday night though the deadline is 10:30am Tuesday (for everyone, regardless of which lecture you are in, with no late submissions and no grace days):
    • Submit check5.py to autolab. It should contain, in order:
      1. Your name and andrew id.
      2. The names and andrew id's of everyone you collaborated with on check5.
      3. Verification that you did the Code Tracing.
      4. A multi-line string containing the questions you wrote while watching the videos.
      5. The Python code you wrote for the practice problems above, including the test functions.