CAD CAD Agile Development Practices 2 — Questions and Answers
Question 1: In Agile development, what is the primary purpose of a Definition of Done (DoD)?
- To create a shared understanding of when work is complete (Correct answer)
- To assign tasks to individual developers
- To estimate the velocity of future sprints
- To prioritize items in the product backlog
Correct answer: To create a shared understanding of when work is complete
The Definition of Done establishes transparent, shared criteria that all team members agree constitutes completed work.
Question 2: Which practice helps an Agile team reduce integration risk throughout the sprint?
- Big bang integration at sprint end
- Continuous integration with frequent commits (Correct answer)
- Code freezes during development
- Manual testing only before release
Correct answer: Continuous integration with frequent commits
Continuous integration with frequent commits detects integration issues early, reducing the risk of large merge conflicts.
Question 3: What is the recommended approach when a developer discovers technical debt during a sprint?
- Ignore it until a dedicated refactoring sprint
- Make it visible to the team and negotiate with the Product Owner (Correct answer)
- Immediately stop current work to fix it
- Log it and never revisit it
Correct answer: Make it visible to the team and negotiate with the Product Owner
Agile teams should make technical debt transparent so the Product Owner can prioritize it alongside business features.
Question 4: How does pair programming support Agile development practices?
- It doubles the code output per hour
- It provides real-time code review and shared knowledge (Correct answer)
- It eliminates the need for stand-up meetings
- It replaces automated testing
Correct answer: It provides real-time code review and shared knowledge
Pair programming enables continuous code review, immediate feedback, and spreads knowledge across the team.
Question 5: What is the Agile approach to handling changing requirements mid-sprint?
- Reject all changes until the next sprint planning
- Accept every change immediately without discussion
- Evaluate impact with the team and negotiate scope with the Product Owner (Correct answer)
- Extend the sprint deadline to accommodate changes
Correct answer: Evaluate impact with the team and negotiate scope with the Product Owner
Agile teams evaluate the impact of changes and work with the Product Owner to adjust scope while protecting the sprint goal.
Question 6: Which metric best indicates an Agile team's sustainable development pace?
- Lines of code written per developer per day
- Consistent velocity across multiple sprints (Correct answer)
- Number of hours worked per week
- Total story points completed in a single sprint
Correct answer: Consistent velocity across multiple sprints
Consistent velocity over multiple sprints demonstrates a sustainable, predictable pace of delivery.
In Agile development, what is the primary purpose of a Definition of Done (DoD)?