1.

Explain Pair Programming.

Answer»

In pair programming, two programmers share only one machine and work together. During the development process, one programmer will be the driver who codes and another will ACT as the observer (navigator) who will make sure the code is written correctly, proofread and spell-check it, while also deciding where to go next. ROLES can be swapped at any time: the driver becomes the observer and vice versa. You can also call it "pairing", "paired programming", or "programming in pairs".

Advantages:

  • Two of them will fix the problem if the driver encounters any issues with the code.
  • The two programmers working on the same program are only 15% slower than if they worked independently instead of 50%.
  • As a result of having another programmer look over your work, you are more likely to write better code. One study showed that it results in 15% fewer BUGS than code written by a single programmer.
  • It leads to improved collaboration, higher quality, better code, and SUSTAINED improved development practices.
  • During the project, each person teaches the other, resulting in more efficient and expedited knowledge exchange.
  • The team develops better communication skills.


Discussion

No Comment Found