Check on Tutorial Work of Chapter 3
40 points
Work through Chapter 3 of the Hands-on
Python Tutorial.
Optional sections:
- the part of 3.3.4 beyond the example bounceWhile.py,
so bounce2.py and bounce3.py are optional.
- 3.3.5, on example bounce4.py
- 3.4, on all types being treated as Boolean
- 3.5 further study.
Submit a single archive of assignment files, and
also submit a log as a separate file. The log is definitely a
requirement. I will return comments about grading without a log,
but the comments will not be
copied into the official grade book without a log, and hence will
remain as counting 0.
Here is the list of files you need make sure are included. If you
saved this work under some
other name, please rename as I specify below.
- graduate.py (Exercise 3.1.4.1) (2 points)
- headstails.py (Exercise 3.1.4.2) (2 point)
- sign.py (Exercise 3.1.5.1) (2 points)
- grade2.py (Exercise 3.1.5.2) (3 points)
- wages2.py (Exercise 3.1.5.3) (4 points)
- even1.py (Exercise 3.1.6.2) (2 points)
- even2.py (Exercise 3.1.6.3) (2 points)
- congress.py (Exercise 3.1.7.1) (3 points)
- chooseButton3.py (Exercise 3.2.1.1, parts a and b) (3 points for
each part)
- An extra credit problem:
chooseButton4.py (Exercise 3.2.1.1, part d) (3 points extra credit)
- sumAll.py (Exercise 3.3.3.1) (4 points)
- savings.py (Exercise 3.3.3.3) (5 points)
- makePoly2.py (Exercise 3.3.4.1) (5 points)
- An extra credit problem:
makePath.py (Exercise 3.3.4.2) (5 points extra credit)
- An extra credit problem:
madLib4.py (Exercise 3.3.4.4) (depends
on the earlier Exercise 2.5.2.2 and understanding string
slices and string methods earlier skipped
in chapter 2) (4 points extra credit)
- Skip Exercise 3.3.4.5 for now -- option for later project
Same instructions as before for
log.txt: Every individual should
separately submit a personal
file log.txt. This should be a
plain text file with exactly
this name. (You can create it in Idle if you like.) Your
homework grade will not be recorded
without this file! Include in the log.txt file:
- Areas where you received help other than from your partner. Include from whom (me, TA, which tutor), and the extent.
- Roughly how long you worked for Chapter 3 beyond
class time. Try to separate time on the basic assignment from any
extra credit you did.
- Briefly, how it went for you, for instance what was the hardest
part to get ...
- Who your partner was if you had one, or "No partner" If you
changed partners, indicate which files were produced with which
partner, if possible.
- If
you had a partner, give an indication of how things went with your
partner. Was working together a good thing? Did you work
together
remotely online? How did it go?
If you worked with a consistent partner through the whole
assignment,
only one of you needs to submit the archive, but make sure each partner
has their own copy! Each student should separately submit an independently written log file.