Pair Programming
Pair Programming is a practice of Extreme Programming (XP) where two developers work together on the same code at one workstation. One developer, called the 'driver', writes the code, while the other, the 'navigator', reviews each line of code as it is typed in real-time. The roles are frequently s…
PSM I - Pair Programming Example Questions
Test your knowledge of Pair Programming
Question 1
Harry and Olivia are pair programming. Harry, the driver, has had a very slow pace because he's a meticulous coder. Olivia is becoming impatient. How should they handle this?
Question 2
In pair programming scenario, Samantha and Richard run into a complex problem which neither of them has experience with. They estimate that learning and implementing a solution could consume significant time. What should they do?
Question 3
In a pair programming scenario, Amy and Paul are working on a critical module. Amy has done similar work before and is aware of the pitfalls but Paul is in the driving seat and is about to make a design mistake that Amy knows will lead to significant refactoring later. What should they do?