Software Development Lifecycle (SDLC) & Module Introduction
Overview
- Course: ECM2414 – Software Development
- Topic: Module Introduction and Software Development Lifecycle (SDLC)
- Session: T1: W1-L1
- Instructor: Prof. Solomon Oyelere
- Department: Computer Science, University of Exeter
Module Information
Staff
Lecturers:
- Prof. Solomon Oyelere (Module Leader): s.oyelere@exeter.ac.uk
- Dr. Wang Miao: wang.miao@exeter.ac.uk
Teaching Assistants:
- Liu Xuan
- Ridi Hossain
- Martina Suppa
- Wang Zixia
Office Hours:
- Prof. Oyelere: Monday, 11:30-12:00
- Location: Room 014, ground floor, Innovation 1
- Note: Best to email beforehand
Timetable
Lectures (2 hours per week)
- Tuesday: 17:35-18:25, LT A/Streatham Court
- Thursday: 14:35-15:25, LT A/Parker Moot Room LT/Amory
Workshops (2 hours per week)
On Campus (1 hour - attend ONE session):
- Monday: 08:35-09:25, Babbage/Innovation Centre 1
- Monday: 09:35-10:25, Lovelace/Innovation Centre 2
- Monday: 10:35-11:25, Lovelace/Innovation Centre 2
Offline (1 hour): Working with pair programming partner
Surgeries/Q&A
- Occasionally as needed
Assessment Structure
Formative Assessment (0%)
- Weekly quiz
- Class test & feedback at Week 11
Summative Assessment
- Software development coursework (40%)
- Examination (60%) - TBA
Coursework Details
Pair Programming:
- Find partner and complete MS Office form or QR Code
- Link available on ELE (Assessment tile)
- Deadline: Sunday 28th September (Hard deadline)
- Auto-pairing: Monday 29th September if not completed
Timeline:
- CA hand-out: Monday 30th September (Week 2)
- CA hand-in: Tuesday 2nd November (Week 6)
Resources
ELE Site
- Lecture slides and recordings
- Worksheets and solutions
- Coursework/Assessment materials
- Reading materials
Recommended Reading
- Library access (online access available)
- Oracle Java Tutorial: https://docs.oracle.com/javase/tutorial/index.html
- Week 1 reading list on ELE
- Topic-specific reading lists throughout module
Module Aims
Core Topics
Advanced Java Programming:
- Generics
- Inner classes
- Advanced language features
Concurrency:
- Java threads
- Thread management
- Synchronization
Design Patterns:
- Common patterns
- Implementation in Java
- Design principles
Testing & Quality Assurance:
- Version control systems
- Unit testing frameworks
- Test-driven development
Future Integration
Concepts introduced here will be built upon and used in ECM2434 Group Software Engineering Project
Module Outline
Weekly Schedule
| Week | Topics | Notes |
|---|---|---|
| 1 | Introduction, SDLC & Nested classes | No workshops |
| 2 | Concurrency I & II & CA Posting | CA posted Sept 30 |
| 3 | Concurrency III & Version control | |
| 4 | Event handling & Testing | |
| 5 | Testing (Unit tests, Mock objects, Test suites) | |
| 6 | Reflective/reading week | No lectures/workshops, CA submission Nov 2 |
| 7 | Design patterns I & II | |
| 8 | Design patterns III & Generic programming | |
| 9 | Java Collections & Reflection | |
| 10 | Sockets & Remote Method Invocation I | |
| 11 | Remote Method Invocation II & Class test | |
| 12 | Revision (Feedback) |
Software Development Lifecycle (SDLC)
Introduction to SDLC
SDLC Context:
- More detailed coverage in ECM2434 – Group Software Engineering Project
- Testing (key SDLC component) covered in this module
SDLC Definition
Software Development Lifecycle:
- Represents development of software as phases or sets of activities
- Driven by desire to define predictable process to improve quality
- Involves creating processes that can be effectively managed
Basic SDLC Phases
Traditional Linear Flow
Requirements Analysis → Design → Implementation → Testing → Evolution
Phase Descriptions
1. Requirements Analysis
Key Questions:
- What business/scientific problem is the system addressing?
- Is the solution feasible?
- What will the system do?
- Who are the users?
2. Design
Key Questions:
- What are the hardware, software, and network requirements?
- What parts will be in-house development?
- What will be externally developed or bought off-the-shelf?
3. Implementation
Actual coding and system construction
4. Testing
Verification and validation of system functionality
5. Evolution
Key Questions:
- Has the system accomplished its goals?
- Are there modifications to be made?
- If so, return to point 1 (iterative improvement)
Software Development Methodologies
Methodology Selection
Multiple SD methodologies available, selection depends on:
- Project type
- Available resources
- Team capabilities
- Client requirements
Major Methodologies
1. Waterfall
2. Prototyping
3. Rapid Application Development (RAD)
4. Agile
Waterfall Methodology
Characteristics
Sequential Approach:
- Breaks SDLC into distinct sequential phases
- Each phase needs sign-off (approval) before moving to next
- Very well-documented projects
- Linear progression through phases
Advantages
- Clear structure and milestones
- Comprehensive documentation
- Predictable timeline
- Easy to manage and understand
Disadvantages
- Errors propagate through if not spotted early
- Very expensive to fix errors discovered late
- Inflexible to change
- No working software until late in process
When to Use Waterfall
Suitable for:
- Well-understood requirements
- Stable technology environment
- Experienced teams
- Regulatory compliance projects
Prototyping Methodology
Characteristics
Iterative Approach:
- Not complete methodology but way of tackling larger stages
- Approaches exist across design areas
- Involves end users during process
- Lower functionality prototypes constructed for learning and feedback
Process
- Analysis, design, and implementation tightly coupled
- Prototypes feed back to development process
- Can cause initial plans to be reassessed
- Often prototypes are discarded after learning
Benefits
- Early user feedback
- Risk reduction through experimentation
- Better understanding of requirements
- Validation of concepts before full implementation
Rapid Application Development (RAD)
Characteristics
Tool-Focused Approach:
- Heavy focus on tool use to reduce development time and costs
- IDEs, GUI builders, database management systems
- Planning and implementation interleaved
- Business need paramount
Priority Structure
- Development deadline prioritized over requirements
- When project iterations overrun: Focus on reducing requirements rather than extending deadline
- Speed to market emphasis
Trade-offs
- Faster delivery vs comprehensive features
- Tool dependence vs custom solutions
- Rapid results vs long-term maintainability
Agile Development
Core Philosophy
Agile Manifesto Principles:
- Individuals and interactions over processes and tools
- Working software over comprehensive documentation
- Customer collaboration over contract negotiation
- Responding to change over following a plan
Characteristics
- Software development practice based on short iterative “sprints”
- Adaptive rather than predictive
- People-centric approach
- Embraces change
Scrum Framework
Sprint Structure
Sprint Characteristics:
- Short fixed-length sprints (typically 2-4 weeks)
- Aim to produce deployable software in each sprint
- Time-boxed iterations
Scrum Meetings
1. Sprint Planning Meeting
Purpose: Plan upcoming sprint
Activities:
- Identify which items will be worked on
- Identify sprint tasks
- Divide sprint into time-boxes
2. Daily Scrum Meeting
Purpose: Coordinate daily work
Activities:
- Summarize previous day’s work
- Plan coming day’s work
- Foster collaboration among team members
3. Sprint Review Meeting
Purpose: Demonstrate and evaluate sprint results
Activities:
- Demonstration of completed software
- Project owner determines which work items are complete
- Gather feedback for next sprint
Pair Programming
Structure
Two-Person Collaboration:
- Driver: Actually typing the code
- Navigator: Responsible for overall direction of programming
- Roles periodically reversed between the two
Benefits
1. Productivity
- Better productivity than two programmers working independently
- Fewer bugs introduced
- Higher code quality
2. Knowledge Sharing
- Promotes dissemination of project knowledge among team
- Cross-training on different parts of system
- Reduced bus factor (knowledge concentration risk)
3. Skills Development
- Good for transferring skills to junior developers
- Mentoring opportunities
- Best practices sharing
Advantages of Agile Development
1. User Engagement
- Continuous user involvement
- Regular feedback and course correction
- User satisfaction through involvement
2. Rapid Development
- Quick delivery of usable product
- Early value to users
- Faster time to market
3. Quality Assurance
- Early testing catches bugs and results in high-quality product
- Continuous integration
- Regular validation
4. Risk Management
- Small incremental changes mitigate potential risk
- Early detection of problems
- Adaptive response to changes
Choosing a Development Model
Factors to Consider
1. Project Type
- Complexity and size
- Innovation level required
- Technology maturity
2. Team Factors
- Your preferences and experience
- Team abilities and skills
- Team size and distribution
3. Organizational Factors
- Employer preferences and culture
- Customer preferences and involvement
- Regulatory requirements
4. Hybrid Approaches
- May combine traits from multiple methodologies
- Tailored approach to specific project needs
- Best practices from different models
Exercise: Pair Programming Benefits
Question: What are the benefits of pair programming?
All Options Are Correct
A. The observer can consider the “strategic” direction of the work, coming up with ideas for improvements and likely future problems to address.
- ✅ Correct: Navigator focuses on big picture and future considerations
B. The driver can focus all their attention on the implementation and coding.
- ✅ Correct: Driver concentrates on tactical coding details
C. It’s a good way of transferring skills to junior developers.
- ✅ Correct: Effective mentoring and knowledge transfer mechanism
D. A person can be responsible for mistakes.
- ❌ Incorrect interpretation: Pair programming is about shared responsibility, not individual blame
Note: Option D is misleading - pair programming promotes collective ownership and shared responsibility rather than individual accountability for mistakes.
Key Takeaways
SDLC Importance
- Structured approach to software development
- Quality improvement through defined processes
- Risk management through systematic phases
- Predictable outcomes with proper methodology selection
Methodology Selection
- No one-size-fits-all approach
- Project characteristics drive methodology choice
- Hybrid approaches often most effective
- Team capabilities influence success
Agile Benefits
- Adaptive to changing requirements
- User-centric development approach
- Risk reduction through incremental delivery
- Quality focus through continuous testing
Pair Programming
- Improved code quality through collaboration
- Knowledge sharing across team
- Skill development for junior developers
- Strategic and tactical thinking balance
Resources for Further Learning
Recommended Reading
- I. Hawryszkiewycz: “An Introduction to Systems Analysis & Design”, Pearson Education, Australia, pp. 1-28, 2001
- Agile Manifesto: http://agilemanifesto.org/
- Oracle Java Tutorial: https://docs.oracle.com/javase/tutorial/index.html
Module Context
Understanding SDLC provides foundation for:
- Testing methodologies (upcoming lectures)
- Version control integration
- Team development practices
- Quality assurance processes
Summary
Software development is not just programming - programming is just one part of the software development lifecycle.
Understanding different methodologies and their appropriate applications is crucial for successful software project delivery.
Next lecture: Nested Classes in Java
Tags
sdlc softwaredevelopment agile waterfall prototyping rad pairprogramming scrum methodology projectmanagement softwareengineering