Software Engineering Questions and Answers – Extreme Programming

This set of Software Engineering Multiple Choice Questions & Answers (MCQs) focuses on “Extreme Programming”.

1. Incremental development in Extreme Programming (XP) is supported through a system release once every month.
a) True
b) False
View Answer

Answer: b
Explanation: Incremental development is supported through small, frequent system releases.

2. In XP, as soon as the work on a task is complete, it is integrated into the whole system.
a) True
b) False
View Answer

Answer: a
Explanation: XP follows a continuous integration approach.After any such integration, all the unit tests in the system must pass.

3. In XP Increments are delivered to customers every _______ weeks.
a) One
b) Two
c) Three
d) Four
View Answer

Answer: b
Explanation: Extreme Programming (XP) takes an ‘extreme’ approach to iterative development.New versions may be built several times per day, hence delivering the increment for approval every 2nd week after testing the new version.
advertisement
advertisement

4. User requirements are expressed as __________ in Extreme Programming.
a) implementation tasks
b) functionalities
c) scenarios
d) none of the mentioned
View Answer

Answer: c
Explanation: User requirements are expressed as scenarios or user stories.These are written on cards and the development team break them down into implementation tasks. These tasks are the basis of schedule and cost estimates.

5. Is a customer involved test development and validation in XP ?
a) Yes
b) No
c) It may vary from Customer to Customer
d) None of the mentioned
View Answer

Answer: c
Explanation: The role of the customer in the testing process is to help develop acceptance tests for the stories that are to be implemented in the next release of the system.However, people adopting the customer role have limited time available and so cannot work full-time with the development team. They may feel that providing the requirements was enough of a contribution and so may be reluctant to get involved in the testing process.
Note: Join free Sanfoundry classes at Telegram or Youtube

6. Programmers prefer programming to testing and sometimes they take shortcuts when writing tests. For example, they may write incomplete tests that do not check for all possible exceptions that may occur.
a) True
b) False
View Answer

Answer: a
Explanation: In XP Some tests can be very difficult to write incrementally.For example, in a complex user interface, it is often difficult to write unit tests for the code that implements the ‘display logic’ and workflow between screens.

7. Tests are automated in Extreme Programming.
a) True
b) False
View Answer

Answer: a
Explanation: Automated test harnesses are used to run all component tests each time that a new release is built.
advertisement

8. In XP an automated unit test framework is used to write tests for a new piece of functionality before that functionality itself is implemented.
a) True
b) False
View Answer

Answer: a
Explanation: XP follows Test-first development approach.

9. Developers work individually on a release and they compare their results with other developers before forwarding that release to customers.
a) True
b) False
View Answer

Answer: b
Explanation: XP follows the principle of pair programming which means developers work in pairs, checking each other’s work and providing the support to always do a good job.
advertisement

10. Which four framework activities are found in the Extreme Programming(XP) ?
a) analysis, design, coding, testing
b) planning, analysis, design, coding
c) planning, design, coding, testing
d) planning, analysis, coding, testing
View Answer

Answer: c
Explanation: XP involves the mentioned four activities, and in the same in order.

Sanfoundry Global Education & Learning Series – Software Engineering.

Here’s the list of Best Books in Software Engineering.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.