EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 600+ Courses All in One Bundle
  • Login
Home Software Development Software Development Tutorials Software Engineering Tutorial UML Use Case Diagram
Secondary Sidebar
Software Engineering Tutorial
  • UML Daigram
    • StarUML
    • Architecture of UML
    • StarUML? Download
    • Types of UML Diagrams
    • UML Activity Diagram
    • UML Component?Diagram
    • UML Deployment Diagram
    • UML Diagram Softwares
    • UML Object?Diagram
    • UML Sequence Diagram
    • UML Use Case Diagram
    • State Diagram
    • Class Diagram
    • UML Dependency
    • UML Interaction Diagrams
    • Data Flow Diagrams
  • Basic
    • What is Software Engineering?
    • What is SDET
    • What Is SDLC
    • SDLC Methodologies
    • Software Classification
    • Software Design
    • Software Design Principles
    • Software Metrics
    • Utility Software Types
    • UI Design Tools
    • User Interface Design Principles
    • Architectural Design in Software Engineering
    • Software Configuration Management
    • Software Configuration Management Tools
    • What is Risk Management?
    • System Engineering
    • Object oriented programming paradigm
    • CASE Tools
  • Models
    • Prototype Model
    • What is Spiral Model
    • Waterfall?Model
    • Prototyping Tools
    • Incremental Model
    • Iterative Model
    • RAD Model
    • Fish Model
    • What is Scrum Methodology?
    • RUP? Methodology
    • COCOMO Model
    • Big Bang Model
    • System Models
    • People Capability Maturity Model
    • Analysis Modeling
    • User Interface Design
    • Capability Maturity Model Integration
    • What is Agile Development?
    • Agile Model Advantages and Disadvantages
    • Agile Process Model
    • Rational Unified Process
  • Advanced
    • Functional Point Analysis
    • Software Quality Control
    • Quality Assurance Tools
    • Prototype model advantages and disadvantages
    • UML Modelling Tools
    • Tomcat Server
    • Quality Software
    • UI Prototyping
    • Hybrid Model
    • Behavioral Model in Software Engineering
    • Flowchart symbols
    • Critical System
    • Legacy System
    • SOA Architecture
    • Software Quality Attributes
    • Software Maintenance
    • Software Cost Estimation
    • Software Inspection
    • Cohesion in Software Engineering
    • Coupling in Software Engineering
    • Component-based Software Engineering
    • Design Modeling in Software Engineering
    • Iterative Methodology
    • System Flow Diagram
    • Data Flow Architecture
    • SEICMM
    • Function Oriented Design
  • Interview Questions
    • Software Engineering Interview Questions
    • SDLC Interview Questions

Related Courses

Software Testing Course

Cyber Security Training

Software Development Course Training

UML Use Case Diagram

By Priya PedamkarPriya Pedamkar

UML Use Case Diagram

UML Use Case Diagram

UML use case diagram is one of the types of UML diagram which is used to represent the dynamic diagram by mapping the structure of the systems using actors and use cases. Where use cases are used to represent the set of activities, services that the system needs to perform, and actors are the entity that works under defined roles within the system. Use case diagram is useful for representing the functional requirements of the system using various notations like system, use case, actors, and relationships.

What is UML Use Case Diagram?

It sounds like quite a heavily worded title, doesn’t it? Well, let’s break it down to each word.

Start Your Free Software Development Course

Web development, programming languages, Software testing & others

All in One Software Development Bundle(600+ Courses, 50+ projects)
Python TutorialC SharpJavaJavaScript
C Plus PlusSoftware TestingSQLKali Linux
Price
View Courses
600+ Online Courses | 50+ projects | 3000+ Hours | Verifiable Certificates | Lifetime Access
4.6 (86,130 ratings)

1. UML

Unified Modelling Language is a modern approach to the conventional process of modeling and documenting software. This approach is a diagrammatic representation of the components and processes involved in software. It is like explaining the whole software through visual representations so that it is easy to understand and weed out possible flaws and errors in the system. The whole process falls under the larger umbrella of business process modeling techniques.

2. UML Diagrams

Picture those real-life scaled models of various vast architectures such as a mall or a housing society spread across acres, placed inside nice shiny glass boxes at the reception of the structure. Isn’t it easy to understand the complete structure when it has been modeled as-a-whole before your eyes?

Well, UML Diagrams are software what those scaled models are to the actual structure. A complete representation of the whole system or a part of it, with the help of diagrams. There are various diagrams serving various purposes. Some examples are:

  • Class diagram: Focuses more on the blueprint.
  • Sequence diagram: Focuses more on the process from a system perspective.
  • Activity diagram: Focuses on the actions from a user perspective.
  • Use case diagram: Focuses on the business requirements and many more.

UML Use Case Diagram

The center topic of today’s discussion is the Use Case diagrams. A Use Case diagram models the dynamic behavior of the system when it is operating. It highlights the high-level requirements of the system. It is modeled to represent the outside view of the system. The use-case diagram explains the various use-cases in which an end-user can interact with the system. The perspective in the picture is of the end-user.

A simple example of a use-case diagram is how an end-user interacts with the airline ticket booking system.

Some of the use cases in this example could be, but are not limited to:

  • A person logs in to search for flights.
  • A person books a flight.
  • A person views his previous flight bookings.
  • A person web-checks in his flight.
  • A person cancels his flight.

As said earlier, a use case diagram models the dynamic behavior of the system. Notice the word dynamic. This implies that there must be some internal or external factors that influence the behavior of the system during run time and make it dynamic in nature. These internal or external agents are known as Actors. A Use-case diagram models the actors, the system, and their interaction. A single use-case diagram can model a particular functionality of the system.

Why Use Case diagram?

Let’s analyze through some Questions and Answers.

1. Why use-case when the activity diagram also models the actions of the system based on the inputs?

Answer:

Yes, but the use case diagram does it from the perspective of the end-user, whereas the activity diagram does it from the system perspective. An end-user may not know his role through an activity diagram.

2. Well then, sequence diagrams involve actors and the actions they perform at various stages. Why use-case?

Answer:

Sequence diagrams are more detailed versions of user-system interaction. They also involve the internal functioning of the system, interaction between sub-modules and the time elapsed during internal functioning. An end-user may not be interested in such details. He is concerned with the overall output of the system.

3. I know collaboration/communication diagrams are a simpler version of sequence diagrams. Why can’t I use them?

Answer:

Collaboration diagrams are indeed simpler, yet they focus mainly on the communication between the components. This still involves more focus on the messages that are exchanged between the system and sub-modules. An end-user may still find it a little too detailed for his purpose.

4. There is a state-chart diagram as well. They are simple, don’t involve internal sub-modules and depict end-user interactions as well. How does the use-case diagram beat it?

Answer:

The primary purpose of state-chart diagrams is to analyze the state of the system at every possible point in time. They are more suitable for debugging and reverse-engineering of the system. Use case diagrams skip the intermediate states of the system as the end-user may not be interested in knowing all the states the machine goes through. Moreover, state-chart diagrams don’t focus on the overall requirement as use-case diagrams do. They focus more on a specific input and the concerned output.

So, the takeaway from this discussion is that while many UML diagrams perform similar functionalities, yet they have a distinguished role in understanding the system. A Use-case diagram is as important as any other diagram for the overall documentation of the system components of Use case diagrams.

UML Use Case

Example of use-case Diagram

Below is a simple example of a use-case diagram for the Airline Ticket booking system. This diagram can be made more comprehensive with the introduction of other actors such as booking operators, banks, etc. It has been simplified to demonstrate how a use-case diagram is made.

Airline Ticket booking system

Conclusion

Use case diagrams are simple yet effective for understanding the system from the outside. They are very helpful for the business to define high-level requirements and analyze flaws in the requirements as well. Understanding use-case diagrams help the business as well as the technical team to get on the same page in terms of requirements.

Recommended Articles

This has been a guide to UML Use Case Diagram. Here we discussed what is UML Case Diagram and why it is used, and the components of this diagram. You can also go through our other suggested articles to learn more –

  1. Class Diagram
  2. What is Computer Graphic Design?
  3. Use Case vs Test Case
  4. UML Interaction Diagrams
Popular Course in this category
All in One Software Development Bundle (600+ Courses, 50+ projects)
  600+ Online Courses |  3000+ Hours |  Verifiable Certificates |  Lifetime Access
4.6
Price

View Course

Related Courses

Software Testing Training (11 Courses, 2 Projects)4.9
Cyber Security Training (10 Courses, 3 Projects)4.8
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Java Tutorials
  • Python Tutorials
  • All Tutorials
Certification Courses
  • All Courses
  • Software Development Course - All in One Bundle
  • Become a Python Developer
  • Java Course
  • Become a Selenium Automation Tester
  • Become an IoT Developer
  • ASP.NET Course
  • VB.NET Course
  • PHP Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Software Development Course

C# Programming, Conditional Constructs, Loops, Arrays, OOPS Concept

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more