ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCOMP3150Requirements Engineeriโ€ฆ
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    COMP3150

    Object Oriented Analysis and Design

    Progress0 / 17 done
    Topics17
    1Principles of Object Technology2OOP Review3Principles of Modeling4OOA&D Overview5OO Development Process
    6Use Cases and Prototyping7Class Models8Interaction Diagrams9Verification and Validation10Architectural and Detailed Design11Class Diagrams12State Machines and Diagrams13Implementation and Package Diagrams14Activity Diagrams15OO Patterns16Object Diagram, Component Diagram, and Deployment Diagram17Network Diagram
    3 min read
    Topic 6 of 17
    Topic Study Note Illustration
    06

    Requirements Engineering: Use Cases and Prototyping

    Requirements Engineering (RE) is the process of collecting, analyzing, documenting, and validating what a software system should do.

    ๐Ÿ“˜ Requirements Engineering: Use Cases & Prototyping (OOAD)


    ๐Ÿ”น 1. Definition of Requirements Engineering

    Requirements Engineering (RE) is the process of collecting, analyzing, documenting, and validating what a software system should do.

    ๐Ÿ‘‰ Simple idea: It answers: โ€œWhat does the user want?โ€


    ๐Ÿ”น 2. Key Activities in Requirements Engineering

    1. Elicitation โ†’ Gathering requirements
    2. Analysis โ†’ Understanding and refining
    3. Specification โ†’ Documenting clearly
    4. Validation โ†’ Checking correctness

    โญ PART A: USE CASES


    ๐Ÿ”น 3. What is a Use Case?

    A Use Case describes how a user (actor) interacts with a system to achieve a specific goal.

    ๐Ÿ‘‰ It shows functional requirements in a simple way.


    ๐Ÿ”น 4. Components of a Use Case

    Component Description
    Actor User or external system
    Use Case Function (e.g., Login, Withdraw Cash)
    System The software being developed
    Scenario Step-by-step interaction

    ๐Ÿ”น 5. Use Case Diagram (UML)

    Use case diagram
    Visual ReferenceUse Case
    Wikipedia

    Definition: A graphical representation of actors and their interactions with the system.

    Diagram Description:

    • Stick figures โ†’ Actors
    • Ovals โ†’ Use cases
    • Lines โ†’ Interaction

    ๐Ÿ”น 6. Types of Actors

    • Primary Actor: Initiates interaction
    • Secondary Actor: Supports the system

    ๐Ÿ”น 7. Relationships in Use Cases


    ๐Ÿ”ธ 7.1 Include Relationship

    • One use case always includes another

    Example:

    Withdraw Money โ†’ includes โ†’ Authenticate User
    

    ๐Ÿ”ธ 7.2 Extend Relationship

    • Optional behavior

    Example:

    Login โ†’ extends โ†’ Two-Factor Authentication
    

    ๐Ÿ”ธ 7.3 Generalization

    • Inheritance among actors/use cases

    ๐Ÿ”น 8. Use Case Scenario (Step-by-Step)

    ๐Ÿ‘‰ Example: ATM Withdraw Money

    1. User inserts card
    2. System asks for PIN
    3. User enters PIN
    4. System verifies
    5. User selects withdraw
    6. Cash is dispensed

    ๐Ÿ”น 9. Advantages of Use Cases

    • Easy to understand
    • Focus on user perspective
    • Helps in communication
    • Identifies system functionality

    โญ PART B: PROTOTYPING


    ๐Ÿ”น 10. What is Prototyping?

    Prototyping is the process of creating a working model (sample system) to understand and refine requirements.

    ๐Ÿ‘‰ Simple idea: Build a small version first, improve later.


    ๐Ÿ”น 11. Types of Prototypes


    ๐Ÿ”ธ 11.1 Throwaway (Rapid) Prototype

    • Built quickly and discarded
    • Used to understand requirements

    ๐Ÿ”ธ 11.2 Evolutionary Prototype

    • Continuously refined into final system

    ๐Ÿ”ธ 11.3 Incremental Prototype

    • Built in parts/modules

    ๐Ÿ”น 12. Prototyping Process

    Identify Requirements โ†’ Build Prototype โ†’ User Evaluation โ†’ Refine โ†’ Final System
    

    ๐Ÿ”น 13. Advantages of Prototyping

    • Early user feedback
    • Reduces misunderstanding
    • Improves system usability
    • Detects errors early

    ๐Ÿ”น 14. Disadvantages of Prototyping

    • Can increase cost/time if misused
    • Users may expect final system too early
    • Poor design if rushed

    ๐Ÿ”น 15. Use Cases vs Prototyping

    Feature Use Cases Prototyping
    Focus Functional behavior System appearance & interaction
    Form Text/Diagram Working model
    Purpose Understanding requirements Validating requirements

    ๐Ÿ”น 16. Example (Library System)


    ๐Ÿ”น Use Case:

    • Actor: Member
    • Use Case: Borrow Book

    ๐Ÿ”น Prototype:

    • Simple UI showing:

      • Book search
      • Borrow button

    ๐Ÿ”น 17. Important Rules / Tips

    • Use cases should be clear and simple
    • Focus on user goals
    • Prototype should be quick and flexible
    • Always get user feedback

    ๐Ÿ”น 18. Likely Exam Questions

    1. Define Requirements Engineering.
    2. What is a Use Case? Explain with example.
    3. Draw and explain a Use Case Diagram.
    4. Explain include and extend relationships.
    5. What is prototyping?
    6. Types of prototypes in software development.
    7. Advantages and disadvantages of prototyping.
    8. Difference between use cases and prototyping.
    9. Explain ATM use case scenario.
    10. Describe the prototyping process.

    ๐Ÿ”น 19. Quick Revision Summary ๐Ÿง 

    • Requirements Engineering = Understanding user needs

    Use Cases:

    • Actor + Interaction
    • Show system functionality
    • Include, Extend relationships

    Prototyping:

    • Early working model

    • Types:

      • Throwaway
      • Evolutionary
      • Incremental

    ๐Ÿ‘‰ Trick to Remember: "UP" โ†’ Use Cases + Prototyping


    โ† Previous topic 5
    OO Development Process
    Next topic 7 โ†’
    Class Models

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    3mremaining
    573words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Object Oriented Analysis and Design