Extreme Programming
1. Incremental development
in Extreme Programming (XP) is supported through a system release
once every month.
a) True
b) False
a) True
b) False
Answer:b
Explanation: Incremental development is supported through small, frequent system releases.
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
a) True
b) False
Answer:a
Explanation: XP follows a continuous integration approach.After any such integration, all the unit tests in the system must pass.
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
a) One
b) Two
c) Three
d) Four
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.
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.
4. User requirements
are expressed as __________ in Extreme Programming.
a) implementation tasks
b) functionalities
c) scenarios
a) implementation tasks
b) functionalities
c) scenarios
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.
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
a) Yes
b) No
c) It may vary from Customer to Customer
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.
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.
6. Programmers prefer
programming to testing and sometimes they take short cuts 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
a) True
b) False
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.
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
a) True
b) False
Answer:a
Explanation: Automated test harnesses are used to run all component tests each time that a new release is built.
Explanation: Automated test harnesses are used to run all component tests each time that a new release is built.
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
a) True
b) False
Answer:a
Explanation: XP follows Test-first development approach.
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
a) True
b) False
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.
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.
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
a) analysis, design, coding, testing
b) planning, analysis, design, coding
c) planning, design, coding, testing
d) planning, analysis, coding, testing
Answer:c
Explanation: XP involves the mentioned four activities, and in the same in order.
Explanation: XP involves the mentioned four activities, and in the same in order.
1. Incremental development
in Extreme Programming (XP) is supported through a system release
once every month.
a) True
b) False
a) True
b) False
Answer:b
Explanation: Incremental development is supported through small, frequent system releases.
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
a) True
b) False
Answer:a
Explanation: XP follows a continuous integration approach.After any such integration, all the unit tests in the system must pass.
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
a) One
b) Two
c) Three
d) Four
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.
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.
4. User requirements
are expressed as __________ in Extreme Programming.
a) implementation tasks
b) functionalities
c) scenarios
a) implementation tasks
b) functionalities
c) scenarios
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.
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
a) Yes
b) No
c) It may vary from Customer to Customer
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.
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.
6. Programmers prefer
programming to testing and sometimes they take short cuts 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
a) True
b) False
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.
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
a) True
b) False
Answer:a
Explanation: Automated test harnesses are used to run all component tests each time that a new release is built.
Explanation: Automated test harnesses are used to run all component tests each time that a new release is built.
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
a) True
b) False
Answer:a
Explanation: XP follows Test-first development approach.
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
a) True
b) False
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.
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.
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
a) analysis, design, coding, testing
b) planning, analysis, design, coding
c) planning, design, coding, testing
d) planning, analysis, coding, testing
Answer:c
Explanation: XP involves the mentioned four activities, and in the same in order.
Explanation: XP involves the mentioned four activities, and in the same in order.
No comments:
Post a Comment