Class 27 — Wednesday October 31 — It still functions
City of Pittsburgh — Your pain and loss is ours too — We will all overcome
Voting on Tuesday — An American duty — Make the future yours
Quad exercises – Four problems for our practice – Let’s do them right now
Look both ways
Remember you must evaluate your partner before leaving
Statement
- We are going to do paired programming again. If things went well, you are encouraged to work with the same partner. However, if you believe working with someone else would be better for you, do so.
- If you do not want to work in a pair, I suggest you sit in back and pair with someone else who does not want to pair. Before you do so, read the entire web page and understand the consequences.
Agenda
- Happy Halloween
- Being functional with lists
- Mindful collaboration
- Review solutions for last class
Outcomes
- Appreciation for partnering
- Better able to convert problem specifications into working functions manipulating lists
Problem set
- Quad exercises — four functions that that manipulate list that manipulate lists
Setup
- Credit awarded for being part of a pair-programming team
- Credit awarded for working with someone new
- Credit awarded for being an active team member
- Credit awarded for being an effective team member
- The only apps to be running on your laptops are a browser and PyCharm. The browser usage should be limited to CS 1112 materials.
- You must use my quad.py for this assignment.
- Do not access any past or outside code while working on this assignment.
- Review problem set description.
- Determine primary driver and navigator roles for each of the functions — both team members must have multiple experiences as driver and navigator.
- Determine driver and navigator machines and for problem set.
- On designated driver machine download and open quad.py and quadriga.py in PyCharm. Close all other program and module tabs.
- At the end of class:
- Email partner copy of
quad.py
.
- Submit your collaboration evaluation.
To Do
- Look over your artifacts.
- Take yet another look at function epistle
- Take yet another look at function slides
- Take another look at the Hands on Python Tutorial
- Try CodingBat – it’s batting practice for writing functions
© 2019 Jim Cohoon | Resources from previous semesters are available. |