Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† Certified Software Engineer ยท Lesson 6 of 18

Module Three

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
6
Module 3: Certified Software Developer โ€“ Requirements Engineering

๐Ÿ’ป Module 3: Certified Software Developer โ€“ Requirements Engineering

โœจ Module Introduction

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!

๐ŸŽฏ Learning Objectives

By the end of this module, you will be able to:

  • Understand what requirements are.
  • Explain the difference between functional and non-functional requirements.
  • Gather requirements from stakeholders.
  • Use user stories and use cases.
  • Document requirements clearly.
  • Manage changes to requirements.

๐Ÿ“– Warm-up Story: The Dream House

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.

๐Ÿ“š Main Lessons

Lesson 1: What are Requirements?

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.

Lesson 2: Functional Requirements

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.

Lesson 3: Non-Functional Requirements

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.

Lesson 4: Gathering Requirements

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.

Lesson 5: 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.

Lesson 6: User Stories

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.

Lesson 7: Use Cases

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.

Lesson 8: Requirements Documentation

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.

Lesson 9: Traceability

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.

Lesson 10: Requirements Change Management

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.

Lesson 11: Common Requirement Types

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.

Lesson 12: Handling Ambiguity

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.

Lesson 13: Real-World Example

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.

Lesson 14: Review of Module 3

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.

Lesson 15: Review of Module 3

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.

๐Ÿ”‘ Key Vocabulary (with simple definitions)

  • Requirements: What software must do.
  • Functional Requirements: What the software does.
  • Non-Functional Requirements: How the software performs.
  • Stakeholders: People interested in the software.
  • User Story: A simple description from a user's perspective.
  • Use Case: A step-by-step interaction.
  • Traceability: Tracking requirements from start to finish.
  • Change Management: Handling changes to requirements.
  • Ambiguity: When a requirement is unclear.
  • Documentation: Written record of requirements.

๐Ÿง  Important Concepts

  1. Requirements tell us what to build: They are the foundation of software.
  2. Functional vs non-functional: What vs how.
  3. Gathering requirements is key: You need to talk to stakeholders.
  4. Documentation is important: It keeps everyone aligned.
  5. Changes happen: You need a process to manage them.

๐Ÿ“ Step-by-step Explanations

Step 1: How to gather requirements

  1. Identify stakeholders.
  2. Conduct interviews.
  3. Create user stories.
  4. Document requirements.
  5. Review with stakeholders.

Step 2: How to write a user story

  1. Identify the user type.
  2. Describe the action.
  3. Explain the benefit.
  4. Write it in the format: As a [user], I want to [action] so that [benefit].

๐ŸŒ Real-life Examples

  • A company gathers requirements for a new product.
  • A team uses user stories to build an app.
  • A developer documents requirements for a project.

๐Ÿ‡ณ๐Ÿ‡ฌ Nigerian Examples

  • A Nigerian fintech gathers requirements for a new app.
  • A Nigerian startup uses user stories.
  • A Nigerian developer documents requirements.

๐Ÿ˜Š Fun Examples children can relate to

  • Requirements are like a shopping list.
  • User stories are like a wish list.
  • Use cases are like a script for a play.

๐Ÿก Everyday Examples

  • You make a shopping list before going to the store.
  • You ask your family what they want for dinner.
  • You follow a recipe to cook a meal.

๐Ÿ‘ฉโ€๐Ÿซ Teacher Notes

  • Emphasize the importance of understanding user needs.
  • Use analogies like shopping lists and recipes.
  • Encourage students to practice writing user stories.
  • Discuss real-world examples of requirements.

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง Parent Tips

  • Explain that understanding needs is important.
  • Discuss the importance of planning.
  • Encourage your child to think about what users need.
  • Help your child practice writing user stories.

๐Ÿคฏ Interesting Facts

  • Poor requirements cause 50% of project failures.
  • Agile teams use user stories to capture requirements.
  • Requirements engineering is a key skill for software developers.

โ“ Did You Know?

  • Did you know that requirements often change?
  • Did you know that traceability helps track requirements?
  • Did you know that non-functional requirements are often forgotten?

๐Ÿงพ Remember This

  • Requirements tell us what to build.
  • Functional vs non-functional.
  • Gather requirements from stakeholders.
  • Document requirements clearly.
  • Manage changes to requirements.

โš ๏ธ Common Mistakes

  • Not talking to stakeholders.
  • Writing ambiguous requirements.
  • Forgetting non-functional requirements.
  • Not documenting requirements.
  • Not managing changes.

โœ… Best Practices

  • Talk to stakeholders.
  • Write clear requirements.
  • Include functional and non-functional requirements.
  • Document everything.
  • Manage changes.

๐Ÿ“Š Illustrations, Diagrams, and Tables

ASCII Illustration: Requirements Process

   Gather -> Analyze -> Document -> Validate -> Manage

ASCII Flowchart: Change Management

   Request Change -> Analyze Impact -> Approve/Reject -> Implement -> Update Documentation

Comparison Table: Functional vs Non-Functional

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

Timeline: Requirements Engineering

   1970s: Waterfall requirements
   2000s: Agile user stories
   2010s: Continuous requirements
   2020s: AI-assisted requirements

๐Ÿ“Œ End-of-module Summary

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.

โ“ Frequently Asked Questions (10 questions)

  1. What are requirements? โ€“ What software must do.
  2. What is the difference between functional and non-functional requirements? โ€“ Functional is what; non-functional is how.
  3. What is a stakeholder? โ€“ Someone interested in the software.
  4. What is a user story? โ€“ A simple description from a user's perspective.
  5. What is a use case? โ€“ A step-by-step interaction.
  6. What is traceability? โ€“ Tracking requirements.
  7. What is change management? โ€“ Handling changes to requirements.
  8. How do you gather requirements? โ€“ By talking to stakeholders.
  9. Why is documentation important? โ€“ It keeps everyone aligned.
  10. What is ambiguity? โ€“ When a requirement is unclear.

๐Ÿ“ Review Questions (15 questions)

  1. What are requirements?
  2. What is the difference between functional and non-functional requirements?
  3. Who are stakeholders?
  4. What is a user story?
  5. What is a use case?
  6. What is traceability?
  7. What is change management?
  8. How do you gather requirements?
  9. Why is documentation important?
  10. What is ambiguity?
  11. What are the types of requirements?
  12. What is a Software Requirements Specification (SRS)?
  13. How do you handle ambiguous requirements?
  14. What is the importance of requirements engineering?
  15. What have you learned in this module?

๐Ÿ“ Fill-in-the-Blank Exercises

  1. __________ are what software must do.
  2. __________ requirements describe what the software does.
  3. __________ requirements describe how the software performs.
  4. A __________ is a person interested in the software.
  5. A __________ is a simple description from a user's perspective.
  6. A __________ is a step-by-step interaction.
  7. __________ is tracking requirements.
  8. __________ is handling changes to requirements.
  9. __________ means a requirement is unclear.
  10. A __________ document records all requirements.

โœ… True or False Exercises

  1. Requirements tell us what to build. (True)
  2. Functional requirements describe how software performs. (False)
  3. Non-functional requirements describe what software does. (False)
  4. Stakeholders are people interested in the software. (True)
  5. A user story is from a developer's perspective. (False)
  6. A use case is a step-by-step interaction. (True)
  7. Traceability is not important. (False)
  8. Change management handles changes to requirements. (True)
  9. Ambiguity is when a requirement is clear. (False)
  10. Documentation is important. (True)

๐Ÿ”˜ Multiple Choice Questions (15 questions with answers)

  1. What are requirements?
    a) What software must do
    b) How software performs
    c) Who uses the software
    Answer: a
  2. What is the difference between functional and non-functional requirements?
    a) Functional is what; non-functional is how
    b) Functional is how; non-functional is what
    c) They are the same
    Answer: a
  3. Who are stakeholders?
    a) People interested in the software
    b) People who write code
    c) People who test software
    Answer: a
  4. What is a user story?
    a) A simple description from a user's perspective
    b) A complex description from a developer's perspective
    c) A document
    Answer: a
  5. What is a use case?
    a) A step-by-step interaction
    b) A simple description
    c) A document
    Answer: a
  6. What is traceability?
    a) Tracking requirements
    b) Writing requirements
    c) Testing requirements
    Answer: a
  7. What is change management?
    a) Handling changes to requirements
    b) Writing requirements
    c) Testing requirements
    Answer: a
  8. How do you gather requirements?
    a) By talking to stakeholders
    b) By writing code
    c) By testing software
    Answer: a
  9. Why is documentation important?
    a) It keeps everyone aligned
    b) It is not important
    c) It slows things down
    Answer: a
  10. What is ambiguity?
    a) When a requirement is unclear
    b) When a requirement is clear
    c) When a requirement is documented
    Answer: a
  11. What is a Software Requirements Specification (SRS)?
    a) A document recording requirements
    b) A type of software
    c) A programming language
    Answer: a
  12. How do you handle ambiguous requirements?
    a) Ask questions
    b) Ignore them
    c) Guess
    Answer: a
  13. What is the importance of requirements engineering?
    a) It ensures the right software is built
    b) It is not important
    c) It slows things down
    Answer: a
  14. What is a functional requirement?
    a) What the software does
    b) How the software performs
    c) Who uses the software
    Answer: a
  15. What have you completed?
    a) Module 3 of Certified Software Developer
    b) The entire course
    c) Module 2
    Answer: a

๐Ÿ”— Matching Exercises

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

โœ๏ธ Short Answer Questions

  1. What are requirements?
  2. What is the difference between functional and non-functional requirements?
  3. What is a user story?
  4. What is traceability?
  5. Why is documentation important?

๐ŸŽญ Scenario-based Exercises

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?

๐Ÿ‘ฅ Group Activity

In groups of 3-4, choose a project and create a list of functional and non-functional requirements. Present your list to the class.

๐Ÿง‘โ€๐ŸŽ“ Individual Activity

Write three user stories for a project of your choice. Include the user type, action, and benefit.

๐Ÿ’ฌ Classroom Discussion Questions

  1. Why is it important to gather requirements?
  2. What happens if requirements are not documented?
  3. How do you handle changes to requirements?
  4. Why are non-functional requirements often forgotten?

๐Ÿ› ๏ธ Mini Project

Create a Software Requirements Specification (SRS) document for a project of your choice. Include functional and non-functional requirements.

๐Ÿ“‹ Practical Assignment

Interview a stakeholder for a project and gather requirements. Write a report summarizing the requirements.

๐Ÿ† Challenge Exercise

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.

๐Ÿ” Quiz Answers

Multiple choice answers are provided above. Fill-in-the-blank answers:

  1. Requirements
  2. Functional
  3. Non-functional
  4. stakeholder
  5. user story
  6. use case
  7. Traceability
  8. Change management
  9. Ambiguity
  10. requirements

๐ŸŽฏ Key Takeaways

  • Requirements tell us what to build.
  • Functional vs non-functional requirements.
  • Gather requirements from stakeholders.
  • Document requirements clearly.
  • Manage changes to requirements.

๐Ÿš€ Preparation for the next module

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.

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’