0% found this document useful (0 votes)
2 views

Experiment 4 Use Case

Use case diagram

Uploaded by

Rohit Tiwari
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Experiment 4 Use Case

Use case diagram

Uploaded by

Rohit Tiwari
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

EXPERIMENT 4

Aim
To create a Use Case Diagram of Online Food ordering Application.

Requirements
1. Software Requirement: - Microsoft Word, Star Uml.
2. Hardware Requirement: - Keyboard, mouse, Lan, Monitor, CPU.

Theory
UML Use Case Diagram
A use case diagram is used to represent the dynamic behaviour of a system. It encapsulates the
system's functionality by incorporating use cases, actors, and their relationships. It models the
tasks, services, and functions required by a system/subsystem of an application. It depicts the
high-level functionality of a system and also tells how the user handles a system.

Purpose of Use Case Diagram


The main purpose of a use case diagram is to portray the dynamic aspect of a system. It
accumulates the system's requirement, which includes both internal as well as external
influences. It invokes persons, use cases, and several things that invoke the actors and elements
accountable for the implementation of use case diagrams. It represents how an entity from the
external environment can interact with a part of the system.
Following are the purpose of Use Case Diagram given below:
• It gathers the system's needs.
• It depicts the external view of the system.
• It recognizes the internal as well as external factors that influence the system.
• It represents the interaction between the actors.

Steps Required to Draw a Use Case Diagram


It is essential to analyse the whole system before starting with drawing a use case diagram, and
then the system's functionalities are found. And once every single functionality is identified,
they are then transformed into the use cases to be used in the use case diagram.
After that, we will enlist the actors that will interact with the system. The actors are the person
or a thing that invokes the functionality of a system. It may be a system or a private entity, such
that it requires an entity to be pertinent to the functionalities of the system to which it is going
to interact.
Once both the actors and use cases are enlisted, the relation between the actor and use case/
system is inspected. It identifies the no of times an actor communicates with the system.
Basically, an actor can interact multiple times with a use case or system at a particular instance
of time.
Following are some rules that must be followed while drawing a use case diagram:
• A pertinent and meaningful name should be assigned to the actor or a use case of a
system.
• The communication of an actor with a use case must be defined in an understandable
way.
• Specified notations to be used as and when required.
• The most significant interactions should be represented among the multiple no of
interactions between the use case and actors.
Important tips for drawing a Use Case diagram
Following are some important tips that are to be kept in mind while drawing a use case diagram:
• A simple and complete use case diagram should be articulated.
• A use case diagram should represent the most significant interaction among the multiple
interactions.
• At least one module of a system should be represented by the use case diagram.
• If the use case diagram is large and more complex, then it should be drawn more
generalized.

Login :- User will have to Login in the application if his/her account already exist.

SignUp : - If the user is new then he needs to signup.


Order Food :- User will order the food after selecting from the menu.

Receive Order:- Restaurant worker will accept the order and if the selected food item is available.

Prepare Food:- Restaurant workers will start preparing the food.

Pack Food:- Restaurant worker will pack the food after preparing it.

Pickup Order:- The delivery guy will pickup the order to deliver it.

Deliver order:- Then at the last, the delivery guy will deliver the order.

You might also like