Professional Documents
Culture Documents
As per New Syllabus of Semester - V (Computer Engineering / Computer Science & Engineering) (Professional Elective - I)
Software Engineering This edition is for sale in India only. Sale and Purchase of this book outside of India is
unauthorized by the publisher.
P.E.S. Modern College of Engineering, TECHNICAL Amit Residency, Office No.1, 412, Shaniwar Peth, Pune - 411030, M.S. INDIA
P h . : + 9 1 - 0 2 0 - 2 4 4 9 5 4 9 6 / 9 7 , Te l e f a x : + 9 1 - 0 2 0 - 2 4 4 9 5 4 9 7
PUBLICATIONS
Pune SINCE 1993 An Up-Thrust for Knowledge Email : sales@technicalpublications.org Website : www.technicalpublications.org
Printer :
Yogiraj Printers & Binders
Sr.No. 10/1A,
Ghule Industrial Estate, Nanded Village Road,
Tal. - Haveli, Dist. - Pune - 411041.
ISBN 978-81-946628-2-2
® ®
TECHNICAL
PUBLICATIONS
SINCE 1993 An Up-Thrust for Knowledge
Software as a Process
TM
Side effect
Manufacturing of changes
defects
Failure
Failure
Wear Actual
out curve
Years
Automatic
support for software
Software engineering
Provide
technical details
for software
Tools Foundation
of software
Methods Backbone
of software
Processes
Quality management
Software Process
Process Framework
Umbrella Activities
Action # 1.1
Action # 1.n
Incremental Prototyping
model
Spiral model
RAD model
Concurrent
development model
Requirement
gathering and analysis
Design
Coding
Testing
Maintenance
Communication Building of
with quick
customer design
Deployment Construction
delivery of
and prototype
feedback
Planning Risk analysis
Customer
communication
Engineering
Concept
development
Project entry projects
point axis
New
product
development
projects
Product
enhancement
projects
Product
maintenance
projects
Customer evaluation Construction
and feedback and release
Development process
Team#n
Design
Team#2
Build
Requirements Design
gathering
D
e
Team#1 Build p
l
Analysis
Design o
and planning
y
Build
60 to 90 days period
TM
Cost of changes
due to agile process
Time
Planning Design
Refactoring
Testing Coding
Release or
increment
Speculation
Release
or Collaboration
software
increment
Learning
15 min daily
meeting
1. What are
activities ?
2. Obstacles ?
24 Hour 3. Next meeting
plan ?
30 Days
Software
Sprint backlog
increment
Product backlog with
specific
functionality
Develop Build Plan Design Build
an a by by by
overall feature feature feature feature
model list
Product
tics
cte er
Bu ditio
co
ara om
ris
sin ns
n
ch Cust
es
s
Process
TM
(Fi )
[0.65 0.01 (Fi )]
233 [0.65 0.01 32]
233 [0.65 0.32]
233 0.97
8 4 12 5 4 4 41 10 1 7
Fi
tot _ var( k)
[ f out ( k) 1]
Population : means total number of classes and
operations
n1
n2
N1
N2
N1 N2
n1 n2
log 2
n1 N2
N1 N2
All transitions in a layout
n n1 n2
N log 2 n
n 1 log 2 n 1 n 2 log 2 n 2
n1 5 N1 n2 N2
N1 N2 n1 n2
n 1 log n 1 n 2 log n 2
N log n
[S opt (4 * S m ) S pess ] 6
[S opt 4* S m S pess ] 6
S opt
Sm S pess
(Fi)
Estimate Assign people Create activity
Identify activities Identify to conduct network and
resources
possible activities bar charts
dependencies
Sept. Oct. Nov. Dec. Jan.
Task
6 13 20 27 3 10 17 24 31 7 14 21 28 4 11 18 25 1 8 15 22
1.4 (a) 1.6 (a)
Technical Implementation 1. 2 Software development
risks 1. 2. 1 Requirements analysis
1.1 1.2 1.3 1.5 1. 2. 2 Architectural design
Checking Scoping the Product Integrate a,b
feasibility Proof of 1. 2. 3 Procedural design
product planning product
of product 1. 2. 4 Code
1.4 (b) 1. 3 Testing
1.6 (b) 1. 3. 1 Unit test
Technical Implementation
risks 1. 3. 2 Integration test
1. 3. 3 Acceptance test
1. 4 Operations
1.7
Customer 1. 4. 1 Packaging
feedback 1. 4. 2 Customer training
Project risk Technical risk Business risk
Market risk
Strategic risk
Sales risk
Management risk
Budget risk
Predictable risks
Known risks
Unpredictable risks
Performance
Cost risk
risk
Risk
components
TM
Elicitation
Elaboration
Requirement
engineering Negotiation
tasks
Specification
Validation
Requirement management
Requirement Requirements are
identification individually identified
Types of
requirements Expected requirements
under QFD
Excited requirements
User or Action
Actor
Starts up
system
Shuts down
system
Operator
Establishes
session
Customer Transaction
Bank
<<include>>
<<include>>
30
Value (percent)
25
20
Low priority
15
requirements
10
5
5 10 15 20 25 30
Cost (percent)
ent s Flow
e lem orie
s ed Data flow nte
ba diagram d
Use cases el
io
Control flow
em
ar
Use case diagrams
en
diagram
en
Sc
Activity diagrams
s t
Swim lane
diagram
The
analysis
model State
Class diagram diagram
Analysis Sequence
diagram
ts
packages
en
Be
CRC models
em
ha
vi
el
or
ed Collaboration le a
as le m
sb s diagrams ent
Cla s
Make an
appointment
Cancel appointment
Payment delay
<< extend >>
Search a title
Bill insurance
ATM system
Invalid user name
e >>
d >> Invalid xclud or password
xten << e
<< e ID
Add record
Authenticate
new
Enters card, Requests << include >>
user name and PIN book
Search and
Reserve a update database
Request for mini book << exclude >>
Check balance statement
Invalid ID Delete book
Librarian
Renew a record
book <<
<<
User ex
clu
ex
Withdrawal de
clu
Banking >>
User
d
of money
e
system Pays fine Update
>>
Inv book record
ren alid
ew << include >>
Deposite al
money Feedback
Update the
record ID
<< includes >>
Filling up
feedback form
Student Staff
activity
Fork
activity activity
Authentification
Merge
Make
purchase Join
Registered activity
Identify
End
Checkout provider
Web
customer
Credit payment
New service
Client
register
Paybill
(Bank)
Booking Passenger Finance
service service service
Enquiry
about
reservation
Enquiry
about
reservation
Fill Pays
reservation for
form ticket
Fills
reservation
form
Pays for
Put in Make Receive ticket
waiting confirmed payment
list reservation
Reserve
a seat
Receive
payment
Close
form
Close
form
HomeOwner Sensor(Camera) Control panel
Customer
Invalid data, Re-enter
submits ltem
Yes
Select the display Valid data
function Card Reader reads
price of item
Select surveillance
The price of item
displayed on
Computer
No
;
;
Car Object
name Shape
Color
Model Data members Color
Engine or attributes Weight
Brakes
void draw()
Start_engine() void setcolor ()
Stop() Operations or char getcolor()
Accelerate() methods void hide()
Crash() void show()
Triangle Rectangle
height lefttoppoint
breadth rightbottompoint
Order_status Product
Triangle Rectangle
1
height lefttoppoint generates
breadth rightbottompoint
Usertype
Username
Password
Login ( )
Register ( )
Logout ( )
1 1 1
1
User Book Librarian Library database
1 1
title Name
Name Author 1 ID List_of_books
ID ISBN Password
Publication Searchstring Add ( )
Verify ( ) Show_duedt () Delete ( )
1 Verify_librarian ( )
CheckAccount ( ) Reservation_status() Update ( )
Feedback () Search ( )
get_book_info ( ) Display ( )
Book_request () Search ( )
Renew_Info ()
1
1 1
Account
Staff Student
no_borrowed_books
Dept Class no_reserved_books
no_returned_books
no_lost_books
fine_amount
calculate_fine ( ) withdrawal
cash dispenser
session
console
ATM System
customer
ATM card
Class Name:
Class type:
Characteristics:
Responsibilities: Collaborations:
Security LCD
Beep Sensor
system Display
Sensor event
recognises
Sensor event
Data object : It can be any person, organization,
device or software product that produces
Produces Contains polls
or consumes information
Security LCD
Beep Sensor
system Display
0:1 1:1 1:1 1:1 1:1 1:m
1:1
recognises
0:n Elements
of data model
Sens or event
Modality : It is optional,
Modality : For purchase action there may not be
customer is must any purchasing
(modality 1) (modality 0)
Attribute
Attribute
Attribute Attribute Attribute Attribute
One to one
Attribute Attribute
Attribute
e Last_
nam
First_ nam
e
her_ID Specialization_
Teac info
Entity Teacher
Cardinality
Modality : Must
Entity
Conducts
Attribute
Modality : Optional
Handouts
Attribute
Course
Homework
Attribute
Course_code
Course_
Schedule syllabus
Location
Technical
Publishes Books
Publication
Employs Specialized
in
cust branch
acct. acct.
Category_id
roll no. Semester name dept._no. name Qualification
category_name
to
Category
cart_id
has
quantity
total bill
has
Subject_id teaches
enrolls
cart_item
exam._id Year/Sem
products
added
to
subject name subject_id
shopping
online
of Subject
buys
Examination
Schedules Examination
section
consists
of
logging
exam._id Supervisor
in
Time table exam._id grade
Subject_id
Semester Subject_id
phone
cart
address
password
supervisor exam._id
has Result roll_no.
customer
time date room
payment
makes
done
email_ID
for
gets
last_name
firstname
username
payment_id
payment_
amount
type
Level 0 DFD
0
x
z
Process Entity A nformation Entity B
y system
Data store
Level 1 DFD
1
Flow of data (may be input
data of output data) x
Process
Entity A
P Entity B
External
entity y 2 3 z
R Q
Data store Process Process
Process
V W
2.3 2.2
y
Q
T
Process Process
R
Data store
U
Level 3 DFD
S
2.2.1
Process
U
S3
S1
2.2.2 2.2.3
T S2 Q
Process Process
Correct
way
Source Sink Source Sink
xy xy
Correct
way
xy xy
Correct
way
Correct
way
0.0
Book request
Library Demanded
Student Library card Information Display of
System book Info Book
Book
1.1
Book request Book
Student Get Book shelf
book
Book
Shelf number
and book info/no.
Mana
g
report ement Restaurant
manager
Formatted
Database of sold sold item data Formatted Inventory
items inventory data database
4.0
Generate
Info. about daily sold items Info. about daily inventory
management
and amount report depletion amount
Management Restaurant
report manager
1.1
Food
order
1.2
Sold Inventory
items data
4.2
Aggregate
inventory
data
and sold items ks Books Info.
Places 1.0 Boo s
il
Customer
order deta
Verification
Inventory and of order Credit
sold items list Customers details
ratings
4.3 Order
Compute the
Pending order
total price
of each item Batch of
orders
2.0
Inventory and sold
items list Batch Purchase
Assemble order Publisher
of orders order
Shipping
4.4 note
Prepare
Management Restaurant List of
management
report manager corresponding
report
publishers
Publishers
Purchase orders
3.0
Verify
shipment
Pending orders
Batch
of orders
0.0
2.1 Booking Reservation
Online hotel
details reservation details
Customer Hotel
Get total copies system
per title
Charges
2.2
1.0
Prepare purchase Purchase Booking Customer
Publisher
order order details Processing details
Customer request
Hotel names
List of Charges
corresponding Hotels details
Room , time,
publishers charges, available
Suitable info.
details
Publishers
2.3
1.0
Store
P.O. details Confirmation
Reservation Reservation
of Hotel
details details
reservation
Batch of
orders
Purchase orders
1.1
Invalid Card reader
Customer Accept Customer details returns card
request
Screen
Verify
Card
pin and
Booking details reader Ac. no and AC. No.
PIN On
1.2 IN
Hotel name dP validity
o an of card Control
.n system
Check Room types Hotels' detail Ac
availability Customer Command Display
Availability keypad customer
for service options
selection
Booking details
1.3
Charges Selects Balance Prepare Printout
Calculate service enquiry printout dispenser
charges
Account
info Account
info
Account database
Accounts database
Customer
keypad Screen
Printout
ATM
dispenser
Control Cash
system dispenser
0.0
Reservation Online Reservation
Passenger railway Railway
Card details details details office
reservation
reader
system
Fare amount
1.0
Reservation Passenger
Passenger Processing Passenger database
details request details
Calculated Ra
ilw
fare amount ay
Sta na
tion me
s s
Sea 0.0 Photocopy
t, tim Command for
Cha e
Photocopy Photocopy
rges
av Reservation machine
Suitable Info. ailabilit details
details y
1.1
Confirmation Photocopy
Reservation of Reservation
details Railway office
reservation details
of reserved
seats Invoke
1.1 1.2 1.3
Command for for Paper jammed
Reading Making Diagnose
Photocopy copying
commands copies problem
Invoke input
2.1 Invo
Command for ke
Reading for
Photocopy copy
commands ing 2.2 Copies 2.3 Photocopies
Manage Produce
In done user
vo copying
ke display
pa Pa
pe Invoke pe
r rj
reload am Report
paper m about
ed
problem
diagnosis
2.4
g
Reload rel oadin
paper 2.5
Diagnose
problem
Photocopies
Stop
Reading done
Making
Invoke read Invoke next input copying
input Invoke for
making copy Invoke
reload 0.0
Start Reading paper Display
commands Participates College Program
Invoke and Paper Student gathering gathering
Reload jammed schedule
manage paper system schedule
copying
gets date/ time/
venue
Not jammed invoke next input Diagnose
problem
0.0
Student
Name and Processing Participation Student
participation request info details
info
Checking
availability Program
of timing details info
slot
Temperature 2.0
Patient monitoring Nurse Scheduling Program Display
system for the gathering schedule
schedule
program
1.1
Registering
Participation name, Student
Student
info performing details
Periodically details
Admissible pa Na
Patient reads temperature Patient bounds rti m
ci e
temperature Actual inf pati
o on
temperature 1.2
Cancelling Checking
entry empty
Patient slot
sign
controlling
2.1
Car record
New
Reservation
customer
record
record
2
Car information
Payment Account
Rental fee department
Rent car
Reservation no.
Card
read successfully
Choosing Ejecting
transaction card
Transaction
chosen Performing
transaction Finished
Another transaction transaction
Timed out
Cooking complete
ATM machine Banking service
Customer
Insert card
Display balance
Eject card
ATM machine Banking service
Customer
Insert card
Display balance
Eject card
Attendance View attendance
Take attendance
Teacher Maintenance
System
Monthly report
E - mail to student
Photo < Student Name > e - mail
Hotel management system
Cancellation
Maintenance
Report generation
Logs in
Make
reservation
Receptionist
Customer
Make
Check for Display Select the payment
room availability status room
By cash By credit
card
Cancel
Reservation
Handles
Registration Hospital database
Patient management Administrator
system
Bill and
discharge
Patient Appointment and Registration Form
Patient's Information :
Name Phone
Address Email
Type of Patient
(OPD/IPD)
Medical History
(If any)
SUBMIT CLEAR
Name of Medical Store
Registration ID : Date :
Address :
Phone :
1.
2.
3.
4.
Signature
Mapping of analysis to design model
ts Flow Class-based
m en ori elements
ele en Component
sed Data flow te
d Flow-oriented Com-
ba Usecases diagram el level ponent
elements
design
-
Usecase diagram Control flow level
r io
em
Behavioral
na
design
en
Activity diagram diagram elements
S ce
ts
Processing Scenario-based
Swimlane Interface
narratives elements
diagram design
Analysis Flow-oriented Interface
Class diagram model elements design
State
Behavioral
Analysis diagrams Architectural design
elements
Cla
package Sequence
diagram Flow-oriented
sbs
CRC models elements Architectural
ts
as
Collaboration Class-based design
en
d Data/class diagram
e
ele m
me diagrams ele elements
nts al
v ior Class-based Data/ class
Beha elements diagram Design model
TM
Cost to
integrate
M
Effort or cost
Total number of
modules must be
within this region.
It is a region of
minimum cost
Cost/ module
Region of under - Region of
modularity over-modularity
Number of
modules
Class diagrams Use cases Class diagrams
High Requirements :
Analysis package Use case Analysis package
Constraints
CRC models diagrams CRC models interoperability
Collaboration Activity diagram Collaboration targets and
diagrams Swimlane diagrams configuration
DFD diagram DFD
CFD Collaboration CFD
Processing diagram Processing
narratives State diagram narratives Analysis
Sequence State diagrams model
diagram Sequence
dimension
diagrams
Design class
realizations Technical
subsystems interface design Component
Abstraction
collaboration Navigation design diagrams
diagrams Design class
GU design Design classes realization
Activity diagram Collaboration
Sequence diagram
diagram Component
diagram
Design classes
Design
Refined to : Activity diagram model
Component Sequence
diagram diagram
Design classes
Activity diagram
Deployment
Sequence diagram
diagrams
Low
Architecture Interface Component level Deployment level
elements elements interface interface
Process dimension
Component
Interface
Order Form
Dependency
relation
Mobilephone
Client-PC
Web Web
browser browser
Decision maker
worker
Client Client
software software
Client Client
software Data store software
Client Client
software software
Filter Filter
Filter Filter
Pipes
Filter
Main
Fan out
Controller
Filter Filter Filter Filter Filter a b c sub programs
Application
d g k m n sub programs
e h i l o p q
Fan in
f j r
Attributes Attributes
Messages
Operations Operations
User interface
layer
Application
layer
Utility
layer
Core
layer
Components
performing
various operations
Get student Calling module
details
Students Field
record valid
Field
Symbol for
showing decisions READ EDIT FIELD
Start of
process
Release
Release
Release
Interface
Implementation
design
User
Interface
design
Aesthetic design
Content design
Navigation design
Architecture design
Component design
Technology
Aesthetic design issues
Architecture design
(a) Linear (b) Linear with optional flow (c) Linear with diversions
User goes through the
sample pages
About author
TM
Interfaces
System Module Local data
testing System engineering to be Generating
structures
Various tested Boundary condition
modules
Validation in program Independent path
Requirements
testing Error handling paths
Test
Integration cases
Design
testing
Unit
testing Code
Driver Interface
Local data structures
Boundary conditions
Independent paths
Module Error handling paths
Results
Regression testing
Smoke testing M1
M2 M6
M3 M4 M5 M7
M1
D1 D2
Cluster 1
Cluster 2
Statement 1
Sequence
Statement 2
if
True false
If - else
while
True
False While
Case 1 Case n
Case 2
Case
1
4 III
6 9 10
II
7
IV
11 regions
Predicate
if node
a>b
T F
temp = a R1 temp = b
if R3
c > temp Predicate
node
T F
R2
return
temp = c temp
if 1
a>b
T F
2 temp = a temp = b 3
T F
return
5 temp = c temp 6
1 2 3 4 5 6
1 1 1 2–1=1
2 1 1–1=0
3 1 1–1=0
4 1 1 2–1=1
5 1 1–1=0
6 2+1=3
1
while
3
if
T 6 F Input set
7 8
System
Output generated
Object Directed link Object
#1 #2
Node
weight
Undirected
link Parallel
links
Interface
design Component
testing
Aesthetic design
Configuration
Content design
testing
Component design
Technology
Quality of design
Quality of conformance
TM
Appraisal
cost
Internal
External
failure
failure
cost
Software Quality Assurance (SQA) tasks are associated with
Converted to
Project n
quality plan Works Define Measure Analyze Improve Control
for
Creates Project 3
quality plan
Project 2
quality plan Project quality
management
Project 1
quality plan
Supports
TM
Data
Program Re-engineering
Program modularization
structure
improvement
Structured Re-engineered
program data
Dirty source code
Restructure code
Final specification
Need for change
Change request
Evaluation of request
2.1.2
TM
Assess to
identify Implementation
gap
Development Quality
assurance
Measure
Feedback
benefits
Devops
Operations
Integration System testing
On CI server environment environment
Source code Unit tests, Integration System tests
security tests tests
Assessment Implementation
Feedback Measurement
Testing
Requirement gathering
and analysis Coding Integration
testing
Capture Design Prepare source Deployment
requirements code
Model the Functional
system testing Deployment and
Analyse Review the monitoring
requirements code
User acceptance
Documentation testing
Requirement Perform unit
specification testing
Performance
testing
Testing
Requirement gathering
and analysis Coding Integration
testing
Capture Design Prepare source Deployment
requirements code
Model the Functional
system testing Deployment and
Analyse Review the monitoring
requirements code
User acceptance
Documentation testing
Requirement Perform unit
specification testing
Performance
testing
TM
C2 Client
process
S1
C3
Network
Server
process
C6 S2 S3
C7
C4 C5 C8
Gather requirements
and identify the Search component Select component Validate component
component
ATM
Account server
Teleprocessing Accounts
ATM monitor database
ATM
Integration
Environment
Probability Services
Operating System
Hardware Platform
Environment Architecture
User Interface Layer
(Interface tool kit, Presentation Protocol)
CASE CASE CASE CASE CASE CASE CASE CASE CASE CASE
Tools Tools Tools Tools Tools Tools Tools Tools Tools Tools
Measure
Change Analysis
Add a test
Succeeds
If test
fails ?
Fails
Write some
production/correction
code
All tests
succeed
Cleanup code and
proceed with it
Repeat if necessary