Check on Tutorial Work of Chapter 3
35 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.
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.2.1) (2 points)
- headstails.py (Exercise 3.1.4.1) (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)
- Extra credit:
chooseButton4.py (Exercise 3.2.1.1, part d) (3 points extra credit)
- sumAll.py (Exercise 3.3.3.1) (4 points)
- makePoly2.py (Exercise 3.3.4.1) (5 points)
- Extra credit:
makePath.py (Exercise 3.3.4.2) (5 points extra credit)
- You may SKIP Exercise 3.3.4.3
- Extra credit:
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: In addition, 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 file
- Roughly how long you worked for Chapter 2 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.
This log files are a requirement for your grade to be entered.