volume_mute

What Is Pair Programming?

publish date2026/06/04 11:20:0.913244 UTC

volume_mute

The diagram below summarises the key benefits of pair programming.

Pair Programming Two developers One workstation Knowledge Sharing Spread expertise across team Continuous Code Review Defects found immediately Collective Code Ownership Faster Onboarding & Learning Fewer Defects Safer Refactoring

Which statement best describes pair programming as practised in XP?

Correct Answer

Programmers work in pairs, actually sitting together at the same workstation to develop software — pairs are created dynamically so all team members work with each other during the development process

Explanation

In XP, programmers work in pairs and actually sit together at the same workstation to develop software. However, the same pairs do not always program together — pairs are created dynamically so that all team members work with each other during the development process.

Reference

Software Engineering, Ian Sommerville, 9th edition


Quizzes you can take where this question appears