Professional Documents
Culture Documents
IT2401
Fundamentals of
Software Engineering
fse@ict.cmb.ac.lk
Preparing for BIT 12/07/2001 1
Requirement Analysis and Specification
Requirement Definition
Requirement Analysis
Software Requirement
Specification
Requirement Validation
2
Requirement Types
Functional Requirements
Performance Requirements
Interface Requirements
Security Requirements
Exceptional Requirements
3
Requirement Analysis
Techniques
USER
Issue an item
Reserve an item
LIBRARIAN
Return an item 5
Software Requirement Specification
(SRS)
A Document which contain specification of
Application domain requirements
Functional requirements
Performance requirements
Interface requirements
Security requirements
Exceptional requirements
6
Functional Requirement Specification
Techniques
Pseudo Code
Decision Tables
Formal methods
7
Requirement Validation
8
1.
9
2.
In a hotel reservation system, customers can make
reservations on line for a hotel specifying the
accommodation requirements such as room type,
duration and number of rooms. The system selects a
suitable hotel and check the availability of rooms in
that hotel. Then the system calculates the charges and
send the reservation details including the required
charges to the customer. The customer confirms the
reservation. Then the system inform about this booking
details to the hotel.
The correct context diagram of this system would be:
10
(a)
Hotel
Customer Reservation
System Hotel
Confirmation
11
(b)
Hotel
Customer Reservation
System Hotel
12
* (c)
Hotel
Customer Reservation
System Hotel
Reservation details
Confirmation
13
(d)
Hotel
Customer Reservation
System Hotel
14
(e)
Hotel
Customer Reservation
System Hotel
Confirmation Charges
15
3.
Some of the functional requirements of the hotel
reservation system would be:
(a) Cancellation of a reservation
* (b) Accept a reservation request
customer.
16
4.
Prompt payer N Y N
New customer N N Y
Accept order X
Reject order X X
Refer to credit
manager
18
(b)
Credit facilities Y N N
Prompt payer N Y N
New customer N N Y
Accept order X X
Reject order X
Refer to credit
manager
19
(c)
Credit facilities Y N N
Prompt payer N Y N
New customer N N Y
Accept order X
Reject order X
Refer to credit X
manager
20
* (d)
Credit facilities Y N N
Prompt payer N Y N
New customer N N Y
Accept order X X
Reject order
Refer to credit X
manager
21
(e)
Credit facilities Y N N
Prompt payer N Y N
New customer N N Y
Accept order X
Reject order X
Refer to credit X
manager
22
5.
Requirement validation is an essential process which
should be carried out before proceeding to Design. The
aspects of requirements which must be checked during this
process are:
(a) validity, reusability, complexity and accuracy
(b) portability, flexibility, completeness and accuracy
* (c) validity, consistency, completeness and realism
25