Pair Programming

Covering what pair programming is, its three advantages, egoless programming, pair programming vs formal code inspections, how pair programming supports refactoring, productivity findings from both student and experienced programmer studies, the critical value of knowledge sharing, and the dynamic nature of pair assignment

download Export
search_insights Statistics
stylus_note White Board
Quran
calculate Calculator
dictionary Dictionary
fullscreen Full Screen
QUESTION OF

volume_mute Read quiz aloud
Views #: 204
Questions #: 10
Pass Score: 80.0%
Style
Mode

What Is Pair Programming?

1 pts
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?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Three Advantages of Pair Programming

1 pts
volume_mute

Which of the following are the three stated advantages of pair programming in XP? Select all that apply.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Egoless Programming

1 pts
volume_mute

Pair programming is said to reflect Weinberg's (1971) idea of egoless programming. What does this mean?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Pair Programming as Informal Code Review

1 pts
volume_mute

How does pair programming compare to formal code inspections and reviews?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Pair Programming and Refactoring

1 pts
volume_mute

Why does pair programming make refactoring easier to sustain compared to individual programming?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Pair Programming Productivity — Student Study

1 pts
volume_mute

What did Williams and collaborators find in their study of pair programming productivity using student volunteers?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Pair Programming — Experienced Programmer Studies

1 pts
volume_mute

Studies with more experienced programmers produced different results. Complete the sentence.

Studies with more experienced programmers (Arisholm et al., 2007; Parrish et al., 2004) found a significant (1) in productivity compared to two programmers working alone, though there were some quality benefits. Nevertheless, the (2) of knowledge that happens during pair programming is very important as it reduces the overall risks when team members leave.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Knowledge Sharing — Key Value of Pair Programming

1 pts
volume_mute

True or False: Even if pair programming has some productivity costs for experienced programmers, it may still be worthwhile solely because of the knowledge sharing it promotes.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Classify Pair Programming Benefits

1 pts
volume_mute
Benefits
×Each line of code is looked at by at least two people reducing defect escape rate
×No islands of expertise develop — any team member can change any part of the code
×Refactoring is more likely to be supported because others immediately benefit from improvements
×The sharing of knowledge during pairing reduces project risk when team members leave
Code quality
Knowledge and ownership
Process sustainability

Classify each benefit of pair programming under the correct category.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Pair Programming — Dynamic Pairing

1 pts
volume_mute

In XP, do the same two programmers always work together as a pair throughout the project?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation