SEPM
SEPM
2022-2023
LIST OF EXPERIMENT
S.N NAME OF PA DATE OF DATE OF SIGN/REMAR
o. EXPERIME GE EXPERIME SUBMISSIO K
NT No. NT N
1. Study and compare the
SDLC models.
2. Prepare a SRS
document in line with
the IEEE
recommended
standards.
3. Study requirement
engineering of project.
4. Study the UML drawing
tools.
5. Draw the entity
relationship[ diagram of
a project
6. Draw the data flow
diagram at level 0 and
level 1.
7. Draw use case
diagram in star
UML.
8. Draw activity diagram in
star UML.
9. Draw class diagram
in star UML.
10. Draw component
diagram in star UML.
Experiment 1
3. Solution:
Q. Difference between Waterfall Model and Agile Model?
Difficult to make changes once Changes can be made at any time during
Changes development starts the development process
Timeframe Longer timeframes with a fixed end date Shorter timeframes with frequent releases
Changes are difficult to implement once Changes can be easily implemented due
Change Management a phase is completed to the iterative nature of the process
Quality control is done at the end of each Quality control is done continuously
Quality Control phase throughout the development process
Highly flexible, with the ability to adapt to Moderately flexible, with the ability to
Flexibility changes as the project progresses incorporate changes in subsequent iterations
Customer Customer feedback is sought after each Customer involvement is high throughout
Involvement iteration the development process
Teams are structured around individual Teams are cross-functional and work
modules, with each team working collaboratively throughout the development
Team Structure independently process
Requirements are gathered upfront and Requirements are gathered and refined
Requirements prioritized by module throughout the development process
The Prototype Model and Rapid Application Development (RAD) Model are two popular
software development methodologies that share some similarities but also have distinct
differences.
The Prototype Model focuses on creating a working prototype of the software early on in the
development process. This prototype is then tested and refined until it meets the needs of the
customer. This process allows for early feedback and can help identify potential issues before
they become bigger problems. The focus of this model is on ensuring that the end product
meets the requirements of the customer. In contrast, the RAD model focuses on speed and
efficiency, with the aim of delivering a working product in a short timeframe. The model
achieves this by breaking down the development process into smaller, more manageable
components, which are then developed and tested in parallel. The focus is on delivering
a
functional product quickly, rather than on ensuring that the end product meets all of the
customer's requirements.
In terms of flexibility, the Prototype Model is highly flexible as it allows for changes to be
made throughout the development process based on feedback from the customer. In contrast,
the RAD model is less flexible, as it is designed to deliver a product quickly within a fixed
timeframe.
Customer involvement is also different between the two models. In the Prototype Model,
customer involvement is high throughout the development process, as feedback is required to
refine the prototype. In contrast, customer involvement in the RAD model is limited, as the
focus is on delivering a product quickly.
The testing approach is also different between the two models. In the Prototype Model,
testing is done throughout the development process, with each iteration being thoroughly
tested before moving on to the next iteration. In contrast, testing in the RAD model is done at
the end of each component, with each component being tested and integrated into the system
as it is completed.
In conclusion, while the Prototype Model and RAD Model share some similarities, they have
distinct differences in terms of their approach, flexibility, customer involvement, testing, and
documentation requirements. Choosing between the two models depends on the specific
needs of the project, including the timeframe, level of customer involvement, and emphasis
on delivering a functional product versus ensuring that the end product meets all of the
customer's requirements.
EXPERIMENT 2
1. Title: Prepare a SRS document in line with the IEEE recommended standards.
3. Solution:
Software Requirements
Specification
for
Prepared by
Saiyam Kumawat
3 March 2023
Table of Contents
Table of Contents......................................................................................................................7
Revision History........................................................................................................................7
1. Introduction...........................................................................Error! Bookmark not defined.
1.1 Purpose..........................................................................Error! Bookmark not defined.
1.2 Document Conventions.................................................Error! Bookmark not defined.
1.3 Intended Audience and Reading Suggestions...............Error! Bookmark not defined.
1.4 Product Scope...............................................................Error! Bookmark not defined.
1.5 References.....................................................................Error! Bookmark not defined.
2. Overall Description...............................................................Error! Bookmark not defined.
2.1 Product Perspective.......................................................Error! Bookmark not defined.
2.2 Product Functions.........................................................Error! Bookmark not defined.
2.3 User Classes and Characteristics...................................Error! Bookmark not defined.
2.4 Operating Environment.................................................Error! Bookmark not defined.
2.5 Design and Implementation Constraints.......................Error! Bookmark not defined.
2.6 User Documentation.....................................................Error! Bookmark not defined.
2.7 Assumptions and Dependencies...................................Error! Bookmark not defined.
3. External Interface Requirements........................................Error! Bookmark not defined.
3.1 User Interfaces..............................................................Error! Bookmark not defined.
3.2 Hardware Interfaces......................................................Error! Bookmark not defined.
3.3 Software Interfaces.......................................................Error! Bookmark not defined.
3.4 Communications Interfaces..........................................Error! Bookmark not defined.
4. Functionl Requirement.........................................................Error! Bookmark not defined.
4.1 User Registartion..........................................................Error! Bookmark not defined.
4.2 ProductListing and management...................................Error! Bookmark not defined.
4.3 Login and RetrievePassword........................................Error! Bookmark not defined.
4.4 Payment processing......................................................Error! Bookmark not defined.
4.5 Shipping and Delivering management..........................Error! Bookmark not defined.
4.6 Monitoring Report........................................................Error! Bookmark not defined.
5. Other Nonfunctional Requirements....................................Error! Bookmark not defined.
5.1 Performance Requirements...........................................Error! Bookmark not defined.
5.2 Safety Requirements.....................................................Error! Bookmark not defined.
5.3 Security Requirements..................................................Error! Bookmark not defined.
5.4 Software Quality Attributes..........................................Error! Bookmark not defined.
5.5 Business Rules..............................................................Error! Bookmark not defined.
6. Other Requirements.............................................................Error! Bookmark not defined.
Appendix A: Glossary................................................................Error! Bookmark not defined.
Appendix B: Analysis Models....................................................Error! Bookmark not defined.
Appendix C: To Be Determined List.........................................Error! Bookmark not defined.
7. Conclusion
Introduction:
1.1 Purpose:
This Software Requirements Specification (SRS) document is for the Online Food Ordering Services
project, revision/release number 1.0. Defining and describing the functions and specifications of the Online
Food Ordering System (OFO) is the primary goal of this Software Requirements Specification (SRS). This
Software Requirements Specification illustrates, in clearterms, the system’s primary functionality is collected
from general people and specified by our customer requirements.
1.5 References:
This SRS refers to the following documents and web addresses:
User interface style guides
Contracts
Standards
System requirements specifications
Use case documents
1. OVERALL DESCRIPTION
OFO is an online food ordering and selling website which supports a number of functions for both the
customer and admin. The website must be available to anyone using a computer or a smart phone with
internet connection.
The purpose of this document is to describe all the requirements for the targeted project the Online Food
Ordering System (OFO) for all the restaurant and hotels. The intended audience includes all stakeholders
in the potential system.
Administrator
In the OFO the major and sensitive role is played by the admin, to illustrate, he willdefine the food items,
whit quantity, price, data entry of the food item and controlthe users and customers.
Customer
Customer are the only users who have chance to add food items in to the cart as aninput on OFO system.
Customer can only see his/her massages and order details on his/her dashboard Here, s/he will have the
option of seeing full Order or cart information sheet.
User
21100BTCSE09952 11 Saiyam Kumawat
BTCS402 Software Engineering and Project Management
In the OFO the users only use the system and can browse all the items but cannot make order or add to cart
without login. They will give their basic information untilthe system is approved the correctness of their
information and freeze it.
On-line help: a searchable help system that provides assistance on specific features
and functions of the software.
Any changes to these assumptions or dependencies may impact the project's timeline, budget,
or functionality and will be communicated to the project stakeholders in a timely
Functional Requirements
Before identification of the requirements we needed the comprehensive engagement and lighting
quick coordination with the stakeholders. So, the listed requirements go with all the previous processes
Feature Description: This feature enables users to register an account with the system by providing
their personal details and creating login credentials. It includes secure authentication mechanisms,
such as username/password authentication or two-factor authentication, to ensure the security of user
accounts.
Here, the requirements are based on the task of login system and password retrievalby the users including
teachers, students and coordinators. While login match the username with user type.
The system should implement secure authentication mechanisms to ensure that only authorized users
can access the system. The system should have measures in place to prevent data breaches and
ensure data privacy. The system should comply with all relevant security regulations and standards.
1.15 Software Quality Attributes
The system should be highly reliable and available, with an uptime of at least 99%. The system
should be easy to use and provide a user-friendly interface. The system should be easy to maintain
and should allow for easy integration with other systems. The system should be scalable to
accommodate future growth.
2. Other Requirements
2.1 Database Requirements:
- Specify the required database management system (e.g., MySQL, PostgreSQL).
- Define data storage and retrieval requirements.
Appendix A: Glossary
User Interface (UI): The visual and interactive part of the software that allows users to interact with
the system.
API: Application Programming Interface, a set of rules and protocols that allows different software
applications to communicate with each other.
MySQL: An open-source relational database management system.
HTML: Hypertext Markup Language, a standard markup language used for creating web pages.
CSS: Cascading Style Sheets, a style sheet language used for describing the presentation of a
document written in HTML.
JavaScript: A programming language that adds interactivity and dynamic elements to websites.
HTTP: Hypertext Transfer Protocol, an application protocol for transmitting hypermedia documents,
such as HTML.
SMTP: Simple Mail Transfer Protocol, a standard protocol for sending emails.
SSL: Secure Sockets Layer, a cryptographic protocol that provides secure communication over the
internet.
TLS: Transport Layer Security, a successor to SSL that provides secure communication over the
internet.
Microsoft SQL Server: A relational database management system developed by Microsoft.
Conclusion
This OFO will help all the restaurant to achieve more customer to serve their foodusing online. Many
customers can order easily using computer and internet. So, I believe, this system will help us for future
evolution of food industry. Any food industry can hire delivery boy and I will create new job for them.
Which is most dangerous problem in our country. Many jobs less people will get the job in this system that
will increase our GDP.
3.1 Quiz
1. Which of the following is NOT a key feature of an online Food Ordering system?
a. User registration
b. Item listing
c. Inventory management
d. Bidding and Food Ordering management
→ c. Inventory management
2. Who are the main stakeholders involved in an online Food Ordering system?
a. Sellers and buyers only
b. Sellers, buyers, and administrators only
c. Sellers, buyers, administrators, and Food Orderingeers
d. Sellers, buyers, administrators, Food Orderingeers, and developers
→ c. Sellers, buyers, administrators, and Food Orderingeers
3. How can security and authentication be ensured in an online Food Ordering system? a.
Through secure user authentication mechanisms
b. By implementing bid increments
c. By enabling item categorization
d. Through payment processing integration
→ Through secure user authentication mechanisms
4. Which measure helps ensure scalability and performance in an online Food Ordering system?
a. Load balancing and caching
b. User registration and authentication
c. Payment processing integration
d. Item categorization and management
→ a. Load balancing and caching
Q Explain the purpose of an online Food Ordering system and its key features.
→ The purpose of an online Food Ordering system is to provide a platform where users
can buyand sell items through an Food Ordering process conducted online. Key
features typically include user registration, item listing, bidding, Food Ordering
management, payment processing, and dispute resolution.
Q Describe the functional requirements that should be included in the SRS for an online
Food Ordering system.
→ Functional requirements in the SRS for an online Food Ordering system would
include user registration, item listing, bidding, Food Ordering management, payment
processing, accountmanagement, and reporting.
Q How would you handle security and authentication in the online Food Ordering system?
→ Security and authentication in the online Food Ordering system can be implemented
through secure user authentication mechanisms such as username/password, two-
factor authentication, and encryption. Additionally, measures like HTTPS encryption,
21100BTCSE09952 17 Saiyam Kumawat
BTCS402 Software Engineering and Project Management
EXPERIMENT 3
1. Title: Study Requirement Engineering of project
3. Solution:
Requirement Engineering is a crucial part of the software development life cycle (SDLC). It
is the process of gathering, analysing, documenting, and verifying the requirements of a
software system. The goal of Requirement Engineering is to ensure that the software system
being developed meets the needs and expectations of the stakeholders.
Requirement Engineering process. This helps ensure that the requirements are
comprehensive, accurate, and representative of the stakeholders' needs.
3. Clearly define the scope of the project: It is essential to define the scope of the
project and communicate it to all stakeholders. This helps ensure that all
stakeholders have a clear understanding of what the project will deliver and what it
will not.
4.1 Quiz
1. Which of the following is not a primary goal of requirement engineering?
a) Understanding user needs
b) Documenting software requirements
c) Managing project schedule
d) Ensuring requirements are clear and
complete Answer: c) Managing project schedule
Answer: Requirement elicitation is crucial because it involves gathering information about user
needs and system constraints. It helps in identifying and understanding thesoftware requirements,
ensuring that they are accurately captured and documented.
Effective requirement elicitation ensures that the final software product meets theexpectations and
goals of the stakeholders.
4. How does requirement validation ensure the quality of the software requirements?
Answer: Requirement validation is a process of reviewing, analyzing, and evaluating the requirements
to ensure their quality and accuracy. It helps in identifying and resolving any inconsistencies,
ambiguities, or gaps in the requirements. By validatingthe requirements, potential issues and
misunderstandings are discovered early, reducing the likelihood of costly errors during development.
This process ensures thatthe requirements are complete, consistent, feasible, and align with the
stakeholders' expectations.
EXPERIMENT 4
3. SOLUTION:
3.1 INTRODUCTION
One of the most popular languages that is used to represent software design is the UML. The
Unified Modelling Language (UML) is used to spell out, visualize, modify, construct and
document the artifacts of an object-oriented software system that is under development.
Those who want work on software design they have to know the importance of UML. It is by
far the standardized general-purpose modelling language in the field of software engineering.
UML combines the best practice from data modelling concepts such as entity relationship
diagrams, business modelling (work flow), object modelling and component modelling. It can
be used with all processes, throughout the software development life cycle, and across
different implementation technologies.
version 1.4 and provides UML version 2.0 notations and eleven different types of diagram. It
actively supports the MDA (Model Driven Architecture) approach by supporting the UML
profile concept. It provides maximize the productivity and quality because of generating
numerous results automatically from it. Use of Star UML help to easily and quickly design
exact software models which is based on UML standard. The goal of the Star UML project is
to build software modelling tool and also platform that is a compelling replacement of
commercial UML tools such as Rational Rose, Together and so on. Star UML boasts a
complete set of UML modelling features.
Approach: Approach defines the model of the project and basic organization of the
diagrams.
UML Profile & Notation Extension: UML Profile allows extension of expression for the
software model through the extension mechanism of UML.
Model Framework: Model Framework makes software models reusable and allows them to
be used when defining other software models.
Add-In COM Object: Add-In COM allows addition of new functionality to Star UML.
Menu Extension: The Star UML application menu (main menu and pop-up menu) can be
added by the user.
Option Extension: The Star UML option items can be added by the user.
Event Subscription: Various events occurring in Star UML can be subscribed to.
External API: The external API from Star UML allows access to various functionalities and
information. Details on API are discussed throughout this developer guide, and the example
included in Star UML installation 'STAR UML Application Model. UML provides a good
illustration.
and supports design patterns. These Add-Ins offer additional reusability, productivity,
flexibility and interoperability for the modelling information.
System Requirement: The following are the minimum system requirements for running Star
UML. Intel(R) Pentium(R) 233MHz or higher, Windows(R) 2000, Windows XP, or higher
Microsoft(R) Internet Explorer 5.0 or higher , 128 MB RAM (256MB recommended) , 110
MB hard disc space (150MB space recommended) , CD-ROM drive , SVGA or higher
resolution monitors (1024x768 recommended) , Mouse or other pointing device [8].
As basic comparison to other open source UML tool like agro UML with Star UML have
some limitation are as follows
Not fully supports UML 2.0.
Can’t Undo! Developers of Star UML must be so optimistic that people
(especially Software Developers) never do mistakes.
Written in Java, so run comparatively slower than Star UML.
Lack of formatting options.
3.7 CONCLUSION
In this paper we have described some of the cognitive features of Star UML and key parts of
the system’s design. These features are inspired by published theories of human cognition
during design tasks. We have discussed the Key features, pros and cons of Star UML. After
this study on Star UML modelling tool and basic comparison to some other open source tools
like Agro UML it looks much better than others. So we recommend Star UML for any
developer for modelling of software models and prepare the document.
4.2Viva Questions
3. How does StarUML support modelling and design activities in software developmentprojects?
→ StarUML provides a graphical interface where developers can create and edit varioustypes of
diagrams, such as class diagrams, activity diagrams, and use case diagrams. These diagrams help
model and visualize the structure, behaviour, and relationships of the software components, aiding in
the analysis, design, and documentation of the system.
EXPERIMENT 5
1. Title: Draw the Entity relationship diagram of a project.
3. Solution:
The ER diagram uses various symbols and notation to represent the cardinality
(the number of instances involved in a relationship), the degree (the number of
entities involved in a relationship), and the nature of the relationship (such as one-
to-one, one-to-many, or many-to-many).
2. Which of the following relationship types would be appropriate for the relationshipbetween a
user and the orders?
a. One-to-One
b. One-to-Many
c. Many-to-One
d. Many-to-Many
→ b. One-to-Many
4. Which entity would typically be associated with the feedback or ratings provided byusers in
an Online Food Ordering System?
a. User
b. Bid
c. Item
d. Feedback
→ d. Feedback
4.2Viva Questions
1. What is an Entity Diagram, and what is its purpose in the context of an Online
Food Ordering System?
→ An Entity Diagram, also known as an Entity-Relationship Diagram (ERD), is a visualrepresentation
of the entities (objects or concepts) and their relationships within a system. The ERD, or ER Diagram,
for Online Food Ordering System shows the system entity relationships in each entity and their
supposed functions in each relationship.
User
Site Information
Payment
Order
Order Details
Customer
Rating
Menu
Menu Type
4. What are the advantages of using an Entity Diagram in the design of an OnlineFood
Ordering System?
→ The advantages of using an Entity Diagram in the design of an Online Food Ordering System
include:
Visual representation: It provides a clear and visual overview of the
system'sdata model and relationships.
Clarity and understanding: It helps stakeholders understand the structure
and organization of data within the system.
Relationship identification: It allows for the identification of key
relationships between entities, aiding in the overall system design.
Database design: It serves as a foundation for designing the database schemaand
creating database tables based on the identified entities and relationships.
EXPERIMENT 6
2. Objective: The objective of drawing data flow diagrams (DFDs) at level 0 and level 1
is to provide a clear and concise representation of the flow of data within a system or
process. At level 0, the diagram presents an overview of the system's major processes,
external entities, and the high-level data flows between them. At level 1, the diagram
delves deeper into each major process, breaking it down into subprocesses, data
stores, and detailed data flows. The purpose is to understand the inputs, outputs, and
transformations of data, identify potential bottlenecks or inefficiencies, and aid in the
analysis, design, and improvement of the system or process.
3. Solution:
In a DFD, data flows are represented by arrows, processes are depicted as circles
or rectangles, data stores are shown as rectangles with two parallel lines, and
external entities (sources or destinations of data) are illustrated as rectangles with
rounded corners. The primary focus of a DFD is on the movement of data rather
than the specific implementation details.
a. By circles
b. By squares
c. By arrows
d. By triangles
→ b. By squares
1. What is a Data Flow Diagram, and what is its purpose in the context of an
Online Foo System?
→ A Data Flow Diagram is a graphical representation of the flow of data within a system.
In the context of an Online Food Ordering System, the DFD helps to illustrate
how datamoves between different components, processes, and external entities
within the system.
4. What is the significance of data stores in a Data Flow Diagram for an Online
Food OrderingSystem?
→ Data stores represent repositories where data is stored within the system. In an Online
Food Ordering System, data stores could include databases, files, or other storage
mechanisms. Data stores help to maintain data persistence and enable data sharing
between processes within the system.
5. How does a Data Flow Diagram aid in understanding the flow of data in an
Online Food Ordering System?
→ A Data Flow Diagram visually illustrates the flow of data between various components
of the system. It helps in understanding how data enters the system through external
entities, how it is processed and transformed by different processes, and how it is
stored or transmitted to other components. The DFD provides a clear representation of
the data flow, helping customers to analyse, optimize, and communicate the data
movement within the Online Food Ordering System.
21100BTCSE09952 38 Saiyam Kumawat
BTCS402 Software Engineering and Project Management
EXPERIMENT 7
1. Title: Draw use case diagram in StarUML.
3. Solution:
4. What does the association line between an actor and a use case indicate?
a. Data flow between them
b. Dependency between them
c. Communication between them
d. Relationship between them
→ d. Relationship between them
4.2Viva Questions
1. What is a Use Case Diagram, and what is its purpose in the context of an
Online Food Ordering System?
→ A Use Case Diagram is a graphical representation that depicts the interactions between
actors (users or external systems) and the system under consideration. In the context
of an Online Food Ordering System, the Use Case Diagram helps to illustrate the
different functionalities and interactions between users and the system.
→ The main components of a Use Case Diagram include actors, use cases, and the relationships
between them. Actors represent the different types of users or external systems interacting with the
system. Use cases represent the specific functionalities oractions that the system provides to the
actors. Relationships, such as associations or dependencies, connect actors with use cases.
3. How are actors represented in a Use Case Diagram for an Online Food Ordering System?
→ Actors in a Use Case Diagram are typically represented by stick figures or icons. Each actor
represents a type of user or external system that interacts with the Online Food OrderingSystem, such
as "Customer” or "Administrator."
4. How do relationships between actors and use cases help in understanding the systembehaviour?
→ Relationships between actors and use cases in a Use Case Diagram depict how actors interact with
and participate in the system's functionalities. For example, associations show that an actor is
involved in a specific use case, while dependencies represent thata use case relies on another use case
or actor. These relationships help in understanding the system's behaviour by clarifying the roles of
actors and the functionalities they can access within the Online Food Ordering System.
EXPERIMENT 8
3. Solution:
4.1 Quiz
→ The main components of an Activity Diagram include activities, actions, decision points, and
control flows. Activities represent the tasks or steps performed in the system, actions represent
individual actions or operations, decision points representbranching or decision-making points, and
control flows depict the flow of activitiesbetween different components.
3. How are activities and actions represented in an Activity Diagram for an OnlineFood
Ordering System?
→ Activities in an Activity Diagram are represented by rounded rectangles, and actions are
represented by rectangles with rounded corners. Each activity represents a task orprocess that occurs
within the Online Food Ordering System, such as "Register User" or "Place Order," while actions
represent specific actions or operations within those activities.
5. How does an Activity Diagram help in understanding the workflow and behaviour ofan
Online Food Ordering System?
→ An Activity Diagram visually depicts the flow of activities and actions within the system. It helps
in understanding the workflow and behaviour of the Online Food Ordering System by illustrating the
sequential or parallel execution of tasks, decision points thatdetermine different paths, and the overall
flow of control and data between activities. The Activity Diagram provides a clear representation of
the system's behaviour, in analysing, optimizing, and communicating the workflow of the Online
Food Ordering System.
EXPERIMENT 9
2. Objective: The objective of drawing a class diagram is to represent the structure and
relationships of classes in a system, including attributes, methods, and associations. It
provides a visual understanding of class relationships and aids in system design and
architecture.
3. Solution:
Class diagrams help in understanding the structure of a system and its key
components. They provide a high-level overview of the classes involved and their
relationships, including inheritance (generalization and specialization),
associations (aggregation and composition), dependencies, and constraints.
Object-oriented modelling.
1. What is a Class Diagram, and what is its purpose in the context of an Online
Food OrderingSystem?
→ A Class Diagram is a visual representation that depicts the structure of a system by
showing classes, their attributes, methods, and relationships. In the context of an
Online Food Ordering System, the Class Diagram helps to illustrate the different
classes, their properties, and the associations between them.
→ The main components of a Class Diagram include classes, attributes, methods, and relationships.
Classes represent the blueprint or template for objects, attributes represent the properties or
characteristics of classes, methods represent the behaviouror actions that classes can perform, and
relationships represent the associations or connections between classes.
3. How are classes represented in a Class Diagram for an Online Food Ordering System?
→ Classes in a Class Diagram are typically represented by rectangles with three sections:the top
section contains the class name, the middle section contains the attributes, and the bottom section
contains the methods.
5. How does a Class Diagram aid in understanding the structure and relationships ofclasses
in an Online Food Ordering System?
→ A Class Diagram visually illustrates the structure of classes, their attributes, methods, and
relationships. It helps in understanding how classes are organized, what propertiesand behaviors they
possess, and how they are associated with one another. The Class Diagram provides a clear
representation of the class structure and relationships, in analysing, designing, and communicating
the structure of the Online Food Ordering System.
EXPERIMENT 10
3. Solution:
Component diagrams are valuable tools for software designers, developers, and
stakeholders involved in the development process. They aid in communication,
collaboration, and decision-making by providing a clear and concise
representation of the system's structure and relationships between its components.
3.2 Advantages of Component Diagram.
System understanding.
Modularity.
Collaboration and communication.
Reusability and maintainability.
Scalability and flexibility.
Testability.
3.3 Components of Component Diagram.
3.5 Quiz
1. In a Component Diagram, what does a component represent?
a. Objects in the system
b. Classes in the system
c. Modules or units of the system
d. Interactions between system elements
→ c. Modules or units of the system
EXPERIMENT 11
3. Solution:
Sequence diagrams are widely used during the design and analysis phases of
software development to capture and describe the interactions among different
parts of a system. They help in identifying the objects involved, their roles and
responsibilities, and the specific messages they exchange. By providing a
visual representation of these interactions, sequence diagrams facilitate the
detection of potential design flaws, bottlenecks, or miscommunications,
enabling developers to refine and optimize the system's behaviour.
actions and communication between different components or actors during a specificscenario or use
case.
3. How are lifelines represented in a Sequence Diagram for an Online Food Ordering System?
→ Lifelines in a Sequence Diagram are typically represented by vertical lines or boxes with the name
of the object or actor at the top. Each lifeline represents a participant oractor involved in the scenario,
such as a user, an item, or the Food Ordering system itself.
5. How does a Sequence Diagram aid in understanding the dynamic behaviour of anOnline
Food Ordering System?
→ A Sequence Diagram visually depicts the order and flow of messages exchanged between lifelines
or objects. It helps in understanding the dynamic behaviour of the Online Food Ordering System by
illustrating how different components or actors interact andcommunicate during a specific scenario.
The Sequence Diagram provides a clear representation of the sequence of actions, the involvement of
different objects, and theflow of control during the execution of a use case or scenario.
EXPERIMENT 12
3. Solution:
The main components of a collaboration diagram are objects and the messages
exchanged between them. Objects are represented as rectangles, with the name
of the object written inside. The messages exchanged between objects are
depicted as labelled arrows, indicating the direction of communication.