Complete Final Project Guidelins
Complete Final Project Guidelins
Version: 1.0
Date: October 10, 2012
Version: 1.0
Date: October 10, 2012
Revision History
This section describes the revision history of this document.
Date
Version
Description of Change
Author
1.0
Project
Office
Coordination
Distribution List
This section describes the distribution list for the recipients of this document.
Recipient
Role / Designation
Office
Contact Details
Version: 1.0
Date: October 10, 2012
TABLE OF CONTENTS
CHAPTER 1: FINAL PROJECT PROPOSAL ............................................................. 7
1.1 INTRODUCTION........................................................................................................... 7
1.2. PROJECT TITLE: ......................................................................................................... 8
1.3. PROJECT OVERVIEW STATEMENT: ............................................................................. 8
1.4. PROJECT GOALS & OBJECTIVES: ............................................................................. 10
1.5. HIGH-LEVEL SYSTEM COMPONENTS: ....................................................................... 10
1.6. LIST OF OPTIONAL FUNCTIONAL UNITS: ................................................................... 10
1.7. EXCLUSIONS: .......................................................................................................... 11
1.8. APPLICATION ARCHITECTURE: ................................................................................ 11
1.9. GANTT CHART: ........................................................................................................ 11
1.10. HARDWARE AND SOFTWARE SPECIFICATION: ....................................................... 12
1.11. TOOLS AND TECHNOLOGIES USED WITH REASONING: ............................................ 12
CHAPTER 2: FIRST DELIVERABLE ........................................................................ 13
2.1. INTRODUCTION........................................................................................................ 13
2.2. PROJECT/PRODUCT FEASIBILITY REPORT................................................................ 14
2.2.1. Technical Feasibility ....................................................................................... 14
2.2.2. Operational Feasibility ................................................................................... 14
2.2.3. Economic Feasibility ...................................................................................... 14
2.2.4. Schedule Feasibility ........................................................................................ 15
2.2.5. Specification Feasibility.................................................................................. 15
2.2.6. Information Feasibility ................................................................................... 15
2.2.7. Motivational Feasibility .................................................................................. 15
2.2.8. Legal & Ethical Feasibility............................................................................. 15
2.3. PROJECT/PRODUCT SCOPE ...................................................................................... 15
2.4. PROJECT/PRODUCT COSTING .................................................................................. 16
2.4.1. Project Cost Estimation By Function Point Analysis ..................................... 16
2.4.2. Project Cost Estimation by using COCOMO81 (Constructive Cost Model) 18
2.4.3. Activity Based Costing .................................................................................... 19
2.5. TASK DEPENDENCY TABLE ..................................................................................... 19
2.6. CPM - CRITICAL PATH METHOD............................................................................. 20
2.7. GANTT CHART ......................................................................................................... 23
2.8. INTRODUCTION TO TEAM MEMBER AND THEIR SKILL SET ........................................ 24
2.9. TASK AND MEMBER ASSIGNMENT TABLE ............................................................... 24
2.10. TOOLS AND TECHNOLOGY WITH REASONING ........................................................ 27
2.11. VISION DOCUMENT ............................................................................................... 27
2.12. RISK LIST .............................................................................................................. 28
2.13. PRODUCT FEATURES/ PRODUCT DECOMPOSITION ................................................ 29
CHAPTER 3: SECOND DELIVERABLE FOR OBJECT ORIENTED
APPROACH .................................................................................................................... 30
3.1 INTRODUCTION: ....................................................................................................... 30
3.1.1 Systems Specifications ..................................................................................... 31
3.1.2. Identifying External Entities ........................................................................... 32
Department of Computer Science & Information Technology.
Version: 1.0
Date: October 10, 2012
Version: 1.0
Date: October 10, 2012
Version: 1.0
Date: October 10, 2012
Version: 1.0
Date: October 10, 2012
1.1 Introduction
This guide will tell you how to prepare and submit the final project proposal that is the
documented work for the Project. A good project proposal must define the functional
and non-functional requirements in unambiguous statements, Scope of the Project,
Development Schedule, Development Process, Techniques, Tools, Platform with
reasoning. However, a professional and well-defined proposal should be composed
under the following headings;
Department of Computer Science & Information Technology.
a.
b.
c.
d.
e.
f.
g.
h.
i.
Version: 1.0
Date: October 10, 2012
Project Title
Project Overview Statement
Project Goals
Project Objectives
High Level System Components
a. Component No.1
b. Component No.2
c. Component No.3
d. Component No.4
i. ..
List of Optional Functional Units
Exclusions
Application Architecture
Gantt chart
Version: 1.0
Date: October 10, 2012
the mind of the reviewer. Work on your Project Overview so that you can avoid giving
this person the opportunity to say things like:
1.
2.
3.
4.
5.
6.
7.
8.
Registration #
Email Address
Signature
Project Goal:
Objectives:
Sr.#
1
2
3
4
5
6
Project Success criteria:
Research
Development Technology:
Object Oriented
Development
Structured
Version: 1.0
Date: October 10, 2012
Platform:
Web based
Distributed
Desktop based
Setup Configurations
Other_____________________
Approved By:
Date:
10
Version: 1.0
Date: October 10, 2012
1.7. Exclusions:
A list of the functional units, which will not be intended to be develop or discussed
during any point in the project development, should be present. Time constraints or lack
of resources for the fulfillment of the required task or any sort of other constraint
preventing the completion of the functional unit could be described here.
11
Version: 1.0
Date: October 10, 2012
each activity is delayed as much as possible as long as the earliest finish time of the
project is not compromised.
Based on the Work Breakdown Structure (WBS), a timeline or Gantt chart showing the
allocation of time to the project phases or iterations should be developed. This Gantt
chart would identify major milestones with their achievement criteria. It must contain
duration estimation of all the necessary activities to be carried out during the project
development along with the human resources responsible for the respective tasks.
Activity dependencies are also required to be mentioned in it.
Task Name
Duration
Start
Finish
billing
7 days
Thu 7/10/03
computing
8 days
Mon 7/14/03
Wed 7/23/03
accounting
3 days
Mon 7/14/03
Wed 7/16/03
marketing
10 days
Mon 7/21/03
Jul 6, '03
Predecessors W T
Fri 7/18/03
Fri 8/1/03 2
12
Version: 1.0
Date: October 10, 2012
2.1. Introduction
First deliverable is all about planning and scheduling of project. This deliverable must
contain following artifacts:
a. Project Feasibility
Department of Computer Science & Information Technology.
13
b.
c.
d.
e.
f.
g.
h.
i.
j.
k.
l.
Version: 1.0
Date: October 10, 2012
Project Scope
Project Costing
Task Dependency Table
Critical Path Method Analysis (CPM Analysis)
Gantt Chart
Introduction to team members
Tasks and member assignment table
Tools and Technologies
Vision Document
Risk List
Product Features
Technical
Operational
Economic
Schedule
Specification
Information
Motivational
Legal and Ethical
14
Version: 1.0
Date: October 10, 2012
economic feasibility. Therefore, economic feasibility can be divided into two parts; cost
estimates and benefit estimates. Cost estimates can further be alienated into development
or acquisition costs (one time) and maintenance and operation costs (ongoing). In order to
find development costs, break the project into tasks and use the lifecycle cost models.
Experienced costs gained from similar projects should then be used to make estimates.
The function point metric should be calculated.
Benefit estimates enclose tangible benefits and intangible benefits. Tangible benefits
would include reduced costs and increased revenues. However, information quality, job
satisfaction, and external standing are examples of intangible benefits.
2.2.4. Schedule Feasibility
Time is an important factor. The assessment and evaluation of the completion of a project
with the available staff and resources within time is very essential. Meeting deadlines and
milestones should always be kept in mind.
2.2.5. Specification Feasibility
Requirements are the features that the system must have or a constraint that must be
accepted for the customer. The question arises as to whether the requirements are clear
and definite. The scope boundaries must also be assessed.
2.2.6. Information Feasibility
The feasibility of information must be assessed regarding its completion, reliability, and
meaningfulness.
2.2.7. Motivational Feasibility
Evaluation of the client staff regarding the motivation to perform the necessary steps
correctly and promptly must occur.
2.2.8. Legal & Ethical Feasibility
Do any infringements or liabilities arise from this project? is the main focus of this
feasibility.
15
Version: 1.0
Date: October 10, 2012
16
Version: 1.0
Date: October 10, 2012
(Fi)]
Where count total is the sum of all FP entries obtained from above figure and
(Fi) is
value adjustment factor (VAF) is based on 14 general system characteristics (GSC's) that
rate the general functionality of the application being counted. Each characteristic has
associated descriptions that help determine the degrees of influence of the characteristics.
The degrees of influence range on a scale of zero to five, from no influence to strong
influence.
1.
2.
3.
4.
5.
6.
7.
Data communications
Distributed data processing
Performance
Heavily used configuration
Transaction rate
On-Line data entry
End-user efficiency
8.
9.
10.
11.
12.
13.
14.
On-Line update
Complex processing
Reusability
Installation ease
Operational ease
Multiple sites
Facilitate change
Finally, Total Project Cost and Total Project Effort are calculated given the average
productivity parameter for the system.
Department of Computer Science & Information Technology.
17
Version: 1.0
Date: October 10, 2012
Basic COCOMO
Type
Organic
Semi-Detached
Embedded
Effort
PM= 2.4 (KLOC)1.05
PM= 3.0 (KLOC)1.12
PM= 2.4 (KLOC)1.20
Schedule
TD= 2.5(PM)0.38
TD= 2.5(PM)0.35
TD= 2.5(PM)0.32
18
Version: 1.0
Date: October 10, 2012
Intermediate COCOMO
Type
Organic
Semi-Detached
Embedded
Effort
PM= 2.4 (KLOC)1.05 x M
PM= 3.0 (KLOC)1.12 x M
PM= 2.4 (KLOC)1.20 x M
PM= person-month
KLOC= lines of code, in thousands
M.- reflects 15 predictor variables, called cost drivers
The schedule is determined using the Basic COCOMO schedule equations.
People Required = Effort / Duration
2.4.3. Activity Based Costing
Activity-based costing (ABC) is a methodology that measures the cost and performance
of activities, resources, and cost objects. Resources are assigned to activities, then
activities are assigned to cost objects based on their use. Activity-based costing
recognizes the causal relationships of cost drivers to activities.
Activity-based costing is about:
Measuring business process performance, activity by activity.
Estimating the cost of business process outputs based on the cost of the resources
used in producing the product.
Identifying opportunities to improve process efficiency and effectiveness.
Activity costs are used as the quantitative measurement. If activities have unusually high
costs or vice versa, they become targets for re-engineering.
Activity-based management (ABM) is a broad discipline
19
Version: 1.0
Date: October 10, 2012
CPM models the activities and events of a project as a network. Activities are depicted as
nodes on the network and events that signify the beginning or ending of activities are
depicted as arcs or lines between the nodes. The following is an example of a CPM
network diagram:
Steps in CPM Project Planning
1.
Specify the individual activities.
2.
Determine the sequence of those activities.
3.
Draw a network diagram.
4.
Estimate the completion time for each activity.
5.
Identify the critical path (longest path through the network)
6.
Update the CPM diagram as the project progresses.
1. Specify the Individual Activities
From the work breakdown structure, a listing can be made of all the activities in the
project. This listing can be used as the basis for adding sequence and duration
information in later steps.
Department of Computer Science & Information Technology.
20
Version: 1.0
Date: October 10, 2012
21
Version: 1.0
Date: October 10, 2012
Activity
None
None
A, B
None
C, D, E
22
Start
End
Version: 1.0
Date: October 10, 2012
Activity
Duration ES
EF
LS
LF
TS
FS
13
13
12
13
13
13
17
13
17
17
22
17
13
23
Version: 1.0
Date: October 10, 2012
Based on the Work Breakdown Structure (WBS), a timeline or Gantt chart showing the
allocation of time to the project phases or iterations should be developed. This Gantt
chart would identify major milestones with their achievement criteria. It must contain
duration estimation of all the necessary activities to be carried out during the project
development along with the human resources responsible for the respective tasks.
Activity dependencies are also required to be mentioned in it.
Task
T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
Duration (days)
8
15
15
10
10
5
20
25
15
15
7
10
Dependencies
T1(M1)
T2, T4(M2)
T1, T2 (M3)
T1 (M1)
T4 (M5)
T3, T6 (M4)
T5, T7 (M7)
T9 (M6)
T11 (M8)
Consider the set of activities shown in figure. This table shows activities, their duration,
and activity interdependencies. From figure, you can see that Task T3 is dependent on
Task T1. This means that T1 must be completed before T3 starts. For example, T1 might
be the preparation of a component design and T3, the implementation of that design.
Before implementation starts, the design should be complete.
15 days
14/7/99
8 days
T1
M1
T9
5 days
25/7/99
T6
Department of Computer Science & Information Technology.
4/7/99
start
M3
T4
4/8/99
25/8/99
M4
M6
7 days
20 days
15 days
T7
T2
10 days
15 days
T3
25/7/99
M2
T11
10 days
T5
5/9/99
11/8/99
M7
15 days
M8
24
Version: 1.0
Date: October 10, 2012
4/7
11/7
18/7
25/7
1/8
8/8
15/8
22/8
29/8
5/9
12/9
19/9
Start
T4
Department of
T1Computer Science & Information Technology.
25
T2
M1
T7
T3
M5
T8
M3
M2
T6
Version: 1.0
Date: October 10, 2012
Task
T1
T2
T3
T4
T5
T6
Engineer
Jane
Anne
Jane
Fred
Mary
Anne
26
Version: 1.0
Date: October 10, 2012
T7
T8
T9
T10
T11
T12
Jim
Fred
Jane
Anne
Fred
Fred
Staff Allocation:
4/7
Fred
11/7
18/ 7
2 5/
1 /8
8 /8
1 5/ 8
22 /8
29/8
5/9
1 2/ 9
19 /9
T4
T8
T1 1
T1 2
Jan e
T1
T3
T9
Anne
T2
T6
Jim
T1 0
T7
Mary
T5
27
Version: 1.0
Date: October 10, 2012
technical requirements.
A Vision Document is the starting point for most software projects. It is the primary
deliverable and is therefore the first document produced in the planning process. The
main purpose of this document is to move the project forward into detailed project
planning and ultimately into development.
The Vision Document is designed to make sure that key decision makers on both sides
have a clear, shared vision of the objectives and scope of the project. It identifies
alternatives and risks associated with the project. Finally, it presents a budget for the
detailed planning phase for the stakeholders to approve.
The Vision document provides a high-level for the more detailed technical requirements.
There can also be a formal requirements specification. The Vision captures very highlevel requirements and design constraints to give the reader an understanding of the
system to be developed. It provides input to the project-approval process and is,
therefore, intimately related to the Business Case. It communicates the fundamental
"whys and what's" related to the project and is a gauge against which all future decisions
should be validated.
A project vision is meant to be changeable as the understanding of requirements,
architecture, plans, and technology evolves. However, it should be changing slowly and
normally throughout the earlier portion of the lifecycle.
It is important to express the vision in terms of its use cases and primary scenarios as
these are developed, so that you can see how the vision is realized by the use cases. The
use cases also provide an effective basis for evolving a test case suite.
Another name used for this document is the Product Requirement Document. There are
certain checkpoints that help to verify that the vision document is fulfilled.
Checkpoints:
Have you fully explored what the "problem behind the problem" is?
Is the problem statement correctly formulated?
Is the list of stakeholders complete and correct?
Does everyone agree on the definition of the system boundaries?
If system boundaries have been expressed using actors, have all actors been
defined and correctly described?
Have you sufficiently explored constraints to be put on the system?
Have you covered all kinds of constraints - for example political, economic, and
environmental?
Have all key features of the system been identified and defined?
Will the features solve the problems that are identified?
Are the features consistent with constraints that are identified?
28
Version: 1.0
Date: October 10, 2012
identifies, in decreasing order of priority, the events that could lead to a significant
negative outcome. It serves as a focal point for project activities and is the basis around
which iterations are organized
The Risk List is maintained throughout the project. It is created early in the Inception
phase, and is continually updated as new risks are uncovered and existing risks are
mitigated or retired. At a minimum, it is revisited at the end of each iteration, as the
iteration is assessed.
29
Version: 1.0
Date: October 10, 2012
3.1 Introduction:
Requirements engineering process provides the appropriate mechanism for understanding
what the customer wants, analyzing need, assessing feasibility, negotiating a reasonable
solution, specifying the solution unambiguously, validating the specification and
managing the requirements as they are transformed into an operational system. The task
of capturing, structuring, and accurately representing the user's requirements so that they
can be correctly embodied in systems which meet those requirements (i.e. are of good
quality).
Requirements elicitation
Requirements analysis and negotiation
Requirements specification
System modeling
30
Version: 1.0
Date: October 10, 2012
Requirements validation
Requirements management
31
Version: 1.0
Date: October 10, 2012
Introduction
This clause should contain brief Introduction of the system under discussion domain
knowledge. It can also contain company, its location, its historical background and its
current status in the market. The most important part of this clause is to give an overview
of the major business areas of the company. This overview must be very brief so that one
can get a birds eye view of the organization under study.
Existing System
This clause must be focusing on providing a comprehensive detail of main business areas
of the organizations that we have just mentioned in the previous clause. But here the
discussion should be more elaborative.
Organizational Chart
Organizational chart will be very much supportive to get a better overview of the
organizations business areas and their decomposition into different departments.
Scope of the System
The Scope may include the boundaries of the system under study. To what domain you
want to restrict your project must be clearly mentioned in this clause.
Summary of Requirements: (Initial Requirements)
An abstract is necessary at this stage to give an understanding of the initial requirements
of the system. This will show what high level requirements the proposed system must
address. This abstract will act as a foundation for the future analysis of the system.
3.1.2. Identifying External Entities
The identification of the external entities will be based on the information contained in
your Abstract. This identification is done after two phases. We will map the Green
wood case study to make things more comprehensible.
The Identification of External Entities is done in two phases.
a. Over Specify Entities from Abstract:
On the basis of the Abstract, one might identify the entities from the problem.
b. Perform Refinement:
After over specifying the entities, you have to refine them on the basis of your business
logic. For example, in this example we found the following entities more related to our
business logic;
3.1.3. Context Level Data Flow Diagram:
Context level data flow diagram contains only one process, representing the entire
system. The process is given the number zero and all external entities are shown on the
context diagram as well as major data flow to and from them. The diagram does not
contain any data stores.
3.1.4. Capture "shall" Statements:
Identify shall statements, as they would be all functional requirements.
3.1.5. Allocate Requirements:
Allocate the requirements in the use cases.
Department of Computer Science & Information Technology.
32
Version: 1.0
Date: October 10, 2012
3.2. Example:
Here is an example to explain all the above. We are taking the system of Green Wood
Company.
3.2.1. Introduction
Green Wood (GW) is a multinational company, which deals in manufacturing, delivery
and selling of sports goods and sports ware throughput the world. GW deals in almost all
types of support goods and has its manufacturing set-up in Sialkot, Pakistan. They have
their own products selling outlets and showrooms throughout the world. They also supply
their goods to other dealers on wholesale ordering basis. Currently GW is managing their
operations manually. GW management has decided to completely automate the whole
business processes of the company. Also in order to increase their sales, GW wants to
have fully automated system, which can support online 24x7 electronic buying and
selling.
3.2.2. Existing System
Business Organization
GW deals in following three main business areas:
Order Management
Customer Account Maintenance
33
Version: 1.0
Date: October 10, 2012
Order Processing
Shipping Department
Product Inventory
Accounts & Administration
CRM
MIS
HRM & Pay Roll
Sales & Marketing
34
Version: 1.0
Date: October 10, 2012
Phase III
Phase III covers a complete solution for Green Wood. Phase III includes remaining
business areas which are not developed in previous phases.
This document scope is limited to Phase I only.
3.2.4. Summary of Requirements:(Initial Requirements)
The purposed system must fulfill following requirements as follow:
3.2.4.1. Supplier Department Requirements
Order Management
1. Only registered customer could place order for goods. So a customer must be able to
register himself to the system by requesting for registration. There should have to be two
types of registration process, normal and privileged. Customer should provide his
personal, organizational, authorizer and payment details in the registration request
process. All the requests are to be viewed by the customer account administrator (CA).
CA could accept, reject and temporarily waive the requests on the basis of credentials
provided. If admin accept the registration request, a login information (Password, Id &
role) should be assigned and mailed to the corresponding customer. Similarly customer
could also request for the updating of his record. He could request for different types of
updating e.g. updating of his personal/shipping details, or upgrading of his status from
registered to privileged customer, or updating of his payment methodology. Customer
could also view his details for verification purposes and similarly CA could search any
customer detail and could also view the whole list of currently registered customers.
2. Both registered and privileged customers could order for goods. Customer places an
order by providing his ID and other order related details A complete order must contain
personal details of the customer, shipping information, product list along with product
quantity and payment details. Customer could make payment either through cash or
through a credit card. Accordingly invoice should be generated, and user should be given
the option to finally place the order and in the end confirmation receipt must be given to
the customer. Invoice contains the list of complete product along with their pricing
details. It also contains discounts, sales tax and total pricing details. User could also view
the status of their orders by providing the Order Number. Privileged customers could
also place the request for the updating of their orders if the orders are not shipped. They
could place request for the updating of shipping address and product quantity only.
Similarly the privileged customer could also place the request for the cancellation of the
order. But all these updating and cancellation requests are to be viewed by the Order
Administrator in order to accept, reject, or waive them.
3.Action List mechanism should be adopted for better notification/messaging services,
business interaction and control. An action event should be generated for a corresponding
administrator when a request is placed for updating of orders or customer details etc.
These actions could be generated by the Order Operator or through the updating process.
Department of Computer Science & Information Technology.
35
Version: 1.0
Date: October 10, 2012
Similarly on the other hand corresponding administrator could view his Action List
containing different actions, and correspondingly process these pending actions.
Similarly when the action processing is completed or if the action is just a notification
message then administrator could delete these actions from the action list. Actions List
configuration should be done by System Admin, who could add new action events and
delete any current event from the system.
4. Shipping Department ships the corresponding orders.
3.4.2.2. Product Inventory
Deals with addition, searching, updating of products and their stocks. Whenever a
product stock arrives, the Inventory Administrator updates the stocks of the products. He
could add new product in the inventory. He could also view, search and modify the
product details. The Admin could view the whole product list and their product
summaries.
3.4.2.3. Consumer Dealing Department Requirements
Deals with front office customer dealing related to goods sales and marketing.
Shopping Centre
Deals with customer registration and saver card administration
Also deals with customer buying and returning of goods
3.4.2.3. Product Stock Maintenance
Deals with addition, searching, updating of products and their stocks.
3.2.5. Identifying External Entities:
The identification of the external entities will be based on the information contained in
your Abstract. This identification is done after two phases. We will map the Green
wood case study to make things more comprehensible.
The Identification of External Interfaces is done in two phases.
Over Specify Entities from Abstract:
On the basis of the Abstract, one might identify the following entities from the Green
Wood case study.
Customer
Payment
Order
Account
Order Product
Credit Card
Shipment
Cheque
Invoice
Request
Product
Perform Refinement:
After over specifying the entities, you have to refine them on the basis of your Business
Department of Computer Science & Information Technology.
36
Version: 1.0
Date: October 10, 2012
Logic. For example, in this example we found the following entities more related to our
Business Logic;
Customer
Shipment
Inventory
Account
3.2.6. Capture "shall" Statements:
Para
#
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
2.0
2.0
2.0
2.0
2.0
2.0
3.0
3.0
3.0
Initial Requirements
A customer shall place order for goods
A customer shall register himself to the system
The system shall provide two types of registration process, normal and privileged
CA shall accept, reject and temporarily waive the requests on the basis of
credentials provided.
A customer shall login to the system and can change his password
System shall update the customers Request
System shall process different types of updating e.g. updating of his
personal/shipping details, or upgrading of his status from registered to privileged
customer, or updating of his payment methodology
A customer shall view his details for verification purposes
CA shallaccept, reject and temporarily waive the requests on the basis of credentials
provided.
System shall search any customer details
Both registered and privileged customers willorder for goods.
Customer shall make payment; either through cash or through a credit card
System shall generate invoice, confirmation receipt and finally will place order
User shall view the status of their orders by providing the Order Number
Privileged customers shallplace the request for the updating of their orders if the
orders are not shipped.
Privileged customer shall place the request for the cancellation of the order. But all
these updating and cancellation requests are to be viewed by the Order Administrator
in order to accept, reject, or waive them.
An action event "shall" be generated for a corresponding administrator when a request
is placed for updating of orders or customer details etc
Corresponding administrator "shall" view his Action List containing different actions,
and correspondingly process these pending actions
When the action processing is completed or if the action is just a notification message
then administrator "shall" delete these actions from the action list
37
Version: 1.0
Date: October 10, 2012
Initial Requirements
A customer will place order for goods
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
2.0
2.0
2.0
2.0
UC_Update_Request
UC_Change_Status
UC_View_Customer_Details
UC_Search_Customer
UC_Accept_Customer_Request
UC_Reject_Customer_Request
UC_View_Customer_Request
38
2.0
Version: 1.0
Date: October 10, 2012
2.0
3.0
3.0
UC_Update_Request
UC_Change_Payment_Details,
UC_Change_Status,
UC_Change_Personal_Details
UC_Create_Action,
UC_View_Action,
Highest
1.0
Highest
2.0
Highest
2.0
Highest
Initial
Requirements
Use
Case
ID
A
customer UC_1
will
place
order for goods
A
customer UC_2
shall register
himself to the
system
Customer will UC_3
make payment
either
through
cash or through a
credit card
System
will UC_4
generate invoice,
confirmation
receipt
and
finally will place
order
UC_PlaceOrder
UC_Registration_Request
UC_Pay_For_Order
UC_Invoice_Generation,
39
2.0
1.0
3.0
1.0
1.0
Version: 1.0
Date: October 10, 2012
UC_5
UC_Place_Order_Privleged
UC_6
UC_Place_Order_Request
UC_7
UC_Create_Action
UC_8 UC_Accept_Customer_Request
UC_9 UC_Reject_Customer_Request
UC_10 UC_View_Customer_Request
UC_11 UC_Update_Request
40
1.0
1.0
1.0
2.0
2.0
Version: 1.0
Date: October 10, 2012
UC_12 UC_Change_Payment_Details,
UC_13 UC_Change_Status,
UC_14 UC_Change_Personal_Details
UC_15 UC_View_Customer_Details
UC_16 UC_Search_Customer
UC_17 UC_Serach_Orders
UC_18 UC_Update_Request
41
2.0
1.0
3.0
3.0
Medium Privileged
customer shall
place the request
for
the
cancellation of
the order. But all
these
updating
and cancellation
requests are to be
viewed by the
Order
Administrator in
order to accept,
reject, or waive
them.
Lowest A
customer
shall login to
the system and
can change his
password
Lowest Corresponding
administrator
shall view his
Action
List
containing
different actions,
and
correspondingly
process
these
pending actions
Lowest When the action
processing
is
completed or if
the action is just
a
notification
message
then
administrator
shall
delete
these
actions
from the action
list
Version: 1.0
Date: October 10, 2012
UC_19 UC_View_All_Orders
UC_20 UC_Manage_Order
UC_21
UC_22 UC_Login,
UC_23
UC_24 UC_View_Action,
UC_25 UC_Delete_Action
42
Version: 1.0
Date: October 10, 2012
Category
B1
UC_Place_Order
Business
B1
UC_Registration_Request
Business
B1
UC_PlaceOrderRequest,
UC_PlaceCustomerRequest
Business
B1
Business
UC_Accept_Customer_Request
UC_Reject_Customer_Request
UC_View_Customer_Request
B1
UC_Login,
Business
B1
UC_Update_Request
Business
43
1.0
1.0
1.0
10
2.0
11
2.0
12
2.0
System
shall
process
different
types of updating
e.g. updating of his
personal/shipping
details,
or
upgrading of his
status
from
registered
to
privileged
customer,
or
updating of his
payment
methodology
A customer shall
view his details for
verification
purposes
System
shall
search any customer
details
Both registered and
privileged
customers
willorder
for
goods.
Customer
will
make
payment;
either through cash
or through a credit
card
System
will
generate
invoice,
confirmation receipt
and finally will
place order
Version: 1.0
Date: October 10, 2012
B1
UC_Change_Payment_Details,
UC_Change_Status,
UC_Change_Personal_Details
Business
B1
UC_View_Customer_Details
Business
B1
UC_SearchCustomer
Business
B1
UC_Place_Order_Privellged
Business
B1
UC_Pay_For_Order
Business
B1
UC_Invoice_Generation
Business
44
Version: 1.0
Date: October 10, 2012
actors and the system necessary to deliver the service that satisfies the goal. It also
includes possible variants of this sequence, e.g., alternative sequences that may also
satisfy the goal, as well as sequences that may lead to failure to complete the service
because of exceptional behavior, error handling, etc. The system is treated as a black
box, and the interactions with system, including system responses, are as perceived from
outside the system.
Thus, use cases capture who (actor) does what (interaction) with the system, for what
purpose (goal), without dealing with system internals. A complete set of use cases
specifies all the different ways to use the system, and therefore defines all behavior
required of the system, bounding the scope of the system.
Generally, use case steps are written in an easy-to-understand structured narrative using
the vocabulary of the domain. This is engaging for users who can easily follow and
validate the use cases, and the accessibility encourages users to be actively involved in
defining the requirements.
45
Version: 1.0
Date: October 10, 2012
Example:
46
Version: 1.0
Date: October 10, 2012
47
Version: 1.0
Date: October 10, 2012
Preconditions
Conditionals that must be true before the use case can begin to execute. Note that this
means the author of the use case document does not need to check these conditions
during the basic flow, as they must be true for the basic flow to begin.
Basic flow
Used to capture the normal flow of execution through the use case. The basic flow is
often represented as a numbered list that describes the interaction between an actor and
the system. Decision points in the basic flow branch off to alternate flows. Use case
extension points and inclusions are typically documented in the basic flow.
Alternate flows
Used to capture variations to the basic flows, such as user decisions or error conditions.
There are typically multiple alternate flows in a single use case. Some alternate flows
rejoin the basic flow at a specified point, while others terminate the use case.
Post conditions
Conditions that must be true for the use case to completed. Post conditions are typically
used by the testers to verify that the realization of the use case is implemented correctly.
48
Version: 1.0
Date: October 10, 2012
49
Version: 1.0
Date: October 10, 2012
4.1. Introduction:
Third deliverable is all about the software design. In the previous deliverable, analysis of
the system is completed. So we understand the current situation of the problem domain.
Now we are ready to strive for a solution for the problem domain by using objectoriented approach. Following artifacts must be included in the 3rd deliverable.
1.
2.
3.
4.
5.
6.
7.
8.
Domain Model
System Sequence Diagram
Sequence Diagram
Collaboration Diagram
Operation Contracts
Design Class Diagram
State Transition Diagram
Data Model
A product line definition will describe the domains necessary to build systems in the
product line.
What is domain modeling?
According to Rational Unified Process, or RUP, a domain model is a business object
model that focuses on "product, deliverables, or events that are important to the business
domain." A domain model is an "incomplete" business model, in that it omits individual
worker responsibilities. The point of domain modeling is to provide "the big picture" of
the interrelationships among business entities in a complex organization. The domain
model typically shows the major business entities, and the relationships among the
entities. A model that typically does not include the responsibilities people carry is often
referred to as a domain model.
It also provides a high-level description of the data that each entity provides. Domain
modeling plays a central role in understanding the current environment and planning for
the future.
50
Version: 1.0
Date: October 10, 2012
51
Version: 1.0
Date: October 10, 2012
useful in elaborating and detailing the dynamic design and the sequence and origin of
invocation of objects. Hence, the Sequence diagram is one of the most widely used
dynamic diagrams in UML.
4.4.1. Defining a Sequence diagram
A sequence diagram is made up of objects and messages. Objects are represented exactly
how they have been represented in all UML diagramsas rectangles with the underlined
class name within the rectangle.
Sequence diagrams describe interactions among classes in terms of an exchange of
messages over time.
4.4.2. Basic Sequence Diagram Symbols and Notations
Class roles
Class roles describe the way an object will behave in context. Use the UML object
symbol to illustrate class roles, but don't list object attributes.
Activation
Activation boxes represent the time an object needs to complete a task.
Messages
Messages are arrows that represent communication between objects. Use half-arrowed
lines to represent asynchronous messages. Asynchronous messages are sent from an
object that will not wait for a response from the receiver before continuing its tasks.
52
Version: 1.0
Date: October 10, 2012
Lifelines
Lifelines are vertical dashed lines that indicate the object's presence over time.
Destroying Objects
Objects can be terminated early using an arrow labeled "< < destroy > >" .
Loops
A repetition or loop within a sequence diagram is depicted as a rectangle. Place the
condition for exiting the loop at the bottom left corner in square brackets [ ].
53
Version: 1.0
Date: October 10, 2012
Objects
An object is shown as a vertical dashed line called the "lifeline". The lifeline represents
the existence of the object at a particular time. An object symbol is drawn at the head of
the lifeline, and shows the name of the object and its class underlined, and separated by a
colon:
objectname : classname
You can use objects in sequence diagrams in the following ways:
A lifeline can represent an object or its class. Thus, you can use a lifeline to model
both class and object behavior. Usually, however, a lifeline represents all the
objects of a certain class.
An object's class can be unspecified. Normally you create a sequence diagram
with objects first, and specify their classes later.
The objects can be unnamed, but you should name them if you want to
discriminate different objects of the same class.
Several lifelines in the same diagram can represent different objects of the same
class; but, as stated previously, the objects should be named that so you can
discriminate between the two objects.
A lifeline that represents a class can exist in parallel with lifelines that represent
objects of that class. The object name of the lifeline that represents the class can
be set to the name of the class.
Actors
Normally an actor instance is represented by the first (left-most) lifeline in the sequence
diagram, as the invoker of the interaction. If you have several actor instances in the same
diagram, try keeping them either at the left-most, or the right-most lifelines.
Messages
A message is a communication between objects that conveys information with the
expectation that activity will ensue; in sequence diagrams, a message is shown as a
horizontal solid arrow from the lifeline of one object to the lifeline of another object. In
Department of Computer Science & Information Technology.
54
Version: 1.0
Date: October 10, 2012
the case of a message from an object to itself, the arrow may start and finish on the same
lifeline. The arrow is labeled with the name of the message, and its parameters. The
arrow may also be labeled with a sequence number to show the sequence of the message
in the overall interaction. Sequence numbers are often omitted in sequence diagrams, in
which the physical location of the arrow shows the relative sequence.
A message can be unassigned, meaning that its name is a temporary string that describes
the overall meaning of the message and is not the name of an operation of the receiving
object. You can later assign the message by specifying the operation of the message's
destination object. The specified operation will then replace the name of the message.
Scripts
Scripts describe the flow of events textually in a sequence diagram.
You should position the scripts to the left of the lifelines so that you can read the
complete flow from top to bottom (see figure above). You can attach scripts to a certain
message, thus ensuring that the script moves with the message.
4.4.3. Example
A sequence diagram that describes part of the flow of events of the use case Place Local
Call in a simple Phone Switch.
55
Version: 1.0
Date: October 10, 2012
Example
In the Recycling-Machine System, the use case Print Daily Report keeps track of - among
other things - the number and type of returned objects, and writes the tally on a receipt.
The Report Generator control object decides the order in which the sums will be
extracted and written.
The behavior structure of the use case Print Daily Report is centralized in the Report
Generator control object.
This is an example of centralized behavior. The control structure is centralized primarily
because the different sub-event phases of the flow of events are not dependent on each
other. The main advantage of this approach is that each object does not have to keep track
of the next object's tally. To change the order of the sub-event phases, you merely make
the change in the control object. You can also easily add still another sub-event phase if,
for example, a new type of return item is included. Another advantage to this structure is
that you can easily reuse the various sub-event phases in other use cases because the
order of behavior is not built into the objects.
Decentralized control arises when the participating objects communicate directly with
one another, not through one or more controlling objects.
Example
In the use case Send Letter someone mails a letter to another country through a post
office. The letter is first sent to the country of the addressee. In the country, the letter is
sent to a specific city. The city, in turn, sends the letter to the home of the addressee.
The behavior structure of the use case Send Letter is decentralized.
Department of Computer Science & Information Technology.
56
Version: 1.0
Date: October 10, 2012
The use case behavior is a decentralized flow of events. The sub-event phases belong
together. The sender of the letter speaks of "sending a letter to someone." He neither
needs nor wants to know the details of how letters are forwarded in countries or cities.
(Probably, if someone were mailing a letter within the same country, not all these actions
would occur.)
The type of control used depends on the application. In general, you should try to achieve
independent objects, that is, to delegate various tasks to the objects most naturally suited
to perform them.
A flow of events with centralized control will have a "fork-shaped" sequence diagram.
On the other hand, a "stairway-shaped" sequence diagram illustrates that the controlstructure is decentralized for the participating objects.
A centralized control structure in a flow of events produces a "fork-shaped" sequence
diagram. A decentralized control structure produces a "stairway-shaped" sequence
diagram.
The behavior structure of a use-case realization most often consists of a mix of
centralized and decentralized behavior.
57
Version: 1.0
Date: October 10, 2012
58
Version: 1.0
Date: October 10, 2012
a particular use case, or a part of a use case. Along with sequence diagrams,
collaborations are used by designers to define and clarify the roles of the objects that
perform a particular flow of events of a use case. They are the primary source of
information used to determining class responsibilities and interfaces.
Unlike a sequence diagram, a collaboration diagram shows the relationships among the
objects. Sequence diagrams and collaboration diagrams express similar information, but
show it in different ways. Collaboration diagrams show the relationships among objects
and are better for understanding all the effects on a given object and for procedural
design.
Because of the format of the collaboration diagram, they tend to better suited for analysis
activities. Specifically, they tend to be better suited to depicting simpler interactions of
smaller numbers of objects. As the number of objects and messages grows, the diagram
becomes increasingly hard to read. In addition, it is difficult to show additional
descriptive information such as timing, decision points, or other unstructured information
that can be easily added to the notes in a sequence diagram.
4.5.1. Contents of Collaboration Diagrams
You can have objects and actor instances in collaboration diagrams, together with links
and messages describing how they are related and how they interact. The diagram
describes what takes place in the participating objects, in terms of how the objects
communicate by sending messages to one another. You can make a collaboration
diagram for each variant of a use case's flow of events.
A collaboration diagram that describes part of the flow of events of the use case Receive
Deposit Item in the Recycling-Machine System.
59
Version: 1.0
Date: October 10, 2012
60
Version: 1.0
Date: October 10, 2012
61
Version: 1.0
Date: October 10, 2012
thread of control.
4.7.1. Create Initial Design Classes
Start by identifying one or several (initial) design classes from the domain model, and
assign trace dependencies. The design classes created in this step will be refined,
adjusted, split and/or merged in the subsequent steps when assigned various "design"
properties, such as operations, methods, and a state machine, describing how the analysis
class is designed.
Depending on the type of the analysis class (boundary, entity, or control) that is to be
designed, there are specific strategies that can be used to create initial design classes.
4.7.2. Designing Boundary Classes
The general rule in analysis is that there will be one boundary class for each window, or
one for each form, in the user interface. The consequence of this is that the
responsibilities of the boundary classes can be on a fairly high level, and need then be
refined and detailed in this step.
The design of boundary classes depends on the user interface (or GUI) development tools
available to the project. Using current technology, it is quite common that the user
interface is visually constructed directly in the development tool, thereby automatically
creating user interface classes that need to be related to the design of control and/or entity
classes. If the GUI development environment automatically creates the supporting classes
it needs to implement the user interface, there is no need to consider them in design - only
design what the development environment does not create for you.
Additional input to this work are sketches, or screen dumps from an executable userinterface prototype, that may have been created to further specify the requirements made
on the boundary classes.
Boundary classes which represent the interfaces to existing systems are typically modeled
as subsystems, since they often have complex internal behavior. If the interface behavior
is simple (perhaps acting as only a pass-through to an existing API to the external
system) one may choose to represent the interface with one or more design classes. If this
route is chosen, use a single design class per protocol, interface, or API, and note special
requirements about used standards and so on in the special requirements of the class.
4.7.3. Designing Entity Classes
During analysis, entity classes represent manipulated units of information; entity objects
are often passive and persistent. In analysis, these entity classes may have been identified
and associated with the analysis mechanism for persistence. Performance considerations
may force some re-factoring of persistent classes, causing changes to the Design Model,
which are discussed jointly between the Database Designer and the Designer.
4.7.4. Designing Control Classes
A control object is responsible for managing the flow of a use case and thus coordinates
most of its actions; control objects encapsulate logic that is not particularly related to user
interface issues (boundary objects), or to data engineering issues (entity objects). This
logic is sometimes called application logic, or business logic.
Given this, at least the following issues need to be taken into consideration when control
classes are designed:
Department of Computer Science & Information Technology.
62
Version: 1.0
Date: October 10, 2012
Complexity:
Simple controlling or coordinating behavior can be handled by boundary and/or entity
classes. As the complexity of the application grows, however, significant drawbacks to
this approach surface:
The use case coordinating behavior becomes imbedded in the UI, making it more
difficult to change the system.
The same UI cannot be used in different use case realizations without difficulty.
The UI becomes burdened with additional functionality, degrading its
performance.
The entity objects may become burdened with use-case specific behavior,
reducing their generality.
To avoid these problems, control classes are introduced to provide behavior related to
coordinating flows-of-events
Change probability
If the probability of changing flows of events is low, or the cost is negligible, the extra
expense and complexity of additional control classes may not be justified.
Distribution and performance
The need to run parts of the application on different nodes or in different process spaces
introduces the need for specialization of design model elements. This specialization is
often accomplished by adding control objects and distributing behavior from the
boundary and entity classes onto the control classes. In doing this, the boundary classes
migrate toward providing purely UI services, and the entity classes toward providing
purely data services, with the control classes providing the rest.
Transaction management:
Managing transactions is a classic coordination activity. Absent a framework to handle
transaction management, one would have one or more transaction manager classes which
would interact to ensure that the integrity of transactions is maintained.
Note that in the latter two cases, if the control class represents a separate thread of control
it may be more appropriate to use an active class to model the thread of control.
4.7.5. Identify Persistent Classes
Classes which need to be able to store their state on a permanent medium are referred to
as 'persistent'. The need to store their state may be for permanent recording of class
information, for back-up in case of system failure, or for exchange of information. A
persistent class may have both persistent and transient instances; labeling a class
'persistent' means merely that some instances of the class may need to be persistent.
Identifying persistent classes serves to notify the Database Designer that the class
requires special attention to its physical storage characteristics. It also notifies the
Software Architect that the class needs to be persistent, and the Designer responsible for
the persistence mechanism that instances of the class need to be made persistent.
Because of the need for a coordinated persistence strategy, the Database Designer is
responsible for mapping persistent classes into the database, using a persistence
Department of Computer Science & Information Technology.
63
Version: 1.0
Date: October 10, 2012
In-memory storage
Flash card
Binary file
Database Management System (DBMS)
64
Version: 1.0
Date: October 10, 2012
Operations are required to support the messages that appear on sequence diagrams
because scripts; messages (temporary message specifications) which have not yet been
assigned to operations describe the behavior the class is expected to perform. An example
sequence diagram is shown below:
65
Version: 1.0
Date: October 10, 2012
exactly what is expected, such as getAddress. Better yet, simply let the operation name be
the name of the property which is returned or set; if it has a parameter, it sets the
property, if it has no parameter it gets the property. Example: the operation address
returns the address of a Customer, while address(aString) sets or changes the address of
the Customer. The 'get' and 'set' nature of the operation are implicit from the signature of
the operation.
Operations that are conceptually the same should have the same name even if different
classes define them, they are implemented in entirely different ways, or they have a
different number of parameters. An operation that creates an object, for example, should
have the same name in all classes.
If operations in several classes have the same signature, the operation must return the
same kind of result, appropriate for the receiver object. This is an example of the concept
of polymorphism, which says that different objects should respond to the same message
in similar ways. Example: the operation name should return the name of the object,
regardless how the name is stored or derived. Following this principle makes the model
easier to understand.
The return type:
The return type should be the class of object that is returned by the operation.
A short description:
As meaningful as we try to make it, the name of the operation is often only vaguely
useful in trying to understand what the operation does. Give the operation a short
description consisting of a couple of sentences, written from the operation user's
perspective.
The parameters. For each parameter, create a short descriptive name, decide on its class,
and give it a brief description. As you specify parameters, remember that fewer
parameters mean better reusability. A small number of parameters makes the operation
easier to understand and hence there is a higher likelihood of finding similar operations.
You may need to divide an operation with many parameters into several operations. The
operation must be understandable to those who want to use it. The brief description
should include the following:
The meaning of the parameters (if not apparent from their names).
Whether the parameter is passed by value or by reference
Parameters which must have values supplied
Parameters which can be optional, and their default values if no value is provided
Valid ranges for parameters (if applicable)
What is done in the operation.
Which by reference parameters are changed by the operation.
Once you have defined the operations, complete the sequence diagrams with information
about which operations are invoked for each message.
Define Operation Visibility
For each operation, identify the export visibility of the operation. The following choices
Department of Computer Science & Information Technology.
66
Version: 1.0
Date: October 10, 2012
exist:
Public: the operation is visible to model elements other than the class itself.
Implementation: the operation is visible only within to the class itself.
Protected: the operation is visible only to the class itself, to its subclasses, or to
friends of the class (language dependent)
Private: the operation is only visible to the class itself and to friends of the class
Choose the most restricted visibility possible which can still accomplish the objectives of
the operation. In order to do this, look at the sequence diagrams, and for each message
determine whether the message is coming from a class outside the receiver's package
(requires public visibility), from inside the package (requires implementation visibility),
from a subclass (requires protected visibility) or from the class itself or a friend (requires
private visibility).
Define Class Operations
For the most part, operations are 'instance' operations, that is, they are performed on
instances of the class. In some cases, however, an operation applies to all instances of the
class, and thus is a class-scope operation. The 'class' operation receiver is actually an
instance of a metaclass, the description of the class itself, rather than any specific instance
of the class. Examples of class operations include messages, which create (instantiate)
new instances, which return all instances of a class, and so on.
To denote a class-scope operation, the operation string is underlined.
A method specifies the implementation of an operation. In many cases, methods are
implemented directly in the programming language, in cases where the behavior required
by the operation is sufficiently defined by the operation name, description and
parameters. Where the implementation of an operation requires use of a specific
algorithm, or requires more information than is presented in the operation's description, a
separate method description is required. The method describes how the operation works,
not just what it does.
The requirements will naturally vary from case to case. However, the method
specifications for a class should always state:
What is to be done according to the requirements?
What other objects and their operations are to be used?
More specific requirements may concern:
How parameters are to be implemented.
Any special algorithms to be used.
Sequence diagrams are an important source for this. From these it is clear what
operations are used in other objects when an operation is performed. A specification of
67
Version: 1.0
Date: October 10, 2012
what operations are to be used in other objects is necessary for the full implementation of
an operation. The production of a complete method specification thus requires that you
identify the operations for the objects involved and inspect the corresponding sequence
diagrams.
4.7.7. Design Class Relationships
Composition Relationship
Each instance of type Circle seems to contain an instance of type Point. This is a
relationship known as composition. It can be depicted in UML using a class relationship.
Figure shows the composition relationship.
The black diamond represents composition. It is placed on the Circle class because it is
the Circle that is composed of a Point. The arrowhead on the other end of the relationship
denotes that the relationship is navigable in only one direction. That is, Point does not
know about Circle. In UML relationships are presumed to be bidirectional unless the
arrowhead is present to restrict them. Had I omitted the arrowhead, it would have meant
that Point knew about Circle. At the code level, this would imply a #include circle.h
within point.h. For this reason, I tend to use a lot of arrowheads.Composition
relationships are a strong form of containment or aggregation. Aggregation is a
whole/part relationship. In this case, Circle is the whole, and Point is part of Circle. However, composition is more than just aggregation. Composition also indicates that the
lifetime of Point is dependent upon Circle. This means that if Circle is destroyed, Point
will be destroyed with it. For those of you who are familiar with the Booch-94 notation,
this is the Has-by-value relationship.
In C++ we would represent this as shown in Listing 1.In this case we have represented
the composition relationship as a member variable. We could also have used a pointer so
long as the destructor of Circle deleted the pointer.
68
Version: 1.0
Date: October 10, 2012
Inheritance Relationship
A peculiar triangular arrowhead depicts the inheritance relationship in UML. This
arrowhead, that looks rather like a slice of pizza, points to the base class. One or more
lines proceed from the base of the arrowhead connecting it to the derived classes. Figure
shows the form of the inheritance relationship. In this diagram we see that Circle and
Square both derive from Shape. Note that the name of class Shape is shown in
italics. This indicates that Shape is an abstract class. Note also that the operations,
Draw () and Erase () are also shown in italics. This indicates that they are pure
virtual.
Italics are not always very easy to see. Therefore, as shown in Figure, an abstract class
can also be marked with the {abstract} property. Whats more, though it is not a
standard part of UML, I will often write Draw()=0 in the operations compartment to
denote a pure virtual function.
Aggregation / Association
The weak form of aggregation is denoted with an open diamond. This relationship
denotes that the aggregate class (the class with the white diamond touching it) is in some
way the whole, and the other class in the relationship is somehow part of that whole.
Figure shows an aggregation relationship. In this case, the Window class contains many
Shape instances. In UML the ends of a relationship are referred to as its roles. Notice
that the role at the Shape end of the aggregation is marked with a *. This indicates
Department of Computer Science & Information Technology.
69
Version: 1.0
Date: October 10, 2012
that the Window contains many Shape instances. Notice also that the role has been
named. This is the name that Window knows its Shape instances by. i.e. it is the name
of the instance variable within Window that holds all the Shapes.
There are other forms of containment that do not have whole / part implications. For
example, each window refers back to its parent Frame. This is not aggregation since it is
not reasonable to consider a parent Frame to be part of a child Window. We use the
association relationship to depict this.
Figure shows how we draw an association. An association is nothing but a line drawn
between the participating classes. In Figure 6 the association has an arrowhead to denote
Department of Computer Science & Information Technology.
70
Version: 1.0
Date: October 10, 2012
that Frame does not know anything about Window. Once again note the name on the
role. This relationship will almost certainly be implemented with a pointer of some kind.
What is the difference between an aggregation and an association? The difference is one
of implication. Aggregation denotes whole/part relationships whereas associations do not.
However, there is not likely to be much difference in the way that the two relationships
are implemented. That is, it would be very difficult to look at the code and determine
whether a particular relationship ought to be aggregation or association. For this reason, it
is pretty safe to ignore the aggregation relationship altogether. As the amigos said in the
UML 0.8 document: ...if you dont understand [aggregation] dont use it. Aggregation
and Association both correspond to the Has-by-reference relationship from the Booch-94
notation.
Dependency
Sometimes the relationship between a two classes is very weak. They are not
implemented with member variables at all. Rather they might be implemented as member
function arguments. Consider, for example, the Draw function of the Shape class.
Suppose that this function takes an argument of type Drawing Context.
Figure shows a dashed arrow between the Shape class and the DrawingContext
class. This is the dependency relationship. In Booch94 this was called a using
relationship. This relationship simply means that Shape somehow depends upon
DrawingContext. In C++ this almost always results in a #include.
Interfaces
There are classes that have nothing but pure virtual functions. In Java such entities are not
classes at all; they are a special language element called an interface. UML has
followed the Java example and has created some special syntactic elements for such
entities. The primary icon for an interface is just like a class except that it has a special
Department of Computer Science & Information Technology.
71
Version: 1.0
Date: October 10, 2012
denotation called a stereotype. Figure shows this icon. Note the type string at the
top of the class. The two surrounding characters are called guillemots (pronounced
Gee-may). A word or phrase surrounded by guillemots is called a stereotype.
Stereotypes are one of the mechanisms that can be used to extend UML. When a
stereotype is used above the name of a class it indicates that this class is a special kind of
class that conforms to a rather rigid specification. The type stereotype indicates that
the class is an interface. This means that it has no member variables, and that all of its
member functions are pure virtual. UML supplies a shortcut for type classes. Figure 9
shows how the lollypop notation can be used to represent an interface. Notice that the
dependency between Shape and DrawingContext is shown as usual. The class
WindowsDC is derived from, or conforms to, the Drawingcontext interface. This
is a shorthand notation for an inheritance relationship between
72
Version: 1.0
Date: October 10, 2012
Each state transition event can be associated with an operation. Depending on the object's
state, the operation may have a different behavior; the transition events describe how this
occurs.
The method description for the associated operation should be updated with the statespecific information, indicating, for each relevant state, what the operation should do.
States are often represented using attributes; the statechart diagrams serve as input into
the attribute identification step.
73
Version: 1.0
Date: October 10, 2012
Employee
is assigned
belongs to
runs
Supervisor
run by
Project
works on
uses
74
Version: 1.0
Date: October 10, 2012
4. Fill in Cardinality
From the description of the problem we see that:
Each department has exactly one supervisor.
A supervisor is in charge of one and only one department.
Each department is assigned at least one employee.
Each employee works for at least one department.
Each project has at least one employee working on it.
An employee is assigned to 0 or more projects.
75
Version: 1.0
Date: October 10, 2012
There are two many-to-many relationships in the rough ERD above, between Department
and Employee and between Employee and Project. Thus we need the associative entities
Department-Employee and Employee-Project. The primary key for DepartmentEmployee is the concatenated key Department Name and Employee Number. The
primary key for Employee-Project is the concatenated key Employee Number and Project
Number.
7. Identify Attributes
The only attributes indicated are the names of the departments, projects, supervisors and
employees, as well as the supervisor and employee NUMBER and a unique project
number.
8. Map Attributes
Attribute
Department
Name
Employee
Number
Entity
Department
Employee
Attribute
Supervisor
Number
Supervisor
Name
Entity
Supervisor
Supervisor
76
Employee
Name
Employee
Version: 1.0
Date: October 10, 2012
Project
Name
Project
Number
Project
Project
77
Version: 1.0
Date: October 10, 2012
78
Version: 1.0
Date: October 10, 2012
5.1. Introduction:
Analysis & Design Model for structured approach must contain following artifacts:
1.
2.
3.
4.
5.
79
Version: 1.0
Date: October 10, 2012
Cardinality
From the description of the problem we see that:
Each department has exactly one supervisor.
A supervisor is in charge of one and only one department.
Each department is assigned at least one employee.
Each employee works for at least one department.
Each project has at least one employee working on it.
An employee is assigned to 0 or more projects.
Identify Attributes
The only attributes indicated are the names of the departments, projects, supervisors and
employees, as well as the supervisor and employee NUMBER and a unique project
number.
Fully Dressed ERD
80
Version: 1.0
Date: October 10, 2012
81
Version: 1.0
Date: October 10, 2012
82
Version: 1.0
Date: October 10, 2012
83
Version: 1.0
Date: October 10, 2012
Level 1 DFD
Illegal Data Flows:
84
Version: 1.0
Date: October 10, 2012
Action
Process that occurs as a consequence of making a transition
Guidelines for developing a state transition diagram
Make a list of the different states of a system (How does the system behave?)
Indicate how the system makes a transition from one state to another (How does the
system change state?)
Indicate event
Indicate action
Draw a state transition diagram
Example
Full
power
Full power
do: set power
= 600
Timer
Waiting
do: display
time
Half
power
Number
Full
power
Half
power
Door
closed
Timer
Cancel
Door
open
Half power
do: set power
= 300
Operation
do: operate
oven
Set time
do: get number
exit: set time
Door
closed
Start
Enabled
do: display
'Ready'
Door
open
Waiting
do: display
time
Disabled
do: display
'Waiting'
85
Version: 1.0
Date: October 10, 2012
86
Version: 1.0
Date: October 10, 2012
User Input
Reversed String
Character Count
User Selection
User
User
Appended String
New String
User input
1
Validat
e the
input
Valid input
String
3
Ge t
user
selecti
on
choices
Reverse String
Selection
4
Revers
e
String
Reversed
String
User selection
2
Display
choice
s
Character
Count
Selection
Append String
Selection
String
5
Count
Charac
ters
Character
Count
New String
String
6
Appen
d
String
Appended
String
Level 1 DFD
Department of Computer Science & Information Technology.
87
Version: 1.0
Date: October 10, 2012
Level 2 DFD
String
4.2
Reverse
the String
Reversed String
String
5.1
Get String
String
5.2
Count
Characters
in String
Character Count
String
6.1
Get String
String
6.3
Combine
Strings
Appended String
String
4.1
Get String
6.2
Get new
String
New String
88
Version: 1.0
Date: October 10, 2012
String Conversion
Executive
Append
String
Controlle
r
Display
Choices
Get User
Selection
Validate the
Input
Reverse
String
Controller
Count
String
Controll
er
Processing
Controller
Read
Char.
Reverse
String
Input
String
Controlle
r
Get
Str
Appen
d Str
Get
new
Str
Display
Output
Increment
Count
89
Version: 1.0
Date: October 10, 2012
Flow chart
Box Diagram
Decision Table
Psuedocode
90
Version: 1.0
Date: October 10, 2012
91
Version: 1.0
Date: October 10, 2012
6.1. Introduction
A user interface design consists of three main parts:
Page elements should be visualized on paper before building them in the computer. Just
as you draw a site map to plan the site, use cartoons and storyboards to begin blocking
out the sites appearance and navigational scheme.
1.
2.
3.
4.
Site maps
Storyboards
Navigational maps
Traceability Matrix
92
Version: 1.0
Date: October 10, 2012
HOW?
Use a grid that puts the graphic representation above and the verbal description
below
Begin with loose thumbnail sketches and drawing for early design concepts.
Refine with tighter drawings and screen designs for presentation and testing.
Describe the interaction details and emotional responses verbally when no visual
representation is effective
Keep the medium loose and flexible in the conceptual design phase
These are the detailed screens, which pictorially represent the complete view of the
screens. There would be symbols representing the different elements of the screens and in
the end an index that would detail the symbols. Sample is given on the next page.
93
Version: 1.0
Date: October 10, 2012
S2: Username
T1:
S3: Password
T2:
B1: Submit
94
Version: 1.0
Date: October 10, 2012
95
Version: 1.0
Date: October 10, 2012
96
Version: 1.0
Date: October 10, 2012
7.1 Introduction:
This deliverable is based on the IEEE standard of software testing i.e. IEEE SOFTWARE
TEST DOCUMENTATION Std 829-1998. This standard describes a set of basic test
documents that are associated with the dynamic aspects of software testing (i.e., the
execution of procedures and code). The standard defines the purpose, outline, and content
of each basic document. While the documents described in the standard focus on dynamic
testing, several of them may be applicable to other testing activities (e.g., the test plan
and test incident report may be used for design and code reviews). This standard may be
applied to commercial, scientific, or military software that runs on any digital computer.
Applicability is not restricted by the size, complexity, or criticality of the software.
However, the standard does not specify any class of software to which it must be applied.
The standard addresses the documentation of both initial development testing and the
testing of subsequent software releases. For a particular software release, it may be
applied to all phases of testing from module testing through user acceptance. However,
since all of the basic test documents may not be useful in each test phase, the particular
documents to be used in a phase are not specified. Each organization using the standard
will need to specify the classes of software to which it applies and the specific documents
required for a particular test phase.
The standard does not call for specific testing methodologies, approaches, techniques,
facilities, or tools, and does not specify the documentation of their use. Additional test
documentation may be required (e.g., code inspection checklists and reports). The
standard also does not imply or impose specific methodologies for documentation
control, configuration management, or quality assurance. Additional documentation (e.g.,
a quality assurance plan) may be needed depending on the particular methodologies used.
Following are standard artifacts, which must be included in this deliverable:
1. Test Plan
2. Test Design Specification
3. Test Case Specification
4. Test Procedure Specification
5. Test Item Transmittal Report
6. Test Log
7. Test Incident Report
8. Test Summary Report
97
a.
b.
c.
d.
e.
f.
g.
h.
i.
j.
k.
l.
m.
n.
o.
p.
Version: 1.0
Date: October 10, 2012
The sections shall be ordered in the specified sequence. Additional sections may be
included immediately prior to Approvals. If some or all of the content of a section is in
another document, then a reference to that material may be listed in place of the
corresponding content. The referenced material must be attached to the test plan or
available to users of the plan.
Details on the content of each section are contained in the following sub-clauses.
7.2.2.1. Test plan identifier
Specify the unique identifier assigned to this test plan.
7.2.2.2. Introduction
Summarize the software items and software features to be tested. The need for each item
and its history may be included. References to the following documents, when they exist,
are required in the highest-level test plan:
a.
b.
c.
d.
e.
f.
Project authorization;
Project plan;
Quality assurance plan;
Configuration management plan;
Relevant policies;
Relevant standards.
In multilevel test plans, each lower-level plan must reference the next higher-level plan.
7.2.2.3. Test items
Identify the test items including their version/revision level. Also specify characteristics
of their transmittal media that impact hardware requirements or indicate the need for
logical or physical transformations before testing can begin (e.g., programs must be
Department of Computer Science & Information Technology.
98
Version: 1.0
Date: October 10, 2012
99
Version: 1.0
Date: October 10, 2012
100
Version: 1.0
Date: October 10, 2012
(e.g., delayed delivery of test items might require increased night shift scheduling to meet
the delivery date).
7.2.2.16 Approvals
Specify the names and titles of all persons who must approve this plan. Provide space for
the signatures and dates.
The sections shall be ordered in the specified sequence. Additional sections may be
included immediately prior to Approvals. If some or all of the content of a section is in
another document, then a reference to that material may be listed in place of the
corresponding content. The referenced material must be attached to the test plan or
available to users of the plan.
Details on the content of each section are contained in the following sub-clauses.
7.3.2.1 Test plan identifier
Specify the unique identifier assigned to this test plan.
101
Version: 1.0
Date: October 10, 2012
7.3.2.2. Introduction
Summarize the software items and software features to be tested. The need for each item
and its history may be included. References to the following documents, when they exist,
are required in the highest-level test plan:
a.
b.
c.
d.
e.
f.
Project authorization
Project plan
Quality assurance plan
Configuration management plan
Relevant policies
Relevant standards
In multilevel test plans, each lower-level plan must reference the next higher-level plan.
7.3.2.3. Test items
Identify the test items including their version/revision level. Also specify characteristics
of their transmittal media that impact hardware requirements or indicate the need for
logical or physical transformations before testing can begin (e.g., programs must be
transferred from tape to disk). Supply references to the following test item
documentation, if it exists:
a.
b.
c.
d.
e.
Requirements specification
Design specification
Users guide
Operations guide
Installation guide
Reference any incident reports relating to the test items. Items that are to be specifically
excluded from testing may be identified.
7.3.2.4. Features to be tested
Identify all software features and combinations of software features to be tested. Identify
the test design specification associated with each feature and each combination of
features.
7.3.2.5. Features not to be tested
Identify all features and significant combinations of features that will not be tested and
the reasons.
7.3.2.6. Approach
Describe the overall approach to testing. For each major group of features or feature
combinations, specify the approach that will ensure that these feature groups are
adequately tested. Specify the major activities, techniques, and tools that are used to test
the designated groups of features.
The approach should be described in sufficient detail to permit identification of the
major testing tasks and estimation of the time required to do each one. Specify the
Department of Computer Science & Information Technology.
102
Version: 1.0
Date: October 10, 2012
minimum degree of comprehensiveness desired. Identify the techniques that will be used
to judge the comprehensiveness of the testing effort (e.g., determining which statements
have been executed at least once).
Specify any additional completion criteria (e.g., error frequency). The techniques to be
used to trace requirements should be specified. Identify significant constraints on testing
such as test item availability, testing resource availability, and deadlines.
7.3.2.7. Item pass/fail criteria
Specify the criteria to be used to determine whether each test item has passed or failed
testing.
7.3.2.8. Suspension criteria and resumption requirements
Specify the criteria used to suspend all or a portion of the testing activity on the test items
associated with this plan. Specify the testing activities that must be repeated, when testing
is resumed.
7.3.2.9. Test deliverables
Identify the deliverable documents. The following documents should be included:
a. Test plan
b. Test design specifications
c. Test case specifications
d. Test procedure specifications
e. Test item transmittal reports
f. Test logs
g. Test incident reports
h. Test summary reports
Test input data and test output data should be identied as deliverables. Test tools (e.g.,
module drivers and stubs) may also be included.
7.3.2.10. Testing tasks
Identify the set of tasks necessary to prepare for and perform testing. Identify all inter
task dependencies and any special skills required.
7.3.2.11. Environmental needs
Specify both the necessary and desired properties of the test environment. This
specification should contain the physical characteristics of the facilities including the
hardware, the communications and system software, the mode of usage (e.g., standalone), and any other software or supplies needed to support the test. Also specify the
level of security that must be provided for the test facilities, system software, and
proprietary components such as software, data, and hardware. Identify special test tools
needed.
Identify any other testing needs (e.g., publications or office space). Identify the source for
all needs that are not currently available to the test group.
103
Version: 1.0
Date: October 10, 2012
7.3.2.12. Responsibilities
Identify the groups responsible for managing, designing, preparing, executing,
witnessing, checking, and resolving. In addition, identify the groups responsible for
providing the test items identified in 7.2.2.3 and the environmental needs identified in
7.3.2.11.
These groups may include the developers, testers, operations staff, user representatives,
technical support staff, data administration staff, and quality support staff.
7.3.2.13. Staffing and training needs
Specify test-staffing needs by skill level. Identify training options for providing necessary
skills.
7.3.2.14. Schedule
Include test milestones identified in the software project schedule as well as all item
transmittal events. Define any additional test milestones needed. Estimate the time
required to do each testing task. Specify the schedule for each testing task and test
milestone. For each testing resource (i.e., facilities, tools, and staff), specify its periods of
use.
7.3.2.15. Risks and contingencies
Identify the high-risk assumptions of the test plan. Specify contingency plans for each
(e.g., delayed delivery of test items might require increased night shift scheduling to meet
the delivery date)
7.3.2.16. Approvals
Specify the names and titles of all persons who must approve this plan. Provide space for
the signatures and dates.
The sections shall be ordered in the specified sequence. Additional sections may be
Department of Computer Science & Information Technology.
104
Version: 1.0
Date: October 10, 2012
included at the end. If some or all of the content of a section is in another document, then
a reference to that material may be listed in place of the corresponding content. The
referenced material must be attached to the test case specification or available to users of
the case specification. Since a test case may be referenced by several test design
specifications used by different groups over a long time period, enough specific
information must be included in the test case specification to permit reuse.
Details on the content of each section are contained in the following sub-clauses.
7.4.2.1. Test case specification identifier
Specify the unique identifier assigned to this test case specification.
7.4.2.2 Test items
Identify and briefly describe the items and features to be exercised by this test case.
For each item, consider supplying references to the following test item documentation:
a. Requirements specification
b. Design specification
c. Users guide
d. Operations guide
e. Installation guide
7.4.2.3. Input specifications
Specify each input required to execute the test case. Some of the inputs will be specified
by value (with tolerances where appropriate), while others, such as constant tables or
transaction files, will be specified by name. Identify all appropriate databases, files,
terminal messages, memory resident areas, and values passed by the operating system.
Specify all required relationships between inputs (e.g., timing).
7.4.2.4. Output specifications
Specify all of the outputs and features (e.g., response time) required of the test items.
Provide the exact value (with tolerances where appropriate) for each required output or
feature.
7.4.2.5. Environmental needs
7.4.2.5.1. Hardware
Specify the characteristics and configurations of the hardware required to execute this test
case (e.g., 132 character 24 line CRT).
7.4.2.5.2. Software
Specify the system and application software required to execute this test case. This may
include system software such as operating systems, compilers, simulators, and test tools.
In addition, the test item may interact with application software.
105
Version: 1.0
Date: October 10, 2012
7.4.2.5.3. Other
Specify any other requirements such as unique facility needs or specially trained
personnel.
7.4.2.6. Special procedural requirements
Describe any special constraints on the test procedures that execute this test case. These
constraints may involve special set up, operator intervention, output determination
procedures, and special wrap up.
7.4.2.7. Inter case dependencies
List the identifiers of test cases that must be executed prior to this test case. Summarize
the nature of the dependencies.
The sections shall be ordered in the specified sequence. Additional sections, if required,
may be included at the end. If some or all of the content of a section is in another
document, then a reference to that material may be listed in place of the corresponding
content. The referenced material must be attached to the test procedure specification or
available to users of the procedure specification.
Details on the content of each section are contained in the following sub clauses.
7.5.2.1. Test procedure specification identifier
Specify the unique identifier assigned to this test procedure specification. Supply a
reference to the associated test design specification.
7.5.2.2. Purpose
Describe the purpose of this procedure. If this procedure executes any test cases, provide
a reference for each of them. In addition, provide references to relevant sections of the
test item documentation (e.g., references to usage procedures).
7.5.2.3. Special requirements
Identify any special requirements that are necessary for the execution of this procedure.
Department of Computer Science & Information Technology.
106
Version: 1.0
Date: October 10, 2012
These may include prerequisite procedures, special skills requirements, and special
environmental requirements.
7.5.2.4. Procedure steps
Include the steps in 8.5.2.4.1. through 8.5.2.4.10 as applicable.
7.5.2.4.1. Log
Describe any special methods or formats for logging the results of test execution, the
incidents observed, and any other events pertinent to the test (see Clauses 9 and 10).
7.5.2.4.2. Set up
Describe the sequence of actions necessary to prepare for execution of the procedure.
7.5.2.4.3. Start
Describe the actions necessary to begin execution of the procedure.
7.5.2.4.4. Proceed
Describe any actions necessary during execution of the procedure.
7.5.2.4.5. Measure
Describe how the test measurements will be made (e.g., describe how remote terminal
response time is to be measured using a network simulator).
7.5.2.4.7. Restart
Identify any procedural restart points and describe the actions necessary to restart the
procedure at each of these points.
7.5.2.4.8. Stop
Describe the actions necessary to bring execution to an orderly halt.
7.5.2.4.9. Wrap up
Describe the actions necessary to restore the environment.
7.5.2.4..10. Contingencies
Describe the actions necessary to deal with anomalous events that may occur during
execution.
107
Version: 1.0
Date: October 10, 2012
7.6.1. Purpose
To identify the test items being transmitted for testing. It includes the person responsible
for each item, its physical location, and its status. Any variations from the current item
requirements and designs are noted in this report.
7.6.2. Outline
A test item transmittal report shall have the following structure:
a.
b.
c.
d.
e.
The sections shall be ordered in the specified sequence. Additional sections may be
included just prior to Approvals. If some or all of the content of a section is in another
document, then a reference to that material may be listed in place of the corresponding
content. The referenced material must be attached to the test item transmittal report or
available to users of the transmittal report.
Details on the content of each section are contained in the following sub clauses.
7.6.2.1. Transmittal report identifier
Specify the unique identifier assigned to this test item transmittal report.
7.6.2.2. Transmitted items
Identify the test items being transmitted, including their version/revision level. Supply
references to the item documentation and the test plan relating to the transmitted items.
Indicate the people responsible for the transmitted items.
7.6.2.3. Location
Identify the location of the transmitted items. Identify the media that contain the items
being transmitted. When appropriate, indicate how specific media are labeled or
identified.
7.6.2.4. Status
Describe the status of the test items being transmitted. Include deviations from the item
documentation, from previous transmittals of these items, and from the test plan. List the
incident reports that are expected to be resolved by the transmitted items. Indicate if there
are pending modifications to item documentation that may affect the items listed in this
transmittal report.
7.6.2.5. Approvals
Specify the names and titles of all persons who most approve this transmittal. Provide
space for the signatures and dates.
108
Version: 1.0
Date: October 10, 2012
109
Version: 1.0
Date: October 10, 2012
The sections shall be ordered in the specified sequence. Additional sections may be
included at the end. If some or all of the content of a section is in another document, then
a reference to that material may be listed in place of the corresponding content. The
referenced material must be attached to the test incident report or available to users of the
incident report.
Details on the content of each section are contained in the following sub clauses.
7.8.2.1. Test incident report identifier
Specify the unique identifier assigned to this test incident report.
7.8.2.2. Summary
Summarize the incident. Identify the test items involved indicating their version/revision
level. References to
the appropriate test procedure specification, test case specification, and test log should be
supplied.
7.8.2.3. Incident description
Provide a description of the incident. This description should include the following items:
a. Inputs
Department of Computer Science & Information Technology.
110
b.
c.
d.
e.
f.
g.
h.
i.
j.
Version: 1.0
Date: October 10, 2012
Expected results
Actual results
Anomalies
Date and time;
Procedure step;
Environment;
Attempts to repeat;
Testers;
Observers.
Related activities and observations that may help to isolate and correct the cause of the
incident should be included (e.g., describe any test case executions that might have a
bearing on this particular incident and any variations from the published test procedure).
7.8.2.4.Impact
If known, indicate what impact this incident will have on test plans, test design
specifications, test procedure specifications, or test case specifications.
111
Version: 1.0
Date: October 10, 2012
7.9.2.2. Summary
Summarize the evaluation of the test items. Identify the items tested, indicating their
version/revision level. Indicate the environment in which the testing activities took place.
For each test item, supply references to the following documents if they exist: test plan,
test design specifications, test procedure specifications, test item transmittal reports, test
logs, and test incident reports.
7.9.2.3. Variances
Report any variances of the test items from their design specifications. Indicate any
variances from the test plan, test designs, or test procedures. Specify the reason for each
variance.
7.9.2.4. Comprehensiveness assessment
Evaluate the comprehensiveness of the testing process against the comprehensiveness
criteria specified in the test plan if the plan exists. Identify features or feature
combinations that were not sufficiently tested and explain the reasons.
7.9.2.5. Summary of results
Summarize the results of testing. Identify all resolved incidents and summarize their
resolutions. Identify all unresolved incidents.
7.9.2.6. Evaluation
Provide an overall evaluation of each test item including its limitations. This evaluation
shall be based upon the test results and the item level pass/fail criteria. An estimate of
failure risk may be included.
7.9.2.7. Summary of activities
Summarize the major testing activities and events. Summarize resource consumption
data, e.g., total staffing level, total machine time, and total elapsed time used for each of
the major testing activities.
7.9.2.8. Approvals
Specify the names and titles of all persons who must approve this report. Provide space
for the signatures and dates.
112
Version: 1.0
Date: October 10, 2012
Appendixes:
113
Version: 1.0
Date: October 10, 2012
In the Rational Unified Process (RUP), workshops are used at several key stages, but
these must be complemented by the kinds of activities Gould describes if an accurate
picture is to be differently from how they do it. Commonly performed tasks and
seemingly unimportant details such as placement of work or the existence of
"mysterious" scraps of paper are often forgotten, or omitted because they are not
"officially" part of the current process.)
114
Version: 1.0
Date: October 10, 2012
Within the RUP, this framework can be established by using a domain model to ensure
that all terminology and concepts that will appear in the user interface are known and
understood within the business in general and with users in particular. (There will also be
subsets of the domain model that will be relevant only to specific groups of users. Care
should be taken to ensure that the domain model is organized so that these subsets can be
easily identified.) As user-interface design progresses in the requirements discipline,
many of the domain classes will be represented as boundary classes in the interface. The
boundary classes, and the relationships between them, should be consistent with the
domain model and should be represented consistently through all parts of the system
under design. (This not only assists users, but also improves reuse of user-interface
components.)
1.6. Guidelines
Following guidelines must be kept in mind while working on user interface design:
User Control
The user must feel like he or she is controlling the application, rather than feeling
controlled by the application. To accommodate this perspective, the application must be
able to respond to any appropriate task requests at any time. For example, if any process
demands some processing time we can show progress bar on the status bar.
The user must control every thing about an application, including things like colors,
fonts, and so on.
Directness
User should be able to see the direct results of actions that they take in your applications,
for example, if your user wants to print a document, he or she will need to drag the
Department of Computer Science & Information Technology.
115
Version: 1.0
Date: October 10, 2012
documents icon to a printer. The pictures on your icons and text on icons must explain
functions to which that belong.
Consistency
An application must be consistent with the operating System. Windows provides
numerous features that can aid in consistency, including standard menus, icons, and
dialogs. For example file open and save file dialog are same most of the applications
designed for windows.
An application must also be internally consistent. For example, fonts, text boxes, colors,
messages, size, and optional marks action etc.
Forgiveness
Your software applications must be very forgiving to users who undoubtedly will make
errors. For example user can click cross button on the title bar of the window by mistake
word handles this situation by asking user once again.
Application must handle wrong entries to the application and guide students by
displaying some messages.
Application must be terminated properly
Feedback
Your application should appropriately communicate with your users and inform them
when the application is finished, busy, or in any other critical status.
These cues can be combination of both visual and audio, increasing the likelihood that
users understand them.
We can use change in mouse pointer, color variation, Message boxes and progress bar.
Status bar with proper message is also a good way to do this act.
Aesthetics
Users accept an interface to be visually appealing.
Graphics are now an essential element of interface design.
Place alike elements together, watch spacing of the spacing of interface elements so that
the screen does not appear too spread out.
Try to place graphics relevant to action on user interface.
Fonts, color and message style should be consistence
Window based Systems
Primary Window & Secondary Window
The primary window handles the major interaction with the user, and often contains an
arbitrary number of objects.
Secondary windows are used to support the interactions with primary windows by
providing details about their objects and operations on those objects.
The user typically interacts with the system by first selecting one or several objects, for
example by clicking on them, and then choosing an operation (for example, via a menu)
that is executed on all the selected objects. Common operations are Cut, Copy, Paste,
Delete, and View Properties.
The primary window normally contains a menu bar, from which users can choose
Department of Computer Science & Information Technology.
116
Version: 1.0
Date: October 10, 2012
operations. Users can also choose operations through pop-up menus (by pressing the right
mouse button on the object itself) and by direct manipulation (by clicking and dragging
the object).
Since the total number of objects may not fit within the primary window, users can often
scroll through the objects using a scroll bar, or resize the window.
The primary window can often be divided into panes (defining sub-areas of the window),
that the user can also resize.
(A primary window in Microsoft Outlook, showing a mail box. It contains objects like
mail messages.)
A composite object in a user interface is an object that is visually composed of
other objects. For example, a paragraph is a composite of characters, or a complex
drawing object is a composite of more primitive drawing objects.
Department of Computer Science & Information Technology.
117
Version: 1.0
Date: October 10, 2012
118
Version: 1.0
Date: October 10, 2012
(A dialog box in Microsoft Word 97, providing a find operation among paragraphs
and characters)
Many applications are filebased. Users can start these applications with the Open
operation on a file object (for example, by double-clicking a file icon in a folder). Their
primary window shows the objects stored in that file. Common operations on files are
Save, Save As, Open, New, which can usually be selected through a file menu in the
primary window. The primary window can also usually display multiple files (also called
Multiple Document Interface, or MDI), thereby allowing the user to switch between
different files.
(A file management window in Microsoft Windows 95, showing files and folders.)
Visual Dimensions
The key to really usable primary windows is to use the visual dimensions when
visualizing the contained objects and their attributes. The advantages of presenting more
attributes than are necessary for identification are that:
The user avoids window navigation overhead since you decrease the number of
windows that must be shown (when the user needs to see an attribute that is
presented in the primary window).
The user can see the different aspects (of different objects) at the same time,
which is often useful for comparisons and for starting to recognize patterns. A
Department of Computer Science & Information Technology.
119
Version: 1.0
Date: October 10, 2012
good use of the visual dimensions can encourage users to develop an entirely new
fingertip feeling for their work.
The visual dimensions are:
Position
Size
Shape
Color
These dimensions are presented below. However, beware of the available screen area
when designing the visualization of the objects. Try to make the overhead when
exploiting the screen area as small as possible, and consider if using several visual
dimensions is worth the extra expenditure of screen area. Maybe the user is better served
by just a list of names, because what the user really needs is to see as many objects as
possible.
Note that it is important to use these visual dimensions, or extend them, to be able to
uniquely identify objects.
Also note that the visual dimensions can be used in correlation with the time dimension,
for example by moving objects (their position is changed through time), or by changing
the shape or color of objects (their state is changed through time).
Position
The most intuitive aspects that position can present are real-world positions. Examples
are:
Geographical Information Systems (GIS) that display a map on which you present
the objects on the same longitude and latitude as they have in the real world;
Computer Aided Design (CAD) programs that present the objects and their
environment exactly according to their real-world coordinates;
"What You See Is What You Get" (WYSIWYG) editors that display the objects
(characters) in the same location on the window as they will appear on a paper printout.
Sometimes it is relevant to show real-world size (the CAD-program and WYSIWYG
editor examples), and sometimes it is not (for example, when the size of the objects is
much smaller than the distance between the objects).
For example, imagine we have a flight booking system where the user must enter
destinations. A possible presentation for this would be to display a map containing the
different airports (where an airport is an object). Naturally, since the real-world sizes of
the airports are irrelevant (as well as too small to be seen), all airports are shown as icons
that are the same size.
This example also illustrates that real-world positions can be used even if they are not
relevant, as long as they help the user to identify the objects. In the example, the user
doesn't need to know the location of an airport. But, if the user is familiar with
geography, it can be easier to find destinations on a map than in a list.
You can also use position to represent "virtual" real-world positions. For example,
imagine a home shopping system where the users can buy things from different stores. A
possible presentation for this would be to display a schematic picture of a (virtual) mall
on which the different stores are positioned (where a store is an object). This schematic
Department of Computer Science & Information Technology.
120
Version: 1.0
Date: October 10, 2012
picture has nothing to do with the real locations of these stores-it only exploits the user's
spatial memory: it is easier to remember an x-y position than it is to remember an item in
a list or hierarchy.
Another alternative use for position is to show associations between objects: all objects
that have the same vertical position are associated in one way, and all objects that have
the same horizontal position are associated in another way. Spreadsheets are an example
of this.
A similar alternative is to let one axis represent the value range of some attribute. For
example, in a travel booking system, booked flights (where a flight is an object) could be
presented along a horizontal time axis showing their relation in time, how long they will
last, and the length of time the user will stay at each destination. These are all things that
the user doesn't have to know, but they are nice to see if they can be presented
unobtrusively.
If you don't want to use so much screen area by presenting the whole value range, you
can collapse the distances between the objects. In the travel booking example, this would
mean that all booked flights are laid out horizontally with no spaces in between, but the
first flight is to the left, the second flight is immediately to the right of the first flight, and
so on. Users wouldn't see the length of time they could stay at each destination, but they
could see how long the flights would last.
Size
In many cases "size" must represent the same thing as position. In a CAD-system, for
example, size must naturally represent real-world extent. Sometimes, however, we are
free to choose what size should represent, for example the airports on the map that
supported the destination selection.
In these cases, size should represent what is most intuitively perceived as the real-world
size of the object. For a file, object size should represent amount of disk space occupied.
For a bank account, object size should represent balance. For most sizes, a logarithmic
scale is better than a proportional scale, since a proportional scale normally consumes too
much screen area.
Size is actually so intuitive that you can consider showing it even if it is not relevant.
After all, in the real world, different things (objects) occupy different proportions of our
visual field because of their different size. And that is not obtrusive; it only helps us
discriminate between the things. Similarly, using different sizes in the user interface will
often help users discriminate between different objects.
Size should normally be used to present only one attribute, even though it would be
possible to let horizontal extent present one attribute and vertical extent present another
(which is rather non-intuitive, and might confuse the user).
Either horizontal extent or vertical extent should be (logarithmically) proportional to the
attribute that size is to illustrate-the other extent should be fixed (or dependent on the
length of the name, for example). If both horizontal and vertical extent is proportional to
the same attribute, it seldom adds any value: it seems obtrusive and just consumes more
screen area.
121
Version: 1.0
Date: October 10, 2012
Shape
Icons in a graphical user interface normally represent shapes; shape is best used to
represent type because it is more intuitive to map out a difference in looks than it is to
map out a difference in type. In the real world, different objects of the same type of thing
normally look similar, while objects of different types look different. For example,
different objects of chair look similar (they all have four legs, a seat and a backrest),
while a car looks very different from a chair.
So, what are the criteria for when different objects are of different types? Well, different
classes should certainly be considered as different types. Also, some attributes are "typelike." These attributes must have a limited set of possible values and their value normally
determines what can be done with the object (in terms of operations and possible values
of other attributes). This is the same as in the real world-the most important difference
between chair and car is how they are used: a chair is used for rest and a car is used for
transportation.
However, when you analyze what should be considered different types, remember that
the most important thing is: which attribute will the user most likely perceive as a type.
If you don't have multiple classes or any "type"-like attribute, you can use icons to
represent the different values for some other limited-value attribute, but only if this
attribute is of central interest to the user.
Icons are also often used to show different states of the object (in addition to showing the
type). When you select an object, it is usually displayed in either of two ways: the color
changes to black, or it displays a rectangle around it. Another possible state is that you
have opened a property window for the object. Normally, you also have other application
specific states that could be displayed, such as whether or not e-mail has been read. Just
make sure that the presentation of state doesn't make it harder for the user to perceive the
type and vice versa.
Color
Color can be divided into three components, based on visual perception. These are: hue
(i.e., red, blue, brown, etc.), saturation, and darkness. However, you should not use
different components to represent different attributes, since this will be too difficult for
the user to perceive.
Hue could be used to represent type or attributes with a limited set of possible values.
However, it is better to use an icon for this, because the icon can be designed so that the
user understands what value it represents, while there is no such intuitive mapping out
between color content and (most types of) values. Hue can thus be used instead of icons,
if no intuitive icons can be found. An alternative if you have many type icons is to use
hue for categorizing the type icons (so that some icons with a similar meaning are red,
some with another meaning are blue, etc.).
Saturation could be used to represent an attribute with a value range, but this will lead to
a rather ugly and obtrusive user interface-using different saturation is unsettling to the
eye and using high saturation is rather obtrusive.
Darkness is the most usable component of color. It can be used to represent an attribute
with a value range, and it is so unobtrusive that it can be used also for attributes of
secondary importance. For darkness to be unobtrusive, you should not go from no
darkness (white) to full darkness (black) but only from low darkness (light gray) to high
Department of Computer Science & Information Technology.
122
Version: 1.0
Date: October 10, 2012
darkness (dark gray). For many systems where the users create most of the objects, it is
very useful to present objects according to age (e.g., the amount of time since the last
change). This helps users identify the object they want to work with (which is often the
object with the shortest "time since last change"). So, if you don't have a value-range
attribute that you really need to present to the user, consider presenting age.
Often color is used to make the icons more esthetically appealing and that also helps the
user quickly discriminate between the icons. If you provide multicolored icons, you
should probably not use color for other purposes.
Since some people are color blind, and since not all screens support color, you should not
use color as the only means of showing some vital information. On the other hand, a
well-planned and non-obtrusive use of color makes the user interface more esthetically
appealing.
Identification
The user must be able to uniquely identify each object. Sometimes the other visual
dimensions are enough for identification, but most often they are not. Displaying a name
within or close to the icon is the most popular technique for supporting identification.
The advantage of names is that a very small screen area can display a large number of
distinctly different names.
It is best if a name can be generated from an attribute value (that is normally textual). The
alternative is to let users specify the names when they create the objects, but this takes
some time, and thus reduces usability.
Sometimes you can shape the icon so that the name can be contained within the icon.
This saves screen area and provides a stronger indication of the relation between the icon
and the name. However, this can create the following problems:
The icon has to be empty in the middle (where the name appears);
Names have variable lengths, which means that either the icon's horizontal extent
must depend on the length of the name, or that some names must be truncated;
The icon must be much wider than it is high, since all text of reasonable length is
longer than it is wide.
As a result, you often have to display the name below or to the right of the icon, which
has the advantage that it consumes less screen area but the disadvantage that the object
(icon + name) becomes even wider than it is high. If you don't have enough space to
display the name at all (which is possible, because you can usually identify an icon
without naming it), you can display the name through pop-up windows that display when
the cursor is above the icon.
The font of the name can be used to display a limited-choice attribute, if you can find an
intuitive mapping between font and attribute values (for example, you could use bold or
italics to distinguish the object, or emphasize importance). In most cases, however, it is
not appropriate to use the font, since it's rather obtrusive and seldom intuitive.
If you show the name (or, for that matter, any other text that the user is allowed to
change), you should support editing the name directly in the primary window. The
alternative would be for the user to request a rename-operation and then enter the new
name, or to open the property window and edit the name there. Not only is it faster to edit
Department of Computer Science & Information Technology.
123
Version: 1.0
Date: October 10, 2012
the name directly in the primary window, but it also supports the principle "where you
see it is where you change it."
Power Find and Select
If the group of objects that should be changed/operated on is composed so that the user
can express selection criteria identifying them, the search tool of the primary window can
solve the problem by always selecting all criteria matches.
There are two possible ways of managing the search:
All objects to which the search criteria apply are selected in the primary window.
If you cannot guarantee that all found objects are shown simultaneously in the
primary window (because they may be too far apart), you can also display a hit
list in the search window. After a search, the user either specifies additional
search criteria or performs an operation on the selected objects. The advantage of
this approach is that it enables the user to order some operation on all objects
conforming to the search criteria.
You provide a "Search" button in the search window that selects the next object
conforming to the search criteria and scrolls the contents of the primary window
so that this object is visible. After a search, the user can perform an operation on
the selected object and then continue to search sequentially through the objects
conforming to the search criteria. The advantage of this approach is that the user
can see each found object in its surroundings (in the primary window rather than
in a separate hit list).
In many cases, you will want to combine the two cases, for example by including a
"Select All" button in the sequential search window or a "View Next" button in the
parallel search window.
Sorting
An example of sorting may be that the system arranges all objects vertically, in
alphabetical order by name or according to the value of an attribute. The user then
browses the objects by scrolling. This is the simplest possible browsing support both with
respect to implementation and to user operation. Sorting works best when the user always
knows the name (or the attribute that we sorted according to) of the object that is wanted.
An example of a system that should be implemented this way is a telephone book. The
primary window should often have an operation for changing the sorting order and/or
criteria.
User-Controlled Inheritance
An example of user-controlled inheritance is WYSIWYG-editors where you define what
"style" each paragraph belongs to and then define how this style (i.e., every character
belonging to this style) should be laid out.
A disadvantage compared to a search tool is that user-controlled inheritance supports
only change of attributes (and possibly associations) for multiple objects, but not the
performing of operations. Also user-controlled inheritance adds overhead in that the user
must explicitly define and maintain the groups (that is, the available styles). It is also a
more complicated concept.
However, if search criteria cannot be specified for the objects, or if the user needs to
Department of Computer Science & Information Technology.
124
Version: 1.0
Date: October 10, 2012
make relative changes to the attribute values (like increase by two), then providing usercontrolled inheritance may be a solution.
For user-controlled inheritance to be useful, the nature of the class must be such that the
objects can be categorized into groups (that have some logical meaning to the user) in
which most of the attribute values are the same.
An advantage compared to a search tool is that user-controlled inheritance supports
override (e.g., change the attribute value but only if it has not been explicitly defined in
the object). Also user-controlled inheritance can enable the user to make more generic
(and thus powerful) attribute value definitions (e.g., inherit the font from this style, but
make it two pixels bigger). User-controlled inheritance is particularly useful when the
groups have no easy-to-specify search criteria.
The class for which you will support user-controlled inheritance can either inherit itself
or you can create a new class from which purpose is to be inherited. Making the class
inherit itself is a little bit more powerful, since the same object can be used both to inherit
from and to do the things originally intended for the object, like being an invoice, being
an account, etc. This leads to fewer classes for the user (and the system) to manage. On
the other hand, creating a new class to inherit from has the advantage of being easier to
comprehend since inheritance is clearly separated from the normal operation of the class.
Creating a new class is the best solution in most cases, especially if the users have not
great experience with computers and object-oriented models. The new class you create
should preferably inherit itself to support multiple levels of inheritance.
For most systems, the user often has to change the inheritance group for particular objects
since the user does not know in advance exactly how the inheritance groups should be
structured. Provide an operation for that.
If you decide to support user-controlled inheritance in your system, analyze what things
(attributes, associations, class) need to be inherited and then support inheritance only for
these things. This will lead to a less generic but easier way (for both users and
developers) to manage functionality. Model those things that should be inherited in your
new class. Many attributes will then be modeled both in the inheriting class and in the
inherited class. Remember that user-controlled inheritance is meant to save time for the
user, not for you. If the class inherits itself, this implies that everything is inheritable.
Decide if the user really needs to create new objects of the inherited class or if the system
can provide a sufficient number of objects once and for all. Prohibiting the user from
creating new objects will greatly decrease the flexibility of inheritance but on the other
hand it will make it easier to operate.
Also decide if changes to numerical attributes in the inheriting objects should be
interpreted as relative to the inherited value or as fixed. Say, for example, that an object
inherits font size 12 and user changes it to 14. By relative interpretation, the system will
remember the object's font size as inherited value +2; that is, if the font size of the
inherited object changes the font size, the inheriting object will also change the font size.
If you support relative interpretation, it should be noted on the attribute of the inherited
object (because that's where you look when you want to examine inheritance). It is
important that the relative interpretation is presented to the user (e.g., "font size:
12+2=14," rather than just "font size: 14"). You can explore with scenarios to find
situations in favor of relative or fixed interpretation. You may have to support both.
Since user-controlled inheritance is only for intermediate and power-users, you must
Department of Computer Science & Information Technology.
125
Version: 1.0
Date: October 10, 2012
design it so that it will not interfere with normal use (e.g., when the user doesn't use
inheritance); otherwise, novice users will be intimidated.
Remember that the user-controlled inheritance you construct is intended to make life
easier for the user; it doesn't have to be generic or pure, but it has to be usable.
Browsing Hierarchies
A browsing hierarchy allows the user (or possibly the system) to categorize the objects
into primary windows or composites, which are organized hierarchically. Browsing
hierarchies ensures that the user only has to search one (or a few) categories. This reduces
the number of objects that have to be displayed at a given point in time. A drawback is
that the user (usually) has to manage the categorization. An example of this technique is
file browsers: the reason for having directories or folders is to help the user find files.
Window Management
Window size and position is usually in complete user control. You can, however,
consider reducing windowing overhead by letting the system influence size and position
of windows.
The bigger a primary window is, the more objects can be shown, but the more screen area
is also consumed. A primary window should normally show as many objects as possible
but without unnecessary consumption of screen area.
Make each primary window big enough that all objects can be shown, but not bigger than
the screen. Make each primary window big enough to show the whole objects but avoid
areas that don't show anything useful like the margins in a desktop publisher. Even if you
have space for showing these empty areas, they might obscure other applications.
Remember that a user resizes between sessions. If the number of objects increases,
increase window size so much that all objects are visible, unless it is already full screen
height or if the user has chosen a size that is smaller than the default. If the number of
objects decreases, decrease the size, unless the user has chosen a size greater than the
default. This rule ensures that you follow the intention of the user's resizing operations.
A possible further limitation on the size of a primary window is if you often need to use
the application in parallel with other applications. Then you might maximize default size
of the window to half screen (as opposed to full screen).
Make the default position of a primary window so that it obscures as little as possible of
other applications. If you have to obscure some windows, chose those that have been
unused for longest time, and try to leave at least a little bit of the windows visible so that
the user can easily activate them.
A disadvantage with applying the rules above is that it will take some amount of control
away from the user (the system will resize a window without being asked, and not
remember user repositioning between sessions). Therefore, if you apply these rules, you
should allow the user to switch them off (with a control).
For secondary windows, their size and position should be such that they don't obscure the
window they were called from and possibly so that they don't obscure other secondary
windows. If they must obscure the window they were called from, try to make sure that
they don't obscure selected objects. Obscuring vital things, like selected objects, is a
common usability flaw for secondary windows.
Department of Computer Science & Information Technology.
126
Version: 1.0
Date: October 10, 2012
For primary windows other than the main primary window, you should also apply the
sizing rule of the last paragraph.
Dialog boxes, however, should be placed so that they obscure the active window. Since
they are normally temporary and small, the user usually doesn't need to see the active
window while the dialog window is open. Placing dialog boxes over the active window
makes sure that the user acknowledges them, and decreases necessary mouse movement
since the cursor is normally already over the active window.
For property windows, the number of attributes determines the size. If the size is too big
(approximately 1/4 of the screen), you should use more tabs.
Session Information
All application configurations should be saved between sessions (without the user having
to specify it). The size and position of windows, which view is selected, and the positions
of scroll bars should also be saved. When users restart an application, it should look
exactly as when they exited it the last time. The motive for this is that usually the first
thing users will do when starting a session is to work back to where they were when they
exited the last session.
Online Help
On-line help is a very important part of the system. A well-designed help system should
even be able to replace the user manuals for most systems. Most projects spend
considerable efforts on constructing and producing manuals when it is a known fact that
most users never use them. You should consider investing these efforts in a good help
system instead.
There are a number of possible help tools you should consider:
Help-on-subject is the most important help tool. It lets the user enter a subject or browse
an existing subject and provides help on these subjects. The key is to provide a large help
index with lots of synonyms. Remember: the user may not know the correct term when
needing help.
Help-on-object is context-sensitive help. It displays text that explains a specific part
(object) of the user interface. The user requests context-sensitive help and then selects the
part of the user interface where help is needed. This type of help should be supported for
every part of the user interface, if it is to be usable. Another alternative is to provide
implicit help in pop-up windows- a condensed form of context sensitive help that the
system presents adjacent to the cursor when the user lingers for a few seconds. Using
implicit help in pop-up windows has the advantage that it doesn't interfere with the
normal operation of the user interface.
Message area is an area (usually in the main window) where the system prints unsolicited
"comments" on the user's actions. It should be optional if provided.
Wizards is a popular technique you should consider providing when the user asks for help
on how to do something. A wizard guides the user through a (non-trivial) task using a
"hand-holding" technique. It shows descriptive text in conjunction with operations
(buttons) that let the user carry out the parts of task explained in the text. Alternatively, a
wizard will ask questions, and, based on the user's responses, automatically carry out the
task. Wizards are excellent for tasks that are non-trivial and infrequently used.
The need for context-sensitive help and wizards is likely to be identified during use
Department of Computer Science & Information Technology.
127
Version: 1.0
Date: October 10, 2012
testing. If, during use testing, users don't understand what different portions of the user
interface are, it is an indication to the need for context-sensitive help. If they have
difficulties performing a certain task, it is an indication to the need for wizards.
The problem with many help systems is that they are either written for novices (spending
an enormous amount of text explaining the obvious) or for experts (reference manuals
that anticipate the user knows almost as much as the programmer who made the
application). For most systems, most users are "improving intermediates." Write the help
text for them.
Undo
Undo is a very useful feature, although it is hard to achieve (implement) in general. It
enables users to learn faster, since they will not have to be afraid of destroying things. It
also reduces the risk of losing information. An alternative solution for avoiding loss of
information is to require that the user confirms all operations that might result in loss of
information. This is usually a bad solution, however, since it adds considerable
interaction overhead and the users soon learn to confirm unconsciously, thus rendering
this solution inadequate.
An ambitious option is to also provide redo and possibly multiple levels of undo/redo.
However, the first undo level achieves most of the increased usability.
Macro Agent
If you provide macros, it may be very useful to employ an agent that continuously
monitors the user's actions, looking for repeated interaction sequences. As soon as a
repeated interaction sequence is found, the agent creates a macro for it (after asking the
user for permission). Let's say the user has ordered "Underline" for two text paragraphs
and both times the user has also changed the text color to blue immediately after ordering
"Underline." Then the agent should ask the user if the user wants a macro that does both
"Underline" and "Set color to blue" for the selected text paragraph. If so, the agent should
create such a macro and a push-button (or a menu item) that executes the macro.
If the user selects an object during recording, this should normally be interpreted as a
"delta" specification, that is, what object has been selected in relation to previous
selection (like "select next", "select first child," etc.).
Whether you should interpret the changing of an object's attributes as a delta specification
(for example, interpreting the change of an attribute value from 12 to 14 as an increase by
2 rather than as a setting to 14) is not as obvious. Interpreting it as a delta specification is
usually more powerful, since changing an attribute to a fixed value for multiple objects
can often be accomplished by selecting multiple objects and then opening an attribute
window for them, in which you set the attribute (to 14) once and for all.
Dynamic Highlighting
Quite often, associations between classes are bi-directional, meaning that in the real user
interface, the association is shown on both objects. If a user, focusing on object A, can
see that A is associated to object B, then the reverse is normally also interesting for the
user (that is, when focusing on object B, the user can see that B is associated to A). The
association is normally shown in the property windows of the objects, identifying the
associated object by name.
Department of Computer Science & Information Technology.
128
Version: 1.0
Date: October 10, 2012
129
Version: 1.0
Date: October 10, 2012
Introduction
This document aims at giving guidelines to students who are undertaking the
research project for the B.Sc. /M.Sc. in Computer Science. Section 2 discusses
the expected content for both the mid-term and final reports while Section 3
describes the due dates and some important notes.
2.0
Chapter 2
Chapter 3
Introduction
This will contain background information, which should
mainly be relevant to later discussion of your work.
Finish with a brief statement of the aim of the research
you have undertaken.
Related Work
This consists of a critical review of the other research
work, which is related to what you are doing. Problem
Statement Declaration should be the output of this
Chapter.
Proposed Design Methodology/Framework
Show how you intend to solve the problem.
Bibliography
130
2.2
Version: 1.0
Date: October 10, 2012
Chapter 5
Bibliography
Both the above reports must have the following:
(a)
Table of Contents
(b)
Declaration Page
"This report is prepared as a partial fulfillment towards graduation
requirements for Masters of Science in Computer Science,
Division of Science & Technology, University of Education,
Lahore. This report and all the products of the project (source
codes, system/application, user manual etc.) are the copyright of
Division of Science & Technology, University of Education,
Lahore. No part of this report and project shall be reproduced,
stored in a retrieval system, or transmitted by any means,
electronic, mechanical, photocopying, recording, or otherwise,
without permission from Division of Science & Technology,
University of Education, Lahore."
(e)
Abstract
Indicate concisely what you have done, your methodology and the
important conclusion that you have drawn.
131
Version: 1.0
Date: October 10, 2012
A4
1.00 inch
1.00 inch
1.25 inch
1.00 inch
Page numbering:
Footer:
Header:
Chapter Startup:
Text:
132
Version: 1.0
Date: October 10, 2012
One page may contain more than one figure or table but
text will not be combined or interlaced with figure or table.
Each table / figure shall be numbered.
For example "Table 1.2: Population distribution in Asia" or
"Figure 3.2: Temperature distribution"
The table number or figure number shall be placed as
normal text centered at the bottom of the table or figure or
sideways with table / figure title coming on the opening
side of the paper and note on the binding side.
Paragraph:
Single-spaced.
Line entered paragraph.
DONOT put indents at the beginning of the paragraph.
Left aligned or justified.
Text Format
Normal and plane text:
Font Type:
Font Size:
Headings:
Chapter Heading:
Heading 1:
Heading 2:
Heading 3:
Section
Sub Section
Nested Sub Section
a
b
i
ii
The subsequent reference to a any section shall be made using the section and its
number. For example section 2.1.3 means chapter 2 section 1 subsection 3.
Mathematical Equations
The following numbering scheme should be used to number the equations:
Department of Computer Science & Information Technology.
133
Version: 1.0
Date: October 10, 2012
f(x) = x+3
(XX:YY)
Where XX is the chapter number and YY is the sequence number of that equation
in that chapter.
If an equation is previously quoted in an earlier chapter, say as equation 4:5 and
need to be re-quoted in chapter 5, its number will remain as equation 4:5.
References
References are to be placed in square brackets and interlaced in the text. For
example "A comprehensive detail of how to prevent accidents and losses caused
by technology can be found in the literature [1]. A project report / thesis cannot be
accepted without proper references. The references shall be quoted in the
following format:
The articles from journals, books, and magazines are written as:
[1]
Abe, M., S. Nakamura, K. Shikano, and H. Kuwabara. Voice conversion
[2]
black
blue
134
Version: 1.0
Date: October 10, 2012
135
Version: 1.0
Date: October 10, 2012
Project Advisor:
Dr. M. A. Pasha
Submitted By
Imran Arshad
BSCSS09A041
Asif Khan
BSCSS 09A104
136
Version: 1.0
Date: October 10, 2012
STATEMENT OF SUBMISSION
This is certify that Imran Arshad Roll No. BSCSS09A041 and Asif Khan Roll No.
BSCSS 09A104 successfully completed the final project named as: Online Banking
System, at the Department of Computer Science & Information Technology, University
of Sargodha, to fulfill the requirement of the degree of BS in Computer Science.
______________________
Project Supervisor
Saeed Ahamed
_____________________
Project Coordination Office
DOCS&IT -UOS
Lecturer
DOCS&IT -UOS
_____________________________
External Examiner
Khurram Shehzad
System Analyst
Net sol, Lahore
________________________
Dr. M. Anwar Ur Rehman Pasha
Chairman
DOCS&IT -UOS.
137
Version: 1.0
Date: October 10, 2012
Acknowledgement
We truly acknowledge the cooperation and help make by Dr. M A Pasha, Chairman,
Department of Computer Science & Information Technology, University of Sargodha,
Sargodha. He has been a constant source of guidance throughout the course of this
project. We would also like to thank Mr. Muammer Qureshi from National
Telecommunication Corporation, Lahore for his help and guidance throughout this
project. We are also thankful to our friends and families whose silent support led us to
complete our project.
1- M. Aslam
2- M. Akram
Date: September 26, 2012
138
Version: 1.0
Date: October 10, 2012
Abstract
Due to ever increasing demand of transporting huge amount of information generated
from various sources such as voice, data, video, etc., modern telecommunication
networks have been transformed into all digital and broadband. Depending on the
characteristics of information sources and the availability of facility, the mode of
transportation can be either constant bit rate (CBR) using circuit switched networks or
variable bit rate (VBR) using packet switched networks. For efficient utilization of the
network, all kinds of information can be transported using BISDN (Broadband Integrated
Services Digital Network) and ATM (Asynchronous Transfer Mode) technology. One
important research area in Network Technology is the design of high-speed digital
network with good performance. The issues need to be investigated include modeling of
Variable Bit Rate video traffic, efficient assignment of different traffic classes with
diverse quality of services, optimal bandwidth allocation, routing and call admission
control etc. This project not only relates to study of Digital Subscriber Line, which is a
Broadband technology to provide high-speed data, voice and video but also addresses the
above-mentioned issues. What are the provisions made in DSL implement QoS quality of
service.
139
Version: 1.0
Date: October 10, 2012
Project ID:__________________
Remarks
1) Presenter Appearance
2) Presentation Style
3) Communication Skill
4) Answer to the Questions
5) Individual Contribution
6) Knowledge about the Project
7) Knowledge about the limitation of the
software
Individual Total
Standard of Deliverables
Group Remarks
1) Software Requirement Specification
2) Software Design Modeling
3) Software Architecture Modeling
4) Detailed Design
5) Implementation of Modeling Technique
6) Quality of the Text
Software Deliverables Total
Overall Software as Group
Group Remarks
1) Software Complexity
2) Fulfillment of the Proposal
3) Programming Technique Used
4) User interface Design Standards
5) Software Performance
140
Version: 1.0
Date: October 10, 2012
141
Version: 1.0
Date: October 10, 2012
Project ID:__________________
Remarks
Please award marks for individual students between
1(low) 10(High)
1) Presenter Appearance
2) Presentation Style
3) Communication Skill
4) Answer to the Questions
5) Individual Contribution
6) Knowledge about the Project
7) Knowledge about the limitation of the
Project
Individual Total
Standard of Deliverables
Group Remarks
1) Research Scope & Feasibility Report
2) Research Preliminary Investigation
Report
3) Validity of Review of Literature
4) Soundness of Problem Definition
5) Correctness and Validity of Proof
Methodology
6) Soundness and Correctness of
Research Outcomes
7) Strength and Validity of References
8) Margin of Future Research
Enhancement
9) Overall Complexity of the Research
10) Quality of the Text
Overall Total
142
Version: 1.0
Date: October 10, 2012
Remarks
Please award marks for individual students between
1(low) 10(High)
Individual Evaluation
1) Presenter Appearance
2) Presentation Style
3) Communication Skill
4) Answer to the Questions
5) Individual Contribution
6) Knowledge about the Project
7) Knowledge about the Limitation of the
Project
Individual Total
Standard of Deliverables
(Group Remarks)
Overall Total
Department of Computer Science & Information Technology.
143
Version: 1.0
Date: October 10, 2012
Metrics:
Individual Evaluation: ((Individual i) x (Weight i)
Deliverables Evaluation: ((Deliverables i) x (Weight i)
Individual Evaluation: ((Overall Software i) x (Weight i)
Success Criteria:
Individual Evaluation:
A-Grade
B-Grade
C-Grade
Repeat
Fail bellow then 50%
Deliverables Evaluation:
A-Grade
B-Grade
C-Grade
Repeat
Fail bellow than 50%
Overall Project Evaluation:
A-Grade
B-Grade
C-Grade
Repeat
Fail bellow than 50%
80%
70%
60%
50%
80%
70%
60%
50%
80%
70%
60%
50%
Note:
144
Version: 1.0
Date: October 10, 2012
Session ______________
______________________________________________________________________
Project Title:
__________________________________________________________________________
________________________________________________________________________
Designation:
_________________________
________________ Office
Email:
_________________________________
____________
Mobile:
_________________
Group Members:
Roll Number
Name
Signatures
1.
2.
3.
4.
5.
6.
Supervisor Signature: __________________________________________________________________
----------------------------------------------------------------------------------------------------------------------(For Official Use Only)
Recommended
Meeting Required:
Date: ___________
Time: ___________
Place: ___________
Rejected
Remarks:
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Project Manager
145
Version: 1.0
Date: October 10, 2012
Project Category
Student Note /
Request
Research
Platform
Microsoft
Network
Platform
Resources/ Equipment
LAN Cards
Modems
Telephone Lines
Telephone Sets
Speakers
Others
Required
Number
Minutes
Lab
Room
146
Version: 1.0
Date: October 10, 2012
Dated:
Java
Project Category
Subject:
Research
Extension for
Proposal
1st Deliverable
2nd Deliverable
3rd Deliverable
Final
Other
Reason for Extension
Microsoft
Platform
Platform
Network
Evaluation
Submission
Inspection
147
Version: 1.0
Date: October 10, 2012
Dated:
Java
Project Category
Subject:
Notice Number
Notice Abstract
Research
Platform
Microsoft
Platform
Network
148
Version: 1.0
Date: October 10, 2012
Java
Platform
Project Category
Form Number
Signature
Microsoft
Platform
Network
Research
Old Project ID
Tools / Technologies
Signature:
Accounts:-------------------------------------- Academic Coordinator:------------------------------------Name of Project Manager: _______________________ Signature: ________________________
Decision:
149
Version: 1.0
Date: October 10, 2012
Dated:
Java Platform
Microsoft Platform
Category
(New / Change /
Withdrawal)
Project Team
Network
Priority
(Must be done has high
value)
Status
(Decision by Project
office)
150
Version: 1.0
Date: October 10, 2012
Analysis:
Effected Documents
Document Name
Change Required
Chang Description
Proposal
Analysis
Deliverables
Design Deliverable
Detailed Design
Deliverable
Implementation
Effected Modules
Module name
Description
Effected GUIs
GUI ID
Description
151