Chapter9 - Analysing System
Chapter9 - Analysing System
Analyzing a System
Prepared by: Mr. KAY HENG
Objective
• Overview
• Key Concept of Analyzing a System
• Gathering the requirements
• Case study
• Functional requirement specification
• Use Case Analysis
• How do Business rules relate to Use Case?
• Nonfunctional requirements specification
• Defining Conceptual classes and relationship
• Question
Overview
• The phase is to address this basic question: what should the system
do?
• does not quite suffice for ‘real-life’ projects for a number of reasons
• there are still two parties: the user community, which needs some
system to be built and the development people, who are assigned to
do the work
Overview
• Develop a conceptual model of the system, listing the conceptual classes and
their relationships
Key Concepts of Analyzing a
System
• System Use Case
• How to fine system use case in business diagram
• Type of requirements
Gathering the requirements
• Define what the new system should do. The importance of doing this
correctly cannot be overemphasized
• The system will be built based on the information garnered in this
step, any errors made in this stage will result in the implementation
of a wrong system
• Once the system is implemented, it is expensive to modify it to
overcome the mistakes introduced in the analysis stage
• Requirements for a new system are determined by a team of analysts
by interacting with teams from the company paying for the
development (clients) and the user community, who ultimately uses
the system on a day-to-day basis.
• This interaction can be in the form of interviews, surveys,
observations, study of existing manuals, etc.
Gathering the requirements
• Register new members: The library receives applications from people who
want to become library members, whom we alternatively refer to as users
• Add books to the collection: When it is added to the collection, a book is
given a unique identifier by the clerk
• Issue a book to a member (or User): To check out books, a user (or member)
must identify himself to a clerk and hand over the books
• Record the return of a book: To return a book, the member gives the book to
a clerk, who submits the information to the system, which marks the book as
‘not checked out’
• Remove books from the collection: rom time to time, the library may
remove books from its collection
Case study
• Print out a user’s transactions : Print out the interactions (book checkouts,
returns, etc.) between a specific user and the library on a certain date
• Place/remove a hold on a book: The clerk then adds the user to a list of
users who wish to borrow the book. If the book is not checked out, a hold
cannot be placed
• Renew books issue to a member: The system must display the relevant
books, allow the user to make a selection, and inform the user of the result.
• Notify member of book’s availability: Customers who had placed a hold on a
book are notified when the book is returned.
Case study
• Case-based way of describing the uses of the system with the goal of
defining and documenting the system requirements
• Use cases have two or more parties: agents who interact with the
system and the system itself
• In our simple library system, the members do not use the system
directly. Instead, they get services via the library staff.
Use Case Analysis
• Definitional rules: explain what is meant when a certain word is used in the
context of the business operations
• Factual rules: explain what is meant when a certain word is used in the
context of the business operations
• Constraints: are specific conditions that govern the manner in which terms
can be connected to each other
• Derivations: are knowledge that can be derived from the facts and
constraints
Nonfunctional Requirement
specification
• Logical: Business rules attached to a use case. For example, the date in the
project registration must be the same date or before the project was
submitted