Check on Tutorial Work of Chapter 2
30 points
Work through the following sections of Chapter 2 in the Hands-on Python Tutorial.
- Object Orientation 2.1.1
- <intervening sections optional>
- Appending to a List 2.2.1
- <intervening sections optional>
- Graphics, 2.4, except for 2.4.3 (.pyw), 2.4.4 (events), and 2.4.9 (Entry objects), which are optional
- Files, 2.5
Remember you can check for methods in Zelle's and my extra graphics documentation.
Here is the list of files you need make sure are included when you
turn in your Chapter 2 work. If you saved this work under some
other name, please rename as I specify below.
- You may SKIP scene.py (Exercise 2.4.5.1)
- changeScene.py (Exercise 2.4.5.2) (4 points)
- backAndForth4.py (Exercise 2.4.8.1) (4 points)
- faces.py (Exercise 2.4.8.2) (4 points)
- move2Faces.py (Exercise 2.4.8.3) (4 points)
- ranges.py (Exercise 2.4.12.1) (4 points)
- An Extra Credit Problem: texttriangle.py (Exercise 2.4.12.2) (3 points)
- fileUpper.py,
copyFileUpper.py (Exercise 2.5.2.1b,c) (3 points each) (You do not need to
turn in printUpper.py from part a, though that is a good initial program to
write.)
- madlib3.py, myMadlib.txt (Exercise 2.5.2.2) This exercise uses
code from the sections we skipped, but you only need to use the
tellStory code, not modify it. You just need to change the very
bottom of the code where tellStory is called, so you pass in the the
format string taken from the requested file. Then tellStory finds
the cue strings without you needing to explicitly list them separately
as in the original version. (4 points with both files)
For simplicity you may submit a single archive that includes these
files. Check that they all are included!
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.) Include in the 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 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? How did it go?
If you worked with a consistent partner through the whole chapter,
only one of you needs to submit the archive, but make sure both partner
has their own copy! Each student should separately submit an independently written log file.