Software Development Life Cycle (SDLC)

Agile Methodology

Waterfall Methodology

Version Control

# Git commands
git branch feature-branch # Create a new branch
git checkout feature-branch # Switch to the new branch
git add . # Stage changes
git commit -m "Implement feature" # Commit changes
git checkout main # Switch back to the main branch
git merge feature-branch # Merge the changes`

Code Documentation

# Python example
def calculate_square(number): """ Calculates the square of a number. Args: number (int): The number to be squared. Returns: int: The square of the number. """ return number * number

Testing