Objectives Understand what context models are Explore types of context models Learn how context models support requirements analysis Examine examples and case studies
What is a Context Model? A context model describes the environment in which a system operates. Identifies external entities interacting with the system Defines system boundaries and information flows
Why Use Context Models? Clarify system boundaries Understand external interactions Identify actors and stakeholders Aid in requirements elicitation Support impact analysis during changes
Types of Context Models Context Diagrams (e.g., data flow) Use Case Models Environmental Models (social, technical, legal) Operational Contexts (physical, time-based)
Use Case Model as Context Use cases describe functional interactions from the user perspective Shows actors and their goals Complements context diagrams
Environmental Context Non-functional elements like regulations and policies Organizational constraints Technical infrastructure considerations
Identifying Boundaries Distinguish what is inside vs outside the system Prevent scope creep Use stakeholder input and domain knowledge
Best Practices Keep diagrams simple and clear Validate with stakeholders Use modeling tools (e.g., Lucidchart, UML tools) Update as system understanding evolves
Summary Context models = crucial for requirements analysis Help define scope and interfaces Different types for different needs Always involve stakeholders
Homework/Assignment Task: Draw a context diagram and a basic use case diagram for an online food delivery system. Include: At least 3 external entities, 2 key use cases