IPA IP 2022 Question 38

A question IPA Japan published in 令和4年度 ITパスポート試験 公開問題 問38, translated into English. ITPEC is based on the same exams.

Which of the following is the most appropriate description of XP (Extreme Programming)?

Explanation

An agile approach that releases high-quality software in short cycles, responding to changing requirements — that is XP (Extreme Programming).

XP is one of the agile development methods. It delivers working software in short iterations, welcomes changes to requirements, and keeps quality high through a set of practices: test-driven development, pair programming, refactoring, continuous integration and small releases. The other three options each describe one of those practices, not XP itself.

Answer (d)

Why not others:

  • •(a) — writing the test first and then the code that passes it is test-driven development (TDD), one practice of XP
  • •(b) — two programmers developing one program together at one computer is pair programming, another XP practice
  • •(c) — improving a program’s internal structure without changing its behavior is refactoring, also an XP practice

Key rule: XP is the agile method as a whole; TDD, pair programming and refactoring are practices it uses, each with its own name.

Software Development Management Techniques · AI-written, may contain errors

This question comes from the past questions IPA Japan publishes, translated into English by ITPEC Practice. ITPEC Practice is an independent study tool and is not affiliated with IPA or ITPEC. See the original paper (PDF) or Report an issue.