Pair Programming

Two developers working on code collaboratively.

Pair programming involves two programmers sharing a single workstation (one screen, keyboard and mouse among the pair). The programmer at the keyboard is usually called the "driver", the other, also actively involved in the programming task but focusing more on overall direction is the "navigator"; it is expected that the programmers swap roles every few minutes or so.
5 minutes 5 Questions

Pair Programming is a collaborative software development technique emphasized in Agile methodologies and recognized in the PMI-ACP framework. It involves two programmers working together at one workstation—one person writes code (the "driver") while the other reviews each line as it's typed (the "n…

Concepts covered: Increased Team Bonding, Pair Switching, Communication, Collective Code Ownership, Reduced Distractions, Driver and Navigator Role, Constant Feedback, Code Review, Increased Concentration, Continuous Learning, Shared Understanding, Risk Mitigation, Code Readability, Knowledge Sharing

Test mode:
PMI-ACP - Pair Programming Example Questions

Test your knowledge of Pair Programming

Question 1

Your Agile development team continuously multi-tasks on several project aspects instead of focusing on one. This causes delay and lack of focus. What approach should the Agile coach adopt to reduce such distractions?

Question 2

A navigator notices that the driver is using a method that results in longer code and slower execution, but doesn't know a better way. What should the navigator do in this scenario?

Question 3

During the agile sprint, the driver has been dominating the coding session and not allowing the navigator to participate optimally. What should the navigator do?

More Pair Programming questions
153 questions (total)