Home » Software Engineering

The Use-case Model (Use case diagram)

This article is all about the Use - case Model or we can say the Use case diagram of the software. In this article, we are going to briefly discuss this diagram, regarding why is it used and what are the features and specifications of this diagram, and also about how it is represented?
Submitted by Monika Sharma, on October 19, 2019

The Use Case Model (or the Use case Diagram) is a diagrammatic representation of the software in which each piece of coherent behavior of the software is represented through a use case. Each use case represents some activity or interaction that may take place between different users.

Benefits of the use case diagram

  • The use case model very effectively provides an overview of what activities and use cases take place between the different kinds of users using the software.
  • It does not provide the internal working structure of the software. Only the activities that will be experienced by the user at the front end will be displayed in this model using the use cases.
  • The internal working is kept confidential.

Disadvantages of the use-case model

  • The internal structure of the software cannot be estimated to completely form the use case diagram of the software.
  • The algorithm and data structures used, the data flow and the control flow that takes place within the different fragments of the software cannot be represented through the use case diagrams.

How to represent the use-case diagram?

The use case Diagram consists of use cases and actors. The use cases are represented through an eclipse that consists of the name of the use case within it. All the use cases that the software consists are mentioned in the diagram. Now, the different kinds of actors or we can say the users that interact with the software are represented through the stick person images. Each of these stick people represents the class of one kind of people using the software and do to represent any single individual. For example, if we consider the software of the library management system, then there will be two actors: one the library staff that is responsible for issuing the books and the other the students or the customers who visit the libraries and issues the books.

The following is the use case diagram for the library management system:

USe-Case

Use-case model for library management system
https://i.pinimg.com/originals/81/80/23/8180236e318f622795bb0a7c824b895a.png


Here, in this use case diagram for the software of the library management system, we are having two actors: the librarian and the student, and nine use cases representing different activities and interactions taking place between the actors and the software.

Note: It should be noted that the number of actors and use cases is not fixed. You can use as many actors and use cases as per your software.






Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.