Академический Документы
Профессиональный Документы
Культура Документы
System
Process Modeling
What is Requirements Determination?
Goal:
Efficiency
for users
Business Process
Improvement
Goal:
Efficiency
and
effectiveness
for users
Business Process
Reengineering (BRP)
Goal:
Radical
redesign of
business
processes
Your Turn
Suppose you are the analyst in-charge of
developing a new Website for a local dealer
who wants to be very innovative and try new
things. What analysis technique would you
recommend? What activities seem more most
promising? Why?
Comparing Analysis Techniques
– Use Cases
– DFD
Analysis Phase
Structure the Requirements
How to structure requirements?
• Process model
– A formal way of representing how a business
system operates
– Illustrates the activities that are performed and
how data moves among them
• Use Diagrammatic Representation
– Use a common technique for creating process
models
Process Modelling Techniques
• Activity Flow Diagram
• State Transition diagram
• Communication Flow Diagram
• Use Case Diagram
• Data Flow Diagrams (DFD)
CASE
• Move from business process
representation to Software Development
with minimal coding
– Independent
• Eg. Visio, SmartDraw, Diagramming Studio
– Dependent
• System Architect, SilverRun
Some other Tools…
• Rational Rose
• Poseidon
System boundary
defines the scope of
what a system will
be.
A system boundary of
a use case diagram
defines the limits of
the system.
Sample Use Case - Diagram
Try this
• Design a system as the Courseware Management System. The
Institution offers a variety of courses in a variety of areas such as
learning management techniques and understanding different
software languages and technologies.
• Each course is made up of a set of topics. Tutors in the Institution are
assigned courses to teach according to the area that they specialize in
and their availability.
• The Institution publishes and maintains a calendar of the different
courses and the assigned tutors every year. There is a group of course
administrators in the Institution who manage the courses including
course content, assign courses to tutors, and define the course
schedule.
• The training Institution aims to use the Courseware Management
System to get a better control and visibility to the management of
courses as also to streamline the process of generating and managing
the schedule of the different courses.
Identifying Use Cases
• Manage topics for a course
• Manage course information
• View courses
• View course calendar
• View tutors
• Manage tutor information
• Assign courses to tutors
Write / Draw the Use Case
View Courses
Process
Data flow
Data store
External
entity
Sub-division of a DFD
Level 0 diagram
Level 1 diagram
Level 2 diagram
DFD Diagramming Rules
Data Flow
Bidirectional flow
between process
and data store is
represented by two
separate arrows.
• Data stores:
– Personnel file
– Repairs file
– Bus master list
– Parts list
• Data flows:
– Repair order
– Bus record
– Parts record
– Employee timecard
– Invoices
Bus Garage Context Diagram
Bus
Mechanical Fixed
problem mechanical
to be repaired problems
Repair Supervisor
Helper Labor Bus summary
Repair
Process List of
System parts used Inventory
Labor Management
Labor, System
parts cost
details
Mechanic
Accounting
Try this - 3
CSUB Burger’s Order Processing System
– External entities
• Kitchen
• Restaurant
• Customer
– Processes
• Customer order
• Receipt
• Food order
• Management report
Process Specifications - Modeling
• Structured English
• Decision Tables
• Decision Trees
• State-transition diagrams
• Sequence diagrams
• Activity diagrams
Modeling Logic with
Decision Tables
• A matrix representation of the logic of a
decision
• Specifies the possible conditions and the
resulting actions
• Best used for complicated decision logic
3 Parts of a Decision Table
• Condition stubs
– Lists condition relevant to decision
• Action stubs
– Actions that result from a given set of conditions
• Rules
– Specify which actions are to be followed for a given set of
conditions
• Indifferent Condition
– Condition whose value does not affect which action is
taken for two or more rules
Decision Table Format
Process ID:
Process Description:
Condition Stub Condition Entry
(a) If a person's health is good and the person is aged between 20 and 35 years,
lives in a town or city and is a male then the premium is charged is Rs. 20 per
thousand and the policy is written for an amount not exceeding Rs.10,00,000.
(b) If the person satisfies all the above conditions except that the person is a
female, then the premium charged is Rs. 25 per thousand and the policy is
written for an amount not exceeding Rs. 6,00,000.
(c) If a person's health is poor and the person is aged between 20 and 35 years,
lives in a village and is a male then the premium is charged is Rs. 40 per
thousand and the policy is written for an amount not exceeding Rs.2,00,000.
(d) If the person satisfies all the conditions in (c) except that the person is a female,
the premium rate charged and the maximum limit for writing a policy are the
same as above in ( c).
(e) In all other cases, the person is refused insurance.
Draw the decision tree or the table for the above given problem.
Your Turn
A university has the following rules for a
student to qualify for a degree with physics. As
the main subject and Maths as the subsidiary.
– Marks should be 50% or more in physics and 40% or
more in Maths
– If marks in physics are less than 50% then marks in
Maths must be 50% or more. However, physics marks
must be at least 40%.
– If marks in Maths are less than 40% but those in
physics are 60% or more then only examination in
Maths has to be repeated.
– In all other cases the student fails.