Software Engineering UNIT1
Software Engineering UNIT1
Course Outcome
CO
Title Level
Number
32
University Institute of Engineering
DEPARTMENT OF COMPUTER SCIENCE &
ENGINEERING
Subject Name: Software Engineering
Subject Code: 23CST-206
Course Outcome
CO
Title Level
Number
Waterfall model
Prototype model
Evolutionary model
Spiral model
Reference Website
1. https://www.javatpoint.com/software-engineering-sdlc-models
Course Outcome
CO
Title Level
Number
• V Model
Fig 1 V Model
• Module Design: In this phase the system breaks down into small
modules. The detailed design of modules is specified, also known as
Low-Level Design (LLD).
Course Outcome
CO
Title Level
Number
Define principles and working of software process
CO1 Understand
models.
• Requirement gathering
• Analysis Principles
• Software Prototyping
09/12/24 Er. Jagmeet Kaur, Asst. Prof., CSE, Chandigarh University 119
Introduction to Software Engineering
Course Outcome
CO
Title Level
Number
Prepare SRS and software process metrics for a given
CO3 Analyse
requirement.
• SRS document
121
SOFTWARE REQUIREMENT SPECIFICATION
• Main aim of requirements specification:
• Systematically organize the requirements arrived during requirements
analysis.
• Document requirements properly.
122
SRS DOCUMENT
• The SRS document is known as black-box specification:
• The system is considered as a black box whose internal details are not known.
• Only its visible external (i.e. input/output) behaviour is documented.
• SRS document concentrates on:
• What needs to be done
• Carefully avoids the solution (“how to do”) aspects.
• The SRS document serves as a contract
• Between development team and the customer.
• Should be carefully written
123
SRS Document
• A software requirements specification (SRS) is a document that
captures complete description about how the system is expected to
perform. It is usually signed off at the end of requirements engineering
phase.
• A software requirements specification (SRS) is a detailed
description of a software system to be developed with its functional
and non-functional requirements.
• The SRS is developed based the agreement between customer and
contractors.
124
SRS Document
• It may include the use cases of how user is going to interact with
software system.
• The software requirement specification document consistent of all
necessary requirements required for project development.
• To develop the software system we should have clear understanding
of Software system.
• To achieve this we need to continuous communication with customers
to gather all requirements.
125
SRS Document
• A good SRS defines the how Software System will interact with all
internal modules, hardware, communication with other programs and
human user interactions with wide range of real life scenarios.
• Using the Software requirements specification (SRS) document on
QA lead, managers creates test plan.
• It is very important that testers must be cleared with every detail
specified in this document in order to avoid faults in test cases and its
expected results.
126
Qualities of SRS
• Correctness of SRS should be checked : Since the whole testing phase
is dependent on SRS, it is very important to check its correctness.
There are some standards with which we can compare and verify.
• Ambiguity should be avoided. Sometimes in SRS, some words have
more than one meaning and this might confused testers making it
difficult to get the exact reference. It is advisable to check for such
ambiguous words and make the meaning clear for better
understanding.
127
Qualities of SRS
• Requirements should be complete. When tester writes test cases,
what exactly is required from the application, is the first thing which
needs to be clear. For e.g. if application needs to send the specific data
of some specific size then it should be clearly mentioned in SRS that
how much data and what is the size limit to send.
• Consistent requirements.The SRS should be consistent within itself
and consistent to its reference documents. If you call an input “Start
and Stop” in one place, don’t call it “Start/Stop” in another. This sets
the standard and should be followed throughout the testing phase.
128
Qualities of SRS
• Verification of expected result: SRS should not have statements like
“Work as expected”, it should be clearly stated that what is expected
since different testers would have different thinking aspects and may
draw different results from this statement.
• Testing environment: some applications need specific conditions to
test and also a particular environment for accurate result. SRS should
have clear documentation on what type of environment is needed to
set up.
129
Qualities of SRS
• Pre-conditions defined clearly: one of the most important part of test
cases is pre-conditions. If they are not met properly then actual result
will always be different expected result. Verify that in SRS, all the pre-
conditions are mentioned clearly.
• Requirements ID: these are the base of test case template. Based on
requirement Ids, test case ids are written. Also, requirements ids make
it easy to categorize modules so just by looking at them, tester will
know which module to refer. SRS must have them such as id defines a
particular module.
130
Qualities of SRS
• Security and Performance criteria: security is priority when a software is tested
especially when it is built in such a way that it contains some crucial information
when leaked can cause harm to business.
• Assumption should be avoided: sometimes when requirement is not cleared to
tester, he tends to make some assumptions related to it, which is not a right way to
do testing as assumptions would go wrong and hence, test results may vary.
• Deletion of irrelevant requirements: there are more than one team who work on
SRS so it might be possible that some irrelevant requirements are included in SRS.
Based on the understanding of the software, tester can find out which are these
requirements and remove them to avoid confusions and reduce work load.
• Freeze requirements: when an ambiguous or incomplete requirement is sent to
client to analyze and team gets a reply, that requirement result will be updated in
the next SRS version and client will freeze that requirement. Freezing here means
that result will not change again until and unless some major addition or
modification is introduced in the software.
131
Properties of a good SRS document
• Concise: The SRS report should be concise and at the same time,
unambiguous, consistent, and complete. Verbose and irrelevant
descriptions decrease readability and also increase error possibilities.
• Structured: It should be well-structured. A well-structured document
is simple to understand and modify. In practice, the SRS document
undergoes several revisions to cope up with the user requirements.
Often, user requirements evolve over a period of time. Therefore, to
make the modifications to the SRS document easy, it is vital to make
the report well-structured.
132
Properties of a good SRS document
• Black-box view: It should only define what the system should do and
refrain from stating how to do these. This means that the SRS
document should define the external behavior of the system and not
discuss the implementation issues. The SRS report should view the
system to be developed as a black box and should define the externally
visible behavior of the system. For this reason, the SRS report is also
known as the black-box specification of a system.
133
Properties of a good SRS document
• Conceptual integrity: It should show conceptual integrity so that the
reader can merely understand it. Response to undesired events: It
should characterize acceptable responses to unwanted events. These
are called system response to exceptional conditions.
• Verifiable: All requirements of the system, as documented in the SRS
document, should be correct. This means that it should be possible to
decide whether or not requirements have been met in an
implementation.
134
FUNCTIONAL REQUIREMENTS
• Functional requirements describe:
• A set of high-level requirements
• Each high-level requirement:
• takes in some data from the user
• outputs some data to the user
• Each high-level requirement:
• might consist of a set of identifiable functions
• For each high-level requirement:
• Every function is described in terms of:
• Input data set
• Output data set
• Processing required to obtain the output data set from the input data set.
135
NON FUNCTIONAL REQUIREMENTS
• Characteristics of the system which can not be expressed as functions:
• Maintainability,
• Portability,
• Usability, etc.
• Non functional requirements include:
• Reliability issues,
• Performance issues:
• Example: How fast the system can produce results
• so that it does not overload another system to which it supplies data, etc.
• Human-computer interface issues,
• Interface with other external systems,
• Security, maintainability, etc.
136
REFERENCES
Reference Books:
1. Suman Ugrasen, “Software Engineering - Concepts and Practices”, First Edition, Cengage.
2. Mohammad Ali Shaikh, “Software Engineering with UML”, Third Edition, Notion Press.
3. Somerville Ian, “Software Engineering”, Addison Wesley, 8th Edition.
Text Books:
1. Pressman Rogers, “Software Engineering: A Practitioner's Approach”, Sixth edition. Patterson and
Hennessy, “Computer Architecture” , Fifth Edition Morgaon Kauffman.
2. Rajib Mall, “Fundamentals of Software Engineering’’, Fourth Edition, Pearson, PHI.
137
THANK YOU
University Institute of Engineering
DEPARTMENT OF COMPUTER SCIENCE &
ENGINEERING
Subject Name: Software Engineering
Subject Code: 23CST-206
09/12/24 Er. Jagmeet Kaur, Asst. Prof., CSE, Chandigarh University 139
Introduction to Software Engineering
Course Outcome
CO
Title Level
Number
Prepare SRS and software process metrics for a given
CO3 Analyse
requirement.
• Decision tree
• Decision table
• Data Modeling
• Functional Modeling
• Behavioral Modeling
141
FUNCTIONAL REQUIREMENTS
• Functional requirements describe:
• A set of high-level requirements
• Each high-level requirement:
• takes in some data from the user
• outputs some data to the user
• Each high-level requirement:
• might consist of a set of identifiable functions
• For each high-level requirement:
• Every function is described in terms of:
• Input data set
• Output data set
• Processing required to obtain the output data set from the input data set.
142
FUNCTIONAL REQUIREMENTS
• A Functional Requirement is a description of the service that the
software must offer.
• It describes a software system or its component.
• A function is nothing but inputs to the software system, its behavior,
and outputs.
• It can be a calculation, data manipulation, business process, user
interaction, or any other specific functionality which defines what
function a system is likely to perform.
• Functional Requirements are also called Functional Specification.
143
FUNCTIONAL REQUIREMENTS
• In software engineering and systems engineering, a Functional
Requirement can range from the high-level abstract statement of the
sender's necessity to detailed mathematical functional requirement
specifications.
• Functional software requirements help you to capture the intended
behavior of the system.
144
FUNCTIONAL REQUIREMENTS : EXAMPLE
145
Functional requirement should include:
• Details of operations conducted in every screen
• Data handling logic should be entered into the system
• It should have descriptions of system reports or other outputs
• Complete information about the workflows performed by the system
• It should clearly define who will be allowed to create/modify/delete
the data in the system
• How the system will fulfill applicable regulatory and compliance
needs should be captured in the functional document
146
Benefits of Functional Requirement
• Helps you to check whether the application is providing all the
functionalities that were mentioned in the functional requirement of that
application
• A functional requirement document helps you to define the functionality of
a system or one of its subsystems.
• Functional requirements along with requirement analysis help identify
missing requirements. They help clearly define the expected system service
and behavior.
• Errors caught in the Functional requirement gathering stage are the cheapest
to fix.
• Support user goals, tasks, or activities
147
Types of Functional Requirements
• Transaction Handling
• Business Rules
• Certification Requirements
• Reporting Requirements
• Administrative functions
• Authorization levels
• Audit Tracking
• External Interfaces
• Historical Data management
• Legal and Regulatory Requirements
148
NON FUNCTIONAL REQUIREMENTS
• Characteristics of the system which can not be expressed as functions:
• Maintainability,
• Portability,
• Usability, etc.
• Non functional requirements include:
• Reliability issues,
• Performance issues:
• Example: How fast the system can produce results
• so that it does not overload another system to which it supplies data, etc.
• Human-computer interface issues,
• Interface with other external systems,
• Security, maintainability, etc.
149
NON FUNCTIONAL REQUIREMENTS
• NON-FUNCTIONAL REQUIREMENT (NFR) specifies the quality
attribute of a software system.
• They judge the software system based on Responsiveness, Usability,
Security, Portability and other non-functional standards that are critical
to the success of the software system.
• Example of nonfunctional requirement, “how fast does the website
load?”
• Failing to meet non-functional requirements can result in systems that
fail to satisfy user needs.
150
NON FUNCTIONAL REQUIREMENTS
• Non-functional Requirements allows you to impose constraints or
restrictions on the design of the system across the various agile
backlogs.
• Example, the site should load in 3 seconds when the number of
simultaneous users are > 10000.
151
TYPES OF NON-FUNCTIONAL REQUIREMENTS
• Usability requirement
• Serviceability requirement
• Manageability requirement
• Recoverability requirement
• Security requirement
• Data Integrity requirement
• Capacity requirement
• Availability requirement
• Scalability requirement
• Interoperability requirement
• Reliability requirement
• Maintainability requirement
• Regulatory requirement
• Environmental requirement
152
Examples of Non-functional requirements
• Users must change the initially assigned login password immediately after
the first successful login. Moreover, the initial should never be reused.
• Employees never allowed to update their salary information. Such attempt
should be reported to the security administrator.
• Every unsuccessful attempt by a user to access an item of data shall be
recorded on an audit trail.
• A website should be capable enough to handle 20 million users with
affecting its performance
• The software should be portable. So moving from one OS to other OS does
not create any problem.
• Privacy of information, the export of restricted technologies, intellectual
property rights, etc. should be audited.
153
Advantages of Non-Functional Requirement
• The nonfunctional requirements ensure the software system follow
legal and compliance rules.
• They ensure the reliability, availability, and performance of the
software system
• They ensure good user experience and ease of operating the software.
• They help in formulating security policy of the software system.
154
Disadvantages of Non-functional requirement
• None functional requirement may affect the various high-level
software subsystem
• They require special consideration during the software
architecture/high-level design phase which increases costs.
• Their implementation does not usually map to the specific software
sub-system,
• It is tough to modify non-functional once you pass the architecture
phase.
155
Functional Vs Non-Functional requirements
156
Representation of complex processing logic
• Decision trees
• Decision tables
157
Decision Tree
• A decision tree is a map of the possible outcomes of a series of related
choices.
• It allows an individual or organization to weigh possible actions
against one another based on their costs, probabilities, and benefits.
• They can be used either to drive informal discussion or to map out an
algorithm that predicts the best choice mathematically.
• A decision tree typically starts with a single node, which branches into
possible outcomes. Each of those outcomes leads to additional nodes,
which branch off into other possibilities. This gives it a treelike shape.
158
Decision Tree
• There are three different types of nodes: chance nodes, decision nodes,
and end nodes.
• A chance node, represented by a circle, shows the probabilities of
certain results.
• A decision node, represented by a square, shows a decision to be
made, and an end node shows the final outcome of a decision path.
159
Decision Tree Symbols
160
Decision Tree
• A Decision Tree offers a graphic read of the processing logic
concerned in a higher cognitive process and therefore the
corresponding actions are taken.
• The perimeters of a choice tree represent conditions and therefore the
leaf nodes represent the actions to be performed looking on the result
of testing the condition.
161
Example
• For example, consider Library Membership Automation Software (LMS)
where it ought to support the following three options: New member,
Renewal, and Cancel membership. These are explained as following below.
1. New Member Option:
• Decision:
Once the ‘new member’ possibility is chosen, the software system asks
details concerning the member just like the member’s name, address,
number, etc.
• Action:
If correct info is entered then a membership record for the member is made
and a bill is written for the annual membership charge and the protection
deposit collectible.
162
Example
2 Cancel Membership Option:
• Decision:
If the ‘cancel membership’ possibility is chosen, then the software system asks for
member’s name and his membership range.
• Action:
The membership is off, a cheque for the balance quantity because of the member
is written and at last the membership record is deleted from the information.
3 Renewal Option:
• Decision:
If the ‘renewal’ possibility is chosen, the LMS asks for the member’s name and his
membership range to test whether or not he’s a sound member or not.
• Action:
If the membership is valid then membership ending date is updated and therefore
the annual membership bill is written, otherwise, a slip-up message is displayed.
163
Example
164
Advantages
The advantages of decision tree are as follow:
• They are easy to understand
• They can be useful with or without hard data, and any data requires
minimal preparation
• New options can be added to existing trees
• Their value in picking out the best of several options
165
Disadvantages
• When dealing with categorical data with multiple levels, the
information gain is biased in favor of the attributes with the most
levels.
• Calculations can become complex when dealing with uncertainty and
lots of linked outcomes.
• Conjunctions between nodes are limited to AND, whereas decision
graphs allow for nodes linked by OR.
166
Decision table
• Decision tables specify:
• Which variables are to be tested
• What actions are to be taken if the conditions are true,
• The order in which decision making is performed.
• A decision table shows in a tabular form:
• Processing logic and corresponding actions
• Upper rows of the table specify:
• The variables or conditions to be evaluated
• Lower rows specify:
• The actions to be taken when the corresponding conditions are satisfied.
167
Decision table
• In technical terminology,
• a column of the table is called a rule:
• A rule implies:
• if a condition is true, then execute the corresponding action.
168
Decision Table
• Decision table is a brief visual representation for specifying which
actions to perform depending on given conditions.
• The information represented in decision tables can also be represented
as decision trees or in a programming language using if-then-else and
switch-case statements.
• A decision table is a good way to settle with different combination
inputs with their corresponding outputs and also called cause-effect
table.
• Reason to call cause-effect table is a related logical diagramming
technique called cause-effect graphing that is basically used to obtain
the decision table.
169
Importance of Decision Table
• Decision tables are very much helpful in test design technique.
• It helps testers to search the effects of combinations of different inputs and
other software states that must correctly implement business rules.
• It provides a regular way of stating complex business rules, that is helpful
for developers as well as for testers.
• It assists in development process with developer to do a better job. Testing
with all combination might be impractical.
• A decision table is basically an outstanding technique used in both testing
and requirements management.
• It is a structured exercise to prepare requirements when dealing with
complex business rules.
• It is also used in model complicated logic.
170
Example: How to make Decision Base Table for
Login Screen
• Let's create a decision table for a login screen.
171
Example
• The condition is simple if the user provides correct username and
password the user will be redirected to the homepage. If any of the
input is wrong, an error message will be displayed.
172
Example
• Notations
• T – Correct username/password
• F – Wrong username/password
• E – Error message is displayed
• H – Home screen is displayed
• Interpretation:
• Case 1 – Username and password both were wrong. The user is shown an error message.
• Case 2 – Username was correct, but the password was wrong. The user is shown an error
message.
• Case 3 – Username was wrong, but the password was correct. The user is shown an error
message.
• Case 4 – Username and password both were correct, and the user navigated to homepage
173
Advantages and Disadvantages
• Advantages
• When the system behavior is different for different input and not same for a range of
inputs, both equivalent partitioning, and boundary value analysis won't help, but decision
table can be used.
• The representation is simple so that it can be easily interpreted and is used for
development and business as well.
• This table will help to make effective combinations and can ensure a better coverage for
testing
• Any complex business conditions can be easily turned into decision tables
• In a case we are going for 100% coverage typically when the input combinations are low,
this technique can ensure the coverage.
• Disadvantages
• The main disadvantage is that when the number of input increases the table will become
more complex
174
Comparison
175
Formal specification
• A formal specification technique is a mathematical method to:
• Accurately specify a system.
• Verify that implementation satisfies specification.
• Prove properties of the specification. A formal software specification
is a statement expressed in a language whose vocabulary, syntax, and
semantics are formally defined.
• The need for a formal semantic definition means that the specification
languages cannot be based on natural language; it must be based on
mathematics.
176
Formal Specification
• Advantages:
• Well-defined semantics, no scope for ambiguity
• Automated tools can check properties of specifications
• Executable specification
• The development of a formal specification provides insights and
understanding of the software requirements and the software design.
• Given a formal system specification and a complete formal
programming language definition, it may be possible to prove that a
program conforms to its specifications.
• Formal specification may be automatically processed. Software tools
can be built to assist with their development, understanding, and
debugging.
177
Formal Specification
• Depending on the formal specification language being used, it may be
possible to animate a formal system specification to provide a
prototype system.
• Formal specifications are mathematical entities and may be studied
and analyzed using mathematical methods.
• Formal specifications may be used as a guide to the tester of a
component in identifying appropriate test cases.
178
Formal specification
• Disadvantages of formal specification techniques:
• Difficult to learn and use
• Not able to handle complex systems
180
APPLICATIONS
• Managing clients requirements in industry.
• Generating software for noticing health activities with novel smart
technologies.
• Content Management and to analyzing Fraud detection and Prevention
• Advertisements Targeting Platforms Managing content, posts, images and
videos on social media platforms
• Analyzing customer data in real-time for improving business performance
• Public sector fields such as intelligence, defense, cyber security and
scientific research
181
Data Modeling
• A data model can be thought of as a flowchart that illustrates the relationships
among data.
• It enables stakeholders to identify errors and make changes before any
programming code has been written.
• Alternatively, models can be introduced as part of reverse engineering efforts that
extract models from existing systems, as seen with NoSQL data.
• Data modelers often use multiple models to view the same data and ensure that all
processes, entities, relationships and data flows have been identified.
• Data modeling stages roughly break down into creation of logical data models that
show specific attributes, entities and relationships among entities and the physical
data model.
182
Functional Modeling
• In the Functional Model, software converts information. and to accomplish this,
it must perform at least three common tasks- input, processing and output.
emphasizes problem specific tasks. The functional model begins with a single
183
Functional Modeling
• In a series of iterations, more and more functional detail is given, until all system
• The system takes input in various forms; Hardware, software, and human elements
184
Behavioral Modeling
• Behavioral model describes the interaction in the system. It represents
the interaction among the structural diagrams. Behavioral modeling
shows the dynamic nature of the system. They consist of the
following:
• Activity diagrams
• Interaction diagrams
• Use case diagrams
185
REFERENCES
Reference Books:
1. Suman Ugrasen, “Software Engineering - Concepts and Practices”, First Edition, Cengage.
2. Mohammad Ali Shaikh, “Software Engineering with UML”, Third Edition, Notion Press.
3. Somerville Ian, “Software Engineering”, Addison Wesley, 8th Edition.
Text Books:
1. Pressman Rogers, “Software Engineering: A Practitioner's Approach”, Sixth edition. Patterson and
Hennessy, “Computer Architecture” , Fifth Edition Morgaon Kauffman.
2. Rajib Mall, “Fundamentals of Software Engineering’’, Fourth Edition, Pearson, PHI.
Reference Website
1. https://www.geeksforgeeks.org/computer-organization-and-architecture-tutorials/
186
THANK YOU
University Institute of Engineering
DEPARTMENT OF COMPUTER SCIENCE &
ENGINEERING
Subject Name: Software Engineering
Subject Code: 23CST-206
09/12/24 Er. Jagmeet Kaur, Asst. Prof., CSE, Chandigarh University 188
Topics covered
• Structural Modeling
• Data Dictionary
189
Structural Modeling
• Structural modeling captures the static features of a system. They
consist of the following −
• Classes diagrams
• Objects diagrams
• Deployment diagrams
• Package diagrams
• Composite structure diagram
• Component diagram
190
Structural Modeling
• Structural model represents the framework for the system and this
framework is the place where all other components exist.
• Hence, the class diagram, component diagram and deployment
diagrams are part of structural modeling.
• They all represent the elements and the mechanism to assemble them.
191
Structural Modeling
• Structural models of software display the organization of a system in
terms of the components that make up that system and their
relationships.
• Structural models may be static models, which show the structure of
the system design, or dynamic models, which show the organization
of the system when it is executing.
• You create structural models of a system when you are discussing and
designing the system architecture.
192
Structural Modeling
• Structural models of software display the organization of a system in
terms of the components that make up that system and their
relationships.
193
Data Dictionary
• A data dictionary is a file or a set of files that includes a database's
metadata.
• The data dictionary hold records about other objects in the database,
such as data ownership, data relationships to other objects, and other
data.
• The data dictionary is an essential component of any relational
database.
• Ironically, because of its importance, it is invisible to most database
users.
194
Data Dictionary
• The data dictionary, in general, includes information about the following:
• Name of the data item
• Aliases
• Description/purpose
• Related data items
• Range of values
• Data structure definition/Forms
195
Data Dictionary
• Data flows capture the name of processes that generate or receive the
data items.
• If the data item is primitive, then data structure form captures the
physical structures of the data item.
• If the data is itself a data aggregate, then data structure form capture
the composition of the data items in terms of other data items.
196
REFERENCES
Reference Books:
1. Suman Ugrasen, “Software Engineering - Concepts and Practices”, First Edition, Cengage.
2. Mohammad Ali Shaikh, “Software Engineering with UML”, Third Edition, Notion Press.
3. Somerville Ian, “Software Engineering”, Addison Wesley, 8th Edition.
Text Books:
1. Pressman Rogers, “Software Engineering: A Practitioner's Approach”, Sixth edition. Patterson and
Hennessy, “Computer Architecture” , Fifth Edition Morgaon Kauffman.
2. Rajib Mall, “Fundamentals of Software Engineering’’, Fourth Edition, Pearson, PHI.
Reference Website
1. https://www.geeksforgeeks.org/computer-organization-and-architecture-tutorials/
197
THANK YOU
University Institute of Engineering
DEPARTMENT OF COMPUTER SCIENCE &
ENGINEERING
Subject Name: Software Engineering
Subject Code: 23CST-206
09/12/24 Er. Jagmeet Kaur, Asst. Prof., CSE, Chandigarh University 199
Topics covered
• Function Oriented Design
09/12/24 Er. Jagmeet Kaur, Asst. Prof., CSE, Chandigarh University 210
Topics covered
• Data Dictionary
• Structured Chart
• Pseudo Code
Reference Website
1. https://www.geeksforgeeks.org/software-engineering-structure-charts/
09/12/24 Er. Jagmeet Kaur, Asst. Prof., CSE, Chandigarh University 221
Topics covered
• Object Oriented Design
• A class defines all the attributes, which an object can have and
methods, which represents the functionality of the object.
09/12/24 Er. Jagmeet Kaur, Asst. Prof., CSE, Chandigarh University 237
Topics covered
• Unified Modeling Language
09/12/24 Er. Jagmeet Kaur, Asst. Prof., CSE, Chandigarh University 268
Topics covered
• Behavior Diagrams
• Timing Diagram are a special form of Sequence diagrams which are used to
depict the behavior of objects over a time frame.
• We use them to show time and duration constraints which govern changes
in states and behavior of objects.
• Timing diagrams are UML interaction diagrams used to show
interactions when a primary purpose of the diagram is to reason about time.
Timing diagrams focus on conditions changing within and
among lifelines along a linear time axis. Timing diagrams describe behavior
of both individual classifiers and interactions of classifiers, focusing
attention on time of events causing changes in the modeled conditions.
09/12/24 Er. Jagmeet Kaur, Asst. Prof., CSE, Chandigarh University 285
Topics covered
• Interaction Diagram
• Activity Diagram