2081 10

CSC375 ยท 2081 ยท 5 marks

What are the principles of agile development? Explain agile development techniques.

What are the principles of agile development? Explain agile development techniques. [5]

Software EngineeringChapter 3: Agile Software DevelopmentAgile Development Techniques

Quick answer

Agile development is based on the Agile Manifesto, which emphasizes flexibility, collaboration, and customer satisfaction. The core principles are: Customer Satisfaction; Welcome Changing Requirements; Frequent Delivery.

Principles of Agile Development and Agile Development Techniques

Principles of Agile Development

Agile development is based on the Agile Manifesto, which emphasizes flexibility, collaboration, and customer satisfaction. The core principles are:

  1. Customer Satisfaction: Highest priority is to satisfy the customer through early and continuous delivery of valuable software.

  2. Welcome Changing Requirements: Agile processes welcome changing requirements, even late in development, to provide competitive advantage to the customer.

  3. Frequent Delivery: Deliver working software frequently, from a couple of weeks to a couple of months, with preference for shorter timescales.

  4. Collaboration: Business people and developers must work together daily throughout the project.

  5. Motivated Individuals: Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done.

  6. Face-to-Face Communication: The most efficient and effective method of conveying information is face-to-face conversation.

  7. Working Software as Progress Measure: Working software is the primary measure of progress.

  8. Sustainable Development: Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely.

  9. Technical Excellence: Continuous attention to technical excellence and good design enhances agility.

  10. Simplicity: Maximizing the amount of work not done is essential.

  11. Self-Organizing Teams: The best architectures, requirements, and designs emerge from self-organizing teams.

  12. Regular Reflection: At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.


Agile Development Techniques

The most significant approach to changing software development culture was the development of Extreme Programming (XP). The major agile development techniques are described below:

1. Extreme Programming (XP)

  • XP is the most well-known agile technique that introduced a new approach to software development culture.
  • It involves practices such as pair programming, test-driven development (TDD), continuous integration, and small releases.
  • Requirements are expressed as user stories, and the team works in short iterations called sprints.
  • XP emphasizes frequent feedback, simplicity in design, and constant communication among team members.

2. Scrum

  • Scrum is an agile framework that organizes work into fixed-length iterations called sprints (usually 2-4 weeks).
  • Key roles include: Scrum Master, Product Owner, and Development Team.
  • Key artifacts include: Product Backlog, Sprint Backlog, and Increment.
  • Daily stand-up meetings (Scrum meetings) are held to track progress.

3. Test-Driven Development (TDD)

  • In TDD, developers write tests before writing the actual code.
  • The cycle is: Write a failing test --> Write code to pass the test --> Refactor the code.
  • This ensures that the software is always testable and meets requirements.

4. Pair Programming

  • Two developers work together at one workstation.
  • One writes the code (driver) while the other reviews it (observer/navigator).
  • This improves code quality and encourages knowledge sharing.

5. Continuous Integration

  • Code changes are integrated into the shared repository frequently (multiple times a day).
  • Automated tests are run after each integration to detect errors early.

6. Refactoring

  • The code is continuously improved and restructured without changing its external behavior.
  • This keeps the codebase clean, simple, and maintainable.

Summary Table

TechniqueKey Feature
Extreme Programming (XP)Pair programming, TDD, small releases
ScrumSprints, daily stand-ups, backlog
Test-Driven DevelopmentTests written before code
Pair ProgrammingTwo developers, one workstation
Continuous IntegrationFrequent code merging and testing
RefactoringContinuous code improvement

Note: XP is highlighted as the most significant agile development technique that changed software development culture.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.