Software Engineering Lab File - A
Software Engineering Lab File - A
Software Engineering Lab File - A
FOR
ACADEMIC YEAR 2023-2024
(BIET JHANSI)-284128
Procedure:
Step 1:
1. Introduction
Identify the product whose software requirements are specified in this document,
including the revision or release number. Describe the scope of the product that is
covered by this SRS, particularly if this SRS describes only part of the system or a single
subsystem.
Provide a short description of the software being specified and its purpose, including
relevant benefits, objectives, and goals. Relate the software to corporate goals or
business strategies. If a separate vision and scope document is available. Refer to it
rather than duplicating its contents here.
Step2:
1. Product Perspective
Describe the content and origin of the product being specified in
this SRS. Forexample, state whether this product is a follow-on member of a
product family, areplacement for certain existing systems, or a new, self-contained
product.
Features
Summarize the major features the product contains or the significant functions that
itperforms or lets the user perform. Only a high level summary is needed
here.Organize the functions to make them understandable to any reader of the SRS.
User Classes and Characteristics
Identify the various user classes that you anticipate will use this product. User
classesmay be differentiated based on frequency of use, subset of product functions
used,technical expertise, security or privilege levels, educational level, or
experience.Describe the pertinent characteristics of each user class.
Operating Environment
Describe the environment in which the software will operate, including the
hardwareplatform, operating system and versions, and any other software
components orapplications with which it must peacefully coexist.
Step 3:
1. System Features
This template illustrates organizing the functional requirements for the product by system
features, the major services provided by the product. You may prefer to
organize this section by use case, mode of operation, user class, object class,
functional hierarchy, or combinations of these, whether makes the most logical sense for
your product.
Step 4:
1. External Interface Requirements
2. Nonfunctional Requirements
This activity diagram shows responsibilities of different roles and flow or sequence of document
changes. Alternative type of diagram - state machine diagram - could also be used in this case to
show how document changes its state over time.
Note, that the Document object is not the only object node shown on this activity diagram. There
is also another object - Change Request, an object which is used to pass changes to the document
requested by Reviewer. State diagram for the Document will only show the document states and
transitions, so activity diagram is useful when different roles and several object nodes are involved
Lab 4 : Draw Class Diagram Library Management System.
Sequence Diagram
The sequence diagram represents the flow of messages in the system and is also termed
as an event diagram. It helps in envisioning several dynamic scenarios. It portrays the
communication between any two lifelines as a time-ordered sequence of events, such
that these lifelines took part at the run time. In UML, the lifeline is represented by a
vertical bar, whereas the message flow is represented by a vertical dotted line that
extends across the bottom of the page. It incorporates the iterations as well as branching.
Actor
A role played by an entity that interacts with the subject is called as an actor. It is out of
the scope of the system. It represents the role, which involves human users and external
hardware or subjects. An actor may or may not represent a physical entity, but it purely
depicts the role of an entity. Several distinct roles can be played by an actor or vice
versa.
Activation
It is represented by a thin rectangle on the lifeline. It describes that time period in which
an operation is performed by an element, such that the top and the bottom of the
rectangle is associated with the initiation and the completion time, each respectively.
Messages
The messages depict the interaction between the objects and are represented by arrows.
They are in the sequential order on the lifeline. The core of the sequence diagram is
formed by messages and lifelines.
Sequence Fragments
1. Sequence fragments have been introduced by UML 2.0, which makes it quite
easy for the creation and maintenance of an accurate sequence diagram.
2. It is represented by a box called a combined fragment, encloses a part of
interaction inside a sequence diagram.
3. The type of fragment is shown by a fragment operator.
Types of fragments
Following are the types of fragments enlisted below;
alt Alternative multiple fragments: The only fragment for which the condition
is true, will execute.
opt Optional: If the supplied condition is true, only then the fragments will
execute. It is similar to alt with only one trace.
loop Loop: Fragments are run multiple times, and the basis of interaction is
shown by the guard.
region Critical region: Only one thread can execute a fragment at once.
Any online customer can search for a book catalog, view a description of a particular
book, add a book to its shopping cart, and do checkout.
Draw
Lab 7: Draw State chart diagram for online library
Statechart diagram is one of the five UML diagrams used to model the dynamic nature
of a system. They define different states of an object during its lifetime and these states
are changed by events. Statechart diagrams are useful to model the reactive systems.
Reactive systems can be defined as a system that responds to external or internal events.
Statechart diagram describes the flow of control from one state to another state. States
are defined as a condition in which an object exists and it changes when some event is
triggered. The most important purpose of Statechart diagram is to model lifetime of an
object from creation to termination.
Statechart diagrams are also used for forward and reverse engineering of a system.
However, the main purpose is to model the reactive system.
Following are the main purposes of using Statechart diagrams −
• To model the dynamic aspect of a system.
• To model the life time of a reactive system.
• To describe different states of an object during its life time.
• Define a state machine to model the states of an object.
Lab 87: Draw the component diagram
The lollipop, a small circle on a stick, represents an implemented or provided interface. The
socket symbol is a semicircle on a stick that can fit around the lollipop. This socket is a
dependency or needed interface. The component diagram notation set now makes it one of
the easiest UML diagrams to draw. Figure 1 shows a simple component diagram using the
former UML 1.4 notation; the example shows a relationship between two components: an
Order System component that uses the Inventory System component. As you can see, a
component in UML 1.4 was drawn as a rectangle with two smaller rectangles obtruding
from its left side. Conclusion: The Component diagram was made successfully by following
the steps described above. Output: Component diagram for Library Management System:
Lab 9 : Draw the deployment diagram of traffic control
system
A deployment diagram is a UML diagram type that shows the execution
architecture of a system, including nodes such as hardware or software
execution environments, and the middleware connecting them.
Nodes
Communication Association
This is represented by a solid line between two nodes. It shows the path of
communication between nodes.
Devices