2-System Analysis and Design L3
2-System Analysis and Design L3
Alan Dennis, Barbara Haley , John Wiley & Sons, Inc. University of Northern Iowa
Slides: Hussein Omran, akhbar Elyom Academy, Egypt
1-Business requirement
3-Identify
B- 2-Data modeling deficiency
Analysis 1-DFD
3-Proposed chart
2-Decision table
Screen
C-DESGN 3-ERD Design
Tables
D-
Implementation Data dictionary
Step 2- system Analysis phase
Analysis: refer to break whole into parts to understand
function, and inter relationships to define requirement.
System analysis phase: determine function, existing
weakness, and requirements to choose best solution
and methodology for new system by representing it
logically.
Analysis methodology approach should be applied
1) Agile and SDLC logically moves through system.
2) Agile and object-oriented allow subsystems to be
built one at a time until entire system is complete.
What should do analyst in structure analysis?
1.Requirements Determination: find out existing weakness
1)To interview organizational members to gather data.
2)Collect sample data from existing reports and how it
transacted.
3)Identify the deficiencies of current system and set goals.
2.Process Data modeling: describes processing of data DFD
3.To Define the requirements for solving the problem
4.To develop proposed system flowcharts to meet the goal.
1.1- Techniques for requirements determination
steps to make sure current and needs defined well
1. Interviews by Conduct: users, technical staff, clients
2. Document Review: report, form, procedure description
3. JAD (joint application design) meeting with 8-10 users
4. Research by Questionnaires : what opinion in current state,
process of system, and its function
Questions to ask:
1)What are the objectives of your department?
2)how are they processed data?
3)What’s your opinion of the current state?
4)What are common data entry errors?
5)Describe available online monitoring process .
6)What are the biggest frustrations during the transition?
7) Do you use the Web to provide information to vendors?
8)give an illustration of the security problems you are experiencing
2-Process Data modeling in Structured Analysis?
The systematic approach uses graphical tools to refine
objectives of existing system and develop new system.
1.Tools and techniques used for system development are:
1) Data Flow Diagrams
2) Data Dictionary
3) Decision Trees
4) Decision Tables
5) Structured English
6) Pseudocode.
2-1:Modeling Data process Data Flow Diagram:
DFD describes how data flows through system to perform
functions, It describes internal flow of data to show how data
processed by logical flow representing activity of people in
system by symbols. It uses following symbols|:
Level 0 diagram
Level 1 diagram
Level 2 diagram
Example 1: fast food restaurant Information System
A customer wants to order some lunch. They walk to
the counter and ask for the menu. They make their
choice and ask the Restaurant waitress for a tuna roll.
The waitresses write this down and passes the order to
the chef. The kitchen chef gets the order and makes
the roll. The roll is then passed back to the waitress.
Whilst the chef makes the roll, the waitress gives the
customer a paper bill produced from the till. This
shows how much the customer owes. The customer
pays their bill. When the food arrives from the chef,
the waitress gives it to the customer. Finally report
producedEachto manager
noun use square, for each process use under line
fast food restaurant Order Processing System
context diagram
– System
• Order processing system
– External entities
• Customer
• Kitchen 0
0
Customer Order
Food
ordering
Food Order
system
Receipt
– System
Management
Reports
• Order processing system
Does this show – External entities
enough detail? RESTAURANT • Customer
MANAGER • Kitchen
• manager
– Processes
• Customer order
• Payment Receipt
• Inventory Food order
• report Management
Constructing a Level 0 diagram
5-Producing and distributing data to different sinks
1.0
CUSTOMER
KITCHEN
Receive and
transform
Customer Food
3.0 Order
2.0
Update
Goods Update
Sold file 4.0 Inventory
file
Produce
Management
Reports
RESTAURANT
MANAGER
6-Lay out the sources/sinks and data flows from the Level 0 diagram
CUSTOMER KITCHEN
1.0
3.0 2.0
Update Update
Goods Inventory
Sold file file
4.0
Produce
Managemen
t Reports
RESTAURANT
Managemen MANAGER
t Reports
7-Draw in any data stores used in the process
CUSTOMER KITCHEN
1.0
3.0
2.0
Update
Goods Update
Sold file Inventory
file
Produce
Managemen
t Reports
RESTAURANT
Managemen MANAGER
t Reports
8-Link the new processes and data stores with named data links
CUSTOMER KITCHEN
1.0
Customer Order
Receive and
transform Food Order
Customer Food
Receipt
Order
Produce
Daily Goods Sold Amount Managemen Daily Inventory Depletion Amounts
t Reports
RESTAURANT
Management MANAGER
Reports
Example 2: Airline reservation context diagram
If we would like to build an information system for a travel
reservation, the passenger request for a ticket to travel from
Cairo to Italy, the system look for all available airlines and
select a travel agent then find ticket information of time and
price, if the passenger accepts an reservation will be booked
at the airline company
Available flights
Travel
Passenger 0.0
Agents
Air line
Travel request System Ticketing information
Passenger
reservation
Airlines
company
Example3 : Bus Garage Repairs
Buses come to garage for repairs. A mechanic and helper
perform repair, record reason for repair and record total cost of
all parts used on Shop Repair Order. Information on labor,
parts and repair outcome is used for billing by the Accountant
Department, parts monitoring by inventory management
computer system and performance review by the supervisor.
External Entity: Bus, Mechanic, helper, supervisor, Inventory, Accountant
• system: performing repairs, storing repairs information
• Processes: • Data flows:
– Record Bus ID and reason for repair 1. Repair order
– Determine parts needed 2. Bus record
– Perform repaired report 3. Parts record
– Calculate parts used 4. Employee timecard
– Record labor hours, cost, and total cost 5. Invoices
• Data stores: Personnel file, Repairs file, Bus master list, Parts list
Bus Garage Context Diagram
List of parts
Labor, parts used
cost details Inventory
Accounting manager
Repair summary
Supervisor
Example 4: builders’ suppliers
Joe’s builders’ suppliers have a shop and store. His system is entirely
manual. He has a stock list on the wall of his shop with prices. When a
builder wants to buy supplies, he picks the stock items from the list then
writes his order on duplicate bills and pays to Joe, who stamps the bill as
paid. The builder takes the duplicate bills and goes to the store and
hands it to foreman. The store foreman gets the ordered items from the
shelves and gives them to the builder. The builder signs the duplicate
bills and leaves one copy and takes one as a receipt. Every week, Joe
looks around the store to see if any of stock is running low. He brings up
the relevant suppliers and reorders stock and records the order in his
order book. The store foreman takes delivery of the new stock and
checks it against what has been ordered. He pays for it on delivery and
staples the receipt into the order book. At the end of every month, Joe
goes through all the dockets and the order book and produces a
financial report for the shareholders .Solve each of the following with
drawing?
Example: builders’ suppliers context diagram
Report Joe
“manager”
Example: builders’ suppliers DFD diagram
•Builder
•“customer” store
1.0
Customer Order
Receive order
Receipt builders’
transfer order
Order
collect payment
3.0 2.0
Goods Inventory
Update Inventory Data
Update Sold Data Inventor
Goods
Goods Sold file y file
Sold Data
Produce
Monthly Goods Sold management weekly Inventory
Reports
joe MANAGER
Example 5: for shop of Precision Tools
Precision Tools sells a line of high-quality woodworking tools.
When customers place orders on the company’s Web site, the
system checks to see if the items are in stock, issues a status
message to the customer, and generates a shipping order to
the warehouse, which fills the order. When the order is
shipped, the customer is billed. The system also produces
various reports. accounting
1. Draw a context diagram for the order system
2. Draw DFD diagram 0 for the order system
context diagram for the order system
Context
diagram
CUSTOMER
system WAREHOUSE
ACCOUNTING
Stock Request
Order In-
CUSTOMER WAREHOUSE
Status 1.0
Message
Check Shipping
Status Data Status Order
ACCOUNTING
Example 6: shop system
Create information system for shop in which a sales sells
your products to customers, customer comes into shop,
approaches the vendor to ask about shipping of order and
gets answer if not available on store ask manufacture
,manager get reports?
shipping product
Order 0
Store product sales
customer Product served
•system
Collect Pay
•shop
Pay labor
Pay raw material
Sold goods
manager
Level 0
1
New
info D Customer
1 Master
new
Customer
Packing slip Sales store
3
2
Cust Info Process Order
Order Process
Customer Product
Customer Pending Picked
status
Order Order
4
Proc
payment Info
D vendor Update Shipping
1 master inventory process
D product
3 stock Shipping B/O info
D sales pay
2 data 5
Invoice/ Cust Bill
Student
Administration
System
Confirmation/Rejection Details
1.0
Check
Application
Student Course Course Details
Details
Available
Accepted/ Courses
Rejected
Confirmation/Rejection Details
Selections
2.0
Course Details
Enrol
Student
Course Enrolment Details
Registration Students
Details
Student Details
3.0
Confirm
Registered
Example 7: Accounts Payable Problem
Each month you receive bills from various vendors (e.g., phone, auto
insurance, credit cards, utilities) and periodically other billings (e.g.,
magazine subscriptions, university tuition and fees). Consider all of
these billings as being examples of invoices from vendors. You don't pay
your bills on same day that they are received but review each invoice and
prioritize them in terms of which you will pay first. These prioritized
invoices are then placed in a box until you decide you start paying some.
You remove an invoice from the box and prepare a check to be mailed to
the vendor. You check old balance and update register with the check
information and compute new balance. You may do several times month
At end of the month you receive statement from your bank that lists the
checks that have cleared your account. You (should) take your check
register and compare your list of checks and their amounts with the
statement that you received from the bank. If everything is in balance
then you place an appropriate mark in your check book else you enter a
correcting entry (the bank never makes a mistake).
Accounts Payable Context Diagram
Statement
Start 0
Update Register
Yes More
Bills?
No
Stop
Accounts Payable Context Diagram
1.0
Approve &
Invoice Prioritize Shoe Box 2.0
Vendor Bills Prioritized
Bills Selected Bill Prepare
Check
Check
Customer
Sales
Order
Process
Sales
Order
Daily
Picking
Sales
Tickets
Report
Order
Sales
Filling
Manager
Station
Open Mail Flowchart for SO 1.0
Start
Start
Open Mail
Open Mail
Place in Pile
Take
S.O. to
Operator
Yes More
Mail?
Yes More
Mail? Take
pile to
No
Operator
Stop
Stop
Sales Order (SO) DFD
Sales 1.0
Customer
Order Open Mail