Software Engineering (Week-3)
Software Engineering (Week-3)
(Week-3)
USAMA MUSHARAF
MS-CS (Software Engineering)
LECTURER (Department of Computer Science)
FAST-NUCES PESHAWAR
AGENDA OF WEEK # 3
By using the ATM machine, a customer can withdraw cash from either
checking or savings account, query the balance of an account, or
transfer funds from one account to another.
BANKING SYSTEM CASE STUDY
A transaction is initiated when a customer inserts an ATM card into the card
reader. Encoded on the magnetic strip on the back of the ATM card is the card
number, the start date, and the expiration date.
Assuming the card is recognized, the system validates the ATM card to determine
that the expiration date has not passed, that the user-entered PIN (personal
identification number) matches the PIN maintained by the system, and that the
card is not lost or stolen.
The customer is allowed three attempts to enter the correct PIN; the card is
confiscated if the third attempt fails. Cards that have been reported lost or stolen
are also confiscated.
BANKING SYSTEM CASE STUDY
Customer records, account records, and debit card records are all maintained at the
server.
AGILE DEVELOPMENT USING BANKING CASE STUDY
Assignment no 1:
Create a working plan for banking system case study using agile
process model (Extreme programming). You are required to
Identify functional requirements (FR’s) from the case study and write
User Stories for each FR in order to have detail understanding.
Create Iteration Plans.
Perform Test First Development (Write test descriptions for user story
cards).
WHAT IS REQUIREMENT?
What is requirement?
Functional requirements:
statement of services
how system reacts to input Domain requirements
Interviewing stakeholders
Reviewing available documentations
Observing the current system (if one exists)
11
ANALYSIS MODELING
ELEMENTS OF THE ANALYSIS MODEL
Object-oriented Analysis Structured Analysis
Scenario-based Flow-oriented
modeling modeling
Use case text
Data structure diagrams
Use case diagrams
Data flow diagrams
Activity diagrams
Class-based Behavioral
modeling modeling
Class diagrams State diagrams
CRC models Sequence diagrams
Collaboration diagrams
FLOW-ORIENTED MODELING
WHAT IS A DATA FLOW DIAGRAM?
Source
STEPS IN BUILDING DFDS
4/9/21
LEVEL-2 DIAGRAM SHOWING THE DECOMPOSITION OF PROCESS 4.3
FROM THE LEVEL-1 DIAGRAM FOR PROCESS 4.0
DATA FLOW DIAGRAM OF
SAFE HOME SYSTEM
DATA FLOW DIAGRAM