What is pair programming in Agile development?

What is pair programming in Agile development?

a) Two developers working together on the same code at one workstation
b) A developer and a tester working together
c) Developers writing test cases together
d) Two teams working on separate modules simultaneously

Answer:

a) Two developers working together on the same code at one workstation

Explanation:

Pair programming is a practice where two developers work together at one workstation, collaborating on the same code. One developer, known as the “driver,” writes the code, while the other, the “observer” or “navigator,” reviews each line of code as it is written.

Pair programming encourages collaboration, improves code quality, and helps developers share knowledge. The “navigator” can catch mistakes early and provide alternative solutions while the “driver” focuses on implementation.

This practice is common in Agile development methodologies, where teamwork and quick feedback are emphasized.

Reference:

Software Engineering MCQ (Multiple Choice Questions)

Scroll to Top