Paired Programming #2

This week's activity is, once again, paired programming. This will require you to schedule at least TWO meetings with your assigned partner. ("Unit 1 Program Pairs")

 

The writeup for this week is here.

I am asking you to write three fairly specific functions. While the end code won't be long or complex, GETTING to the end code very well could be. I strongly encourage you to work on this in stages.

Function 1 - Simulate a Poll

This should be one meetup of 30-60 minutes. It is likely that you will struggle with this before you start to work through how it comes together (In my face-to-face classroom with undergraduates most groups hit a wall but eventually work through it by the end of the 45 minutes activity. Some have to google a few things. But most figure it out just by talking. [Side note, Google is fine, but it can also lead you down a very deep hole. The solution to this function doesn't really use any new features of python than what you learned about in FOP. But you do have to think about those features differently].

If after 45 minutes or so you still haven't gotten it I would encouarge you to walk away for a day or two and, if you still haven't come up with an idea, watch this helper video (Please don't watch too quickly. PART of the goal of this activity is that you might struggle and work through the problem)

 

Function 2 - Poll extremes

This one shouldn't be as hard as function 1. You will likely have to talk for a while with your partner about how to accomplish the final result and you may need to google a few things. But the base code is mostly straight forward.

 

Function 3 - Sufficient Poll Size

This two isn't as hard as it looks. The biggest thing to recongize is what I'm asking you to print.

 

 

 

Deliverable

Please name your submission:

replacing the number sign with your group number.

 

You should make EVERY effort to complete this by the end of the day on Saturday, February 19th. Be sure to submit your work (in whatever state) by the deadline.  Because this work is used in the next step of the course it is essential that you are not late [obviously, if something comes up you should submit what you can but reach out to me ASAP].

Only one member of your team needs to submit this deliverable to the Google Drive