CMU 15-112 Spring 2017: Fundamentals of Programming and Computer Science
Homework 8 (Due Wednesday 8-Mar, at 10pm) (No Late Days or Grace Days)






  1. Small-Group Session [20 pts] [manually graded]
    Attend one TA-led small-group session for midterm review. You will hear from your recitation TA's to schedule this. There is nothing to submit here -- your TA's will record your attendance at the session.

  2. Attend Tue in-lecture practice midterm [20 pts] [manually graded]
    Attend the TA-led practice midterm session during what would normally be assigned lecture time on Tuesday. There is nothing to submit here -- your TA's will record your attendance at the session.

  3. Relevant portions of f15-quiz6x [20 pts] [manually graded]
    Do the relevant portions of f15-quiz6x. For the coding exercises, include them in your hw8.py file (not handwritten). For the handwritten exercises, include your solutions in a triple-quoted string at the top of your hw8.py file.
    • Do these: All but the bonus.
    • Skip these: The bonus.

  4. Relevant portions of s16-midterm1 [20 pts] [manually graded]
    Do the relevant portions of s16-midterm1. For the coding exercises, include them in your hw8.py file (not handwritten). For the handwritten exercises, include your solutions in a triple-quoted string at the top of your hw8.py file.
    • Do these: 1 (CT), 2 (RC#1), 4 (SA) / just cde, 5 (is/nthPowerish), 7 (circleAroundCircle)
    • Skip these: 2-RC#2, 3 (Big-Oh), 4ab, 6 (mostCommonCities), 8 (bonus)

  5. Write Animation Demos in Wednesday recitation [20 pts] [manually graded]
    In Wednesday recitation, you will have 50 minutes to write a subset of the animation demos (mode demo, grid demo, undo/redo demo, images demo, sidescroller demo) starting from events-example0.py. You may use pyzo for this (it is not handwritten). Of course, you should study these demos and practice writing them from scratch before Wednesday. There is nothing to submit here -- your grade will be based on your performance in recitation on Wednesday.

Note: there is no bonus this week. Use your time to prepare for midterm1, and then use any free time to think about your term projects.