1. Save
You should be using ps4.txt to save your pseudocode answers. Remember, this part is turned in
after Lecture 8!
You should be using the ps4.py skeleton given to you in this problem set. Fill in the code for the
functions:
build_coder(), apply_coder(), apply_shift(), find_best_shift(), apply_shifts(),
and
find_best_shifts()
. Any other code is not necessary. Save your solution as ps4.py. Do not ignore
this step or save your file with a different name.
2. Time and Collaboration Info
At the start of each file, in a comment, write down the number of hours (roughly) you spent on
the problems in that part, and the names of the people you collaborated with. For example:
# Problem Set 4
# Name: Jane Lee
# Collaborators (Discussion): John Doe
# Collaborators (Identical Solution): Jane Smith
# Time: 1:30
#
... your code goes here ...
MIT OpenCourseWare
http://ocw.mit.edu
6.00SC Introduction to Computer Science and Programming
Spring 2011
For information about citing these materials or our Terms of Use, visit:
http://ocw.mit.edu/terms
.