System Analysis and Design: Dr. Nivin Atef Dr. Yasmine Afify
System Analysis and Design: Dr. Nivin Atef Dr. Yasmine Afify
2- Requirements Structuring
Relationships between requirements
and eliminating redundancy
2
Requirement Structuring
• Structuring Process Requirements
• Structuring Logical Requirements
• Structuring Data Requirements
3
Logic Modeling Deliverables and Outcomes
• Structured English
• Decision Tables
• Decision Trees
• Activity diagrams
• Sequence diagrams
• State-transition diagrams
Modeling Logic with Decision Trees
• A graphical representation of a decision situation
• Decision situation points are connected together by arcs and
terminate in ovals
• Main components
• Decision points represented by nodes
• Actions represented by ovals
• Particular choices from a decision point represented by arcs
Modeling Logic with Decision Trees (cont.)
• Read from left to right
• Each node corresponds to a numbered choice on a legend
• All possible actions are listed on the far right
Decision tree representation of salary decision
Alternative decision tree representation of salary decision
Activity Diagrams
Activity Diagram
• An activity diagram shows the conditional logic for the sequence of
system activities needed to accomplish a business process.
10
Activity Diagram Notations
11
Examples
12
Activity Diagram - Swimlanes
13
14
When to Use An Activity Diagram?
Specifically, an activity diagram can be used to accomplish the following
tasks:
1. Depict the flow of control from activity to activity.
2. Help in use case analysis to understand what actions need to take
place.
3. Help in identifying extensions in a use case.
4. Model work flow and business processes.
5. Model the sequential and concurrent steps in a computation
process.
15
Structuring System Data Requirements
Conceptual Data Modeling
• A detailed model that captures the overall structure of data in an
organization.
• Independent of any database management system (DBMS) or other
implementation considerations.
Process of Conceptual Data Modeling
• Develop a new conceptual data model that includes all requirements
of the new system
• In the design stage, the conceptual data model is translated into a
physical design
• Project repository links all design and data modeling steps performed
during SDLC
Deliverables and Outcome
• Primary deliverable is an entity-relationship (E-R) diagram or class
diagram
Multiplicity notation:
0..10 means minimum of 0 and maximum of 10
1, 2 means can be either 1 or 2
* means any number
Associative Class
• An association with its own attributes, operations, or relationships
UML association
classes are
analogous to E-R
associative
entities.
Derived Attributes
Polymorphism:
Here, each type of student has its own
version of calc-tuition()
Class scope:
tuitionPerCred is a class-wide attribute
Aggregation and Composition
• Aggregation
• A part-of relationship between a component and an aggregate object
• Composition
• An aggregation in which the part object belongs to only one aggregate object
and lives and dies with the aggregate object
A new inventory control system for Hoosier Burger
• INVENTORYITEM (D1)
• supplier INVOICE (Process 1.0 )
• Each INVOICE indicates that the
supplier has sent a specific quantity
of one or more INVOICE_ITEMs,
which correspond to Hoosier’s
INVENTORY ITEMs.
• Inventory is used when customers
order and pay for PRODUCTs.
• Hoosier makes a SALE for one or more
ITEM SALEs, each of which
corresponds to a food PRODUCT.
• because food PRODUCTs are made up
of various INVENTORY ITEMs (vice
versa)
• Hoosier maintains a RECIPE to
indicate how much of each
INVENTORY ITEM goes into making
one PRODUCT.
A new inventory control system for Hoosier Burger
• An INVOICE includes one or more
INVOICE ITEMs, each of which
corresponds to an INVENTORY ITEM.
36
A new inventory control system for Hoosier Burger
• The Amounts Used data flow
coming from Process 2.0
indicates how much to
decrement an attribute
Quantity_in_Stock due to use
of the INVENTORY ITEM to
fulfill a customer sale.
• One condition used to
determine the process of
reordering an INVENTORY
ITEM involves the
Type_of_Item. Thus, Process
3.0 + Decision table needs to
know this characteristic of
each INVENTORY ITEM, so
this identifies another
attribute of this data class.
A new inventory control system for Hoosier Burger
A new inventory control system for Hoosier Burger
39
Logic Modeling Deliverables and Outcomes
• Activity diagrams
• Structured English
• Decision Tables
• Decision Trees
• Sequence diagrams
• State-transition diagrams
Sequence Diagram
• A sequence diagram depicts the interactions among objects during a
certain period of time.
41
42
Messages Types
1- A synchronous message where the caller has to wait for the
receiving object to complete execution of the called operation before it
itself can resume execution.
Always has an associated return message. The message may provide
the caller with some return value(s) or simply acknowledge to the
caller that the operation called has been successfully completed.
43
Messages Types (cont.)
3- An asynchronous message where the sender does not have to wait
for the recipient to handle the message. The sender can continue
executing immediately after sending the message.
Asynchronous messages are common in concurrent, real-time
systems, in which several objects operate in parallel.
44
Designing a Use case with a sequence diagram
45
Designing a Use case with a sequence diagram
A description of this scenario is provided below.
1. Registration Clerk opens the registration window and enters the
registration information (student and class).
2. Check if the class is open.
3. If the class is open, check if the course has any prerequisites.
4. If the course has prerequisites, then check if the student has taken
all of those prerequisites.
5. If the student has taken those prerequisites, then register the
student for the class and increment the class size by one.
6. Check if the class is full; if not, do nothing.
7. Display the confirmed registration in the registration window.
46
47
Another Scenario
48
A sequence diagram For hoosier Burger
1. On receipt of an application for a job at Hoosier Burger, the data
relating to the applicant are entered through the application entry
window.
2. The manager opens the Application Review Window and reviews
the application.
3. If the initial review is negative, the manager discards the
application . No further processing of the application is involved.
4. If the initial review is positive, then the manager sets up a date
and time to interview the applicant.
5. The manager interviews the candidate and enters the additional
information gathered during the interview into the application file.
49
A sequence diagram For hoosier Burger
6. When the recommendation letters come in, the manager is ready
to make a decision.
First, he or she prepares a summary of the application. Based on the
summary, he or she then makes a decision. If the decision is to reject
the candidate, the application is discarded. The processing of the
application comes to an end.
50
A sequence diagram For hoosier Burger
51
Logic Modeling Deliverables and Outcomes
• Activity diagrams
• Structured English
• Decision Tables
• Decision Trees
• Sequence diagrams
• State-transition diagrams
State Chart Diagram
• A state diagram is used to model the dynamic behavior of a class in
response to time and changing external stimuli.
53
Elements of Statechart Diagram
Element Representation Notation
57
Requirement Traceability Matrix
• It is a matrix is used to trace requirements. It provides forward and
backward traceability. It helps faster impact analysis and reliable
assessment to ensure all the business requirements are covered.
58
Example
59
• A movie theatre is looking to build a digital channel for allowing their
customers to book their movie tickets and make payments online.
60
Underlying Competencies
The Underlying Competencies provides a description of the behaviors,
characteristics, knowledge, and personal qualities that support the practice
of business analysis.
61
62
Analytical Thinking and Problem Solving
• Required to analyze problems and opportunities effectively
• BAs should identify which changes may deliver the most value, and
work with stakeholders to understand the impact of those changes.
• BAs should choose effective and adaptable methods to learn and
analyze the media, audiences, problem types, and environments as
each is encountered.
• BAs utilize this skill as they facilitate understanding of situations, the
value of proposed changes, and other complex ideas.
• BAs should identify the best ways to present information to their
stakeholders.
71
Behavioral Characteristics
• Behavioral characteristics focus on the skills and behaviors that allow
a business analyst to gain the trust and respect of stakeholders.
Organization
Personal
Ethics Trustworthiness and Time Adaptability
Accountability
Management
72
Underlying Competencies
The Underlying Competencies provides a description of the behaviors,
characteristics, knowledge, and personal qualities that support the practice
of business analysis.
73
Business Knowledge
• Business knowledge is required for the business analyst to perform
effectively within their business, industry, organization, solution,
and methodology.
• Business knowledge enables the business analyst to better
understand the overarching concepts that govern the structure,
benefits, and value of the situation as it relates to a change or a need.
74
Underlying Competencies
The Underlying Competencies provides a description of the behaviors,
characteristics, knowledge, and personal qualities that support the practice
of business analysis.
75
Communication Skills
• Communication is the act of a sender conveying information to a
receiver in a method which delivers the meaning the sender
intended.
• Active listening skills help to deepen understanding and trust
between the sender and the receiver.
• Effective communication benefits all stakeholders.
• Communication may be accomplished using a variety of delivery
methods: verbal, non-verbal, physical, and written.
77
Interaction skills
• Interaction skills are represented by the business analyst's ability to
relate, cooperate, and communicate with different kinds of people
including executives, sponsors, colleagues, team members,
developers, vendors, learning and development professionals, end
users, customers, and subject matter experts (SMEs).
Negotiation &
Leadership &
Facilitation Teamwork conflict Teaching
influencing
resolution
78
Underlying Competencies
The Underlying Competencies provides a description of the behaviors,
characteristics, knowledge, and personal qualities that support the practice
of business analysis.
79
Tools and Technology
• Business analysts use a variety of software applications to support
communication and collaboration, create and maintain requirements
artifacts, model concepts, track issues, and increase overall
productivity.
• Requirements documentation is often developed using word
processing tools, while the process of developing business
requirements may require the use of prototyping and simulation
tools, as well as specialized tools for modeling and diagramming.
80
81
Underlying Competencies
The Underlying Competencies provides a description of the behaviors,
characteristics, knowledge, and personal qualities that support the practice
of business analysis.
83
Sources
84
Thank You
85