Welcome back, young developer! In Modules 1 and 2, we learned what software development is and how the Software Development Lifecycle works. Now, in Module 3, we are going to learn about Requirements Engineering โ the process of figuring out what software should do. This is like asking a client what they want to build before starting construction. If you don't know what the client wants, you can't build the right thing. By the end of this module, you will know how to gather, analyze, and document requirements. Let's begin!
By the end of this module, you will be able to:
In the city of Codeville, a family wanted to build their dream house. They called an architect named Chidi. The family told Chidi what they wanted โ a big kitchen, a garden, and a playroom for the kids. Chidi listened carefully and took notes. He asked questions to understand exactly what they needed. Then, he drew a plan. The family reviewed the plan and made some changes. This process of listening, understanding, and documenting is exactly what Requirements Engineering is all about.
Definition: Requirements are the things that software must do or have.
Why it's important: They tell us what to build.
Simple explanation: Like a list of items you need for a recipe.
Real-life example: A client says they want a login page.
School example: A teacher says students must write a 500-word essay.
Home example: You need eggs, flour, and sugar to bake a cake.
Nigerian example: Nigerian developers gather requirements from clients.
Illustration:
Requirements: ------------- - Login page - Search function - Dark mode - Mobile-friendly design
โ Mini summary: Requirements tell us what software must do.
Definition: Functional requirements describe what the software should do.
Why it's important: They define the features of the software.
Simple explanation: Like the steps in a recipe.
Real-life example: A user can log in with a username and password.
School example: A student must answer 10 questions.
Home example: You must add water to the flour.
Nigerian example: Nigerian developers define functional requirements.
Illustration:
Functional Requirements: ------------------------ - User login - Search products - Add to cart - Checkout
โ Mini summary: Functional requirements describe what the software does.
Definition: Non-functional requirements describe how the software should perform.
Why it's important: They define the quality of the software.
Simple explanation: Like the temperature and time in a recipe.
Real-life example: The app must load in under 2 seconds.
School example: The test must be completed in 1 hour.
Home example: The cake must be baked at 350 degrees.
Nigerian example: Nigerian developers define non-functional requirements.
Illustration:
Non-Functional Requirements: ---------------------------- - Fast loading time - Secure data storage - Available 24/7 - Easy to use
โ Mini summary: Non-functional requirements describe how the software performs.
Definition: Gathering requirements means talking to stakeholders to find out what they need.
Why it's important: You need to know what to build.
Simple explanation: Like asking your family what they want for dinner.
Real-life example: A developer interviews a client.
School example: A teacher asks students what they want to learn.
Home example: You ask your family what they want to eat.
Nigerian example: Nigerian developers gather requirements from clients.
Illustration:
Gathering Methods: ------------------ - Interviews - Surveys - Workshops - Observations
โ Mini summary: Gathering requirements means talking to stakeholders.
Definition: Stakeholders are people who have an interest in the software.
Why it's important: They are the ones who use or benefit from the software.
Simple explanation: Like the people who will eat the meal you cook.
Real-life example: Customers, managers, and developers.
School example: Students, teachers, and parents.
Home example: Family members.
Nigerian example: Nigerian stakeholders include clients and users.
Illustration:
Stakeholders: ------------- - Clients - Users - Managers - Developers
โ Mini summary: Stakeholders are people interested in the software.
Definition: A user story is a simple description of a feature from a user's perspective.
Why it's important: They help developers understand what users need.
Simple explanation: Like a sentence that describes a user's need.
Real-life example: "As a user, I want to search for products so I can find what I need."
School example: "As a student, I want to check my grades so I know how I'm doing."
Home example: "As a parent, I want to see the weather so I can plan the day."
Nigerian example: Nigerian developers use user stories.
Illustration:
User Story Format: ------------------ As a [type of user], I want to [action] so that [benefit].
โ Mini summary: User stories describe features from a user's perspective.
Definition: A use case is a step-by-step description of how a user interacts with the software.
Why it's important: They show how the software will be used.
Simple explanation: Like a script for a scene in a movie.
Real-life example: A use case for logging in: user enters username and password, system validates, and grants access.
School example: A use case for submitting homework: student uploads file, system confirms receipt.
Home example: A use case for ordering food: you choose items, add to cart, and checkout.
Nigerian example: Nigerian developers use use cases.
Illustration:
Use Case Example: ----------------- 1. User enters username and password. 2. System validates credentials. 3. System grants access. 4. User is logged in.
โ Mini summary: Use cases describe step-by-step interactions.
Definition: Requirements documentation is a written record of all requirements.
Why it's important: It ensures everyone is on the same page.
Simple explanation: Like a recipe written down.
Real-life example: A Software Requirements Specification (SRS) document.
School example: A teacher's lesson plan.
Home example: A shopping list.
Nigerian example: Nigerian developers create requirement documents.
Illustration:
SRS Document: ------------- - Introduction - Overall description - Functional requirements - Non-functional requirements - Appendices
โ Mini summary: Requirements documentation records all requirements.
Definition: Traceability is the ability to track requirements from start to finish.
Why it's important: It ensures all requirements are met.
Simple explanation: Like checking off items on a checklist.
Real-life example: A project manager tracks requirements to ensure they are implemented.
School example: A student checks off topics they have studied.
Home example: You check off items on a shopping list.
Nigerian example: Nigerian developers use traceability.
Illustration:
Traceability Matrix: -------------------- | Requirement | Implemented | Tested | |-----------------------------------| | R1 | Yes | Yes | | R2 | Yes | No | | R3 | No | No |
โ Mini summary: Traceability tracks requirements from start to finish.
Definition: Change management is the process of handling changes to requirements.
Why it's important: Requirements often change during a project.
Simple explanation: Like making changes to a recipe as you cook.
Real-life example: A client asks for a new feature.
School example: A teacher changes the homework deadline.
Home example: You add a new ingredient to a recipe.
Nigerian example: Nigerian developers manage requirement changes.
Illustration:
Change Management Process: -------------------------- 1. Request change. 2. Analyze impact. 3. Approve or reject. 4. Implement change. 5. Update documentation.
โ Mini summary: Change management handles changes to requirements.
Definition: Different types of requirements include business, user, and system requirements.
Why it's important: Different stakeholders care about different types.
Simple explanation: Like different types of ingredients in a recipe.
Real-life example: A business requirement is to increase sales.
School example: A school requirement is to have a library.
Home example: A family requirement is to have a garden.
Nigerian example: Nigerian developers work with different requirement types.
Illustration:
Requirement Types: ------------------ - Business: Increase revenue - User: Easy to use - System: Fast load time
โ Mini summary: Different types of requirements serve different purposes.
Definition: Ambiguity is when a requirement is unclear.
Why it's important: Ambiguity leads to confusion and mistakes.
Simple explanation: Like a recipe that says "add some salt" โ how much?
Real-life example: A requirement that says "fast loading" โ what does fast mean?
School example: A teacher says "write a good essay" โ what is good?
Home example: A recipe says "bake until done" โ how do you know?
Nigerian example: Nigerian developers clarify ambiguous requirements.
Illustration:
Handling Ambiguity: ------------------- - Ask questions - Use examples - Be specific - Get clarity
โ Mini summary: Handling ambiguity means making requirements clear.
Definition: A real-world example shows how requirements engineering works in practice.
Why it's important: It helps you understand the process.
Simple explanation: Like seeing a recipe being made.
Real-life example: A company builds a new app and gathers requirements from users.
School example: A teacher plans a lesson based on student needs.
Home example: You plan a meal based on what your family wants.
Nigerian example: Nigerian developers gather requirements for a new product.
Illustration:
Example: -------- A team is building a new e-commerce app. They interview customers to find out what they want. They create user stories and use cases. They document all requirements. They use the requirements to build the app.
โ Mini summary: Requirements engineering is used in real-world projects.
Definition: You have learned about requirements engineering.
Why it's important: You now know how to gather and document requirements.
Simple explanation: You have learned to listen and understand what people need.
Real-life example: A software developer who can gather requirements.
School example: A student who can understand instructions.
Home example: A person who can plan a meal based on preferences.
Nigerian example: A Nigerian developer who can gather requirements.
Illustration:
What You Learned: ----------------- - What requirements are - Functional vs non-functional - Gathering requirements - User stories and use cases - Requirements documentation - Traceability - Change management - Handling ambiguity
โ Mini summary: You have learned the essentials of requirements engineering.
Definition: You have learned about requirements engineering.
Why it's important: You now know how to gather and document requirements.
Simple explanation: You have learned to listen and understand what people need.
Real-life example: A software developer who can gather requirements.
School example: A student who can understand instructions.
Home example: A person who can plan a meal based on preferences.
Nigerian example: A Nigerian developer who can gather requirements.
Illustration:
What You Learned: ----------------- - What requirements are - Functional vs non-functional - Gathering requirements - User stories and use cases - Requirements documentation - Traceability - Change management - Handling ambiguity
โ Mini summary: You have learned the essentials of requirements engineering.
Gather -> Analyze -> Document -> Validate -> Manage
Request Change -> Analyze Impact -> Approve/Reject -> Implement -> Update Documentation
| Feature | Functional | Non-Functional |
|---|---|---|
| Description | What it does | How it performs |
| Example | User login | Fast loading time |
| Focus | Features | Quality |
| Testing | Functional testing | Performance testing |
1970s: Waterfall requirements 2000s: Agile user stories 2010s: Continuous requirements 2020s: AI-assisted requirements
You have completed Module 3 of the Certified Software Developer course. You have learned about requirements engineering โ how to gather, analyze, document, and manage requirements. You now understand functional vs non-functional requirements, user stories, use cases, traceability, and change management. You are now ready to move on to Module 4, where you will learn about software design and architecture.
Match the term to its description:
| Term | Description |
|---|---|
| 1. Requirements | A. What software must do |
| 2. Functional | B. What the software does |
| 3. Non-Functional | C. How the software performs |
| 4. Stakeholder | D. Person interested in the software |
| 5. User Story | E. Simple description from a user's perspective |
Answers: 1-A, 2-B, 3-C, 4-D, 5-E
Scenario 1: You are building a new app. A stakeholder tells you they want a "fast" app. What questions would you ask to make this requirement clear?
Scenario 2: You are gathering requirements for a new e-commerce site. What functional and non-functional requirements would you include?
In groups of 3-4, choose a project and create a list of functional and non-functional requirements. Present your list to the class.
Write three user stories for a project of your choice. Include the user type, action, and benefit.
Create a Software Requirements Specification (SRS) document for a project of your choice. Include functional and non-functional requirements.
Interview a stakeholder for a project and gather requirements. Write a report summarizing the requirements.
Research a real-world project that failed due to poor requirements. Write a report on what went wrong and how it could have been prevented.
Multiple choice answers are provided above. Fill-in-the-blank answers:
In Module 4, we will learn about software design and architecture. Get ready to become a software architect!
๐ Congratulations! You have completed Module 3 of the Certified Software Developer course. ๐
You are now ready to move on to Module 4 โ Software Design and Architecture.