Q1: You are a developer working on a team that is building an app. When you try to commit code for a feature you’ve been working on, your commit doesn’t go through as the version control system highlights conflicts that needs to be resolved first. Which practice will best prevent this problem in the future?
A. 10-minute build
B. Continuous Integration
C. Test-driven Development (TDD)
D. Sustainable Pace
Q2: How do XP’s values and practices help teams embrace change?
A. By enforcing a change control process
B. By limiting the amount of contact between the business users and the team
C. By helping them build code that’s easier to modify
D. By placing strict limits on how users request changes
Q3: Which of the following is not a benefit of pair programming?
A. People take turns working, so fatigue is reduced
B. Pairs help each other stay focused
C. There are two sets of eyes on every change
D. Everyone on the team gets experience working with different parts of the system
Q4: Which of the following are not common to both XP and Scrum?
A. Roles
B. Iterations
C. Respect
D. Courage
Q5: All the following practices establish feedback loops for XP teams except
A. 10-min build
B. Stories
C. Test-driven development
D. Continuous integration
Q6: Which of the following is true about test-driven development?
A. Unit tests are written immediately after writing the code that they test
B. Writing unit tests first can have a profound impact on the design of the code
C. Test-driven development is used exclusively by XP teams
D. There’s a minimal impact on code quality
Check all the articles on Agile
ANSWERS
Q1: B. Continuous Integration
Q2: C. By helping them build code that’s easier to modify
Q3: A. People take turns working, so fatigue is reduced
Q4: A. Roles
Q5: B. Stories
Q6: B. Writing unit tests first can have a profound impact on the design of the code
Check out other topics for PMP Practice
Most up-to-date PMP Prep Books