Pair Programming Guidelines/Rules

see also Pair Programming

Remember, you are being allowed to complete your programming assignments with a partner ONLY as long as you do it following the principles of “pair programming” as described here and in All I Really Need to Know about Pair Programming I Learned in Kindergarten

Each partner should “drive” roughly 50% of the time the pair is working together, and at most 25% of an individual’s effort for an assignment should be spent working alone. Any work done by a solitary programmer must be reviewed by the pair together. The object is to work together, learning from each other, not to divide the work into two pieces with each partner working on a different piece.

You are free to select any other student from your same class to be your partner. Make sure that both names appear in the header of all programs submitted by the pair. Be sure and indicate your partner’s name on your programming log (see below).

You should make every attempt to remain with the same partner for the entire class. Research studies have shown that it can take several assignments for a pair to “jell” and begin working well together. Changing partners interferes with this jelling process.

You must each submit a personal log after completing each programming assignment, using this template

All files associated with the assignment (all source code & header files required for the assignment, plus the two personal log files) should be submitted together as a single submission to the assignment turnin folder. (Remember, you may turnin as often as you like, but we normally look at only the last set submitted, so make sure that that at least your final submission includes the two personal log files).

If your partner doesn't show up to a scheduled programming session you may try and complete the assignment yourself. If you complete it, there are several options, which depend on what happened with your partner.
IN ALL CASES, you must clearly document what happened both in the program comments and in your personal program log.

Case 1:
You do not meet up with your partner before it is time to submit the program. In this case you simply submit the program with only your name on it. If the program was partially completed with your partner before the breakdown occurred, make a note in the program comments indicating your best estimate of how complete the program was before you finished it alone, using a percentage. Also list your partner in the programming log only if you had the program at least 75% completed before the breakup. You should also indicate the breakup in the comments section of the log.

Case 2:
Before turning in the program, you meet up with your partner but your partner has NOT yet completed the assignment.

Case 3:
Before turning in the program, you meet up with your partner and your partner HAS also completed the assignment.