Professional Documents
Culture Documents
Analyze
Functional Non-functional
Requirement Requirement
Requirement
Specification
Analyzing Requirements
• Before we can create a design, we have to analyse the software
requirements first.
Midterm Project
Simple Library Borrow Record System
Analyzing Requirements
• Understand the requirements and extract the main functionality of
the software.
• Get the supplemental function and non-functional requirements
• Formulate other non-functional requirements that improves the
software requirements.
• Write all gathered requirements in “Requirement Specification Sheet”
Requirements Specification Sheet:
• From this customer requirements will turn into requirements
specification sheet. (click object to open)
INPUT
1 Library Record Record with Book Records of record.
corresponding Book Records Limited Entry
the Library System B. It is only limited to 20 records
It is composed of Student's Record:
Contains the detailed
ID Number
information about the student
Name
in this record. The user must Data Validity A. Information must be valid.
2 Student Record Course and Year Level
input the student's
Number of books borrowed
information and save it in this
Total Price of borrowed books
record
It is composed of Book's Record:
Book ID
Contains the detailed
Title
information about the book in
Author
this record. The selected book A. Information must be the same with the selected book.
Price Data Validity
3 Book Records will be saved in this record B. Information must be valid for Borrow/Return Date.
Duration Limited Entry
and also save the C. Record is limi ted to 5 only
Borrow Date
borrow/return data and its
Return Date
book status.
Status
Midterm Project
4. View Record
5. Exit
• Design Deliverables:
• Detailed Class Diagram
• Sequence Diagram
Design Flow – Class Diagram
For collection of data such as
Structures records, database, etc
Grouped by its
Classes functionality/responsibility
Design
Analyse each
requirements and
formulate its design Methods Functionality
based on its functionality
or purpose
Relation to other
Relationship classes
Design Flow – Class Diagram
For the sake of example, we will use the “Requirements Specification
Sheet” of Simple Library System. (click object to open)
INPUT
OUTPUT
No. Main Function Requirement Tasks Non Functional Items Detailed Remarks
Holds data for Student's A. Each record is unique and will not accept duplicate student
It is composed of Students' Record with Data Validity
1 Library Record Record with Book Records of record.
corresponding Book Records Limited Entry
the Library System B. It is only limited to 20 records
It is composed of Student's Record:
Contains the detailed
ID Number
information about the student
Name
in this record. The user must Data Validity A. Information must be valid.
2 Student Record Course and Year Level
input the student's
Number of books borrowed
information and save it in this
Total Price of borrowed books
record
• When you created your design based from requirements, it is not yet
the final design because there might be some changes in the design
that does not satisfy with the implementation. Therefore, any
changes must update the design.
Design – Sequence Diagram
• Sequence diagram is much more detailed diagram than class diagram
because it shows relationship between classes.
Requirements
Specification
Sequence Diagram
Class Diagram
Creating Sequence Diagram Flow