Online Shopping - TutorialsDuniya
Online Shopping - TutorialsDuniya
Online Shopping
TutorialsDuniya.com
Note: This project is made by a student of B.Sc. (H)
Computer Science and may contain some errors. You can
report the errors at [email protected]
Website: https://www.tutorialsduniya.com
FaceBook: https://www.facebook.com/tutorialsduniya
YouTube: https://www.youtube.com/user/TutorialsDuniya
LinkedIn: https://www.linkedin.com/company/tutorialsduniya
ONLINE Shopping
o m
.c
ya
Submitted by: Supervisor:
Srishti Jain (Roll no : 16067500000 ) TutorialsDuniya.Com
Tanvi Goyal (Roll no : 16067500000 ) (Course Instructor)
i
un
a lsD
ri
to
Tu
m
1.1.1 Product Functions ........................................... Error! Bookmark not defined.
o
1.1.3 General Constraints ........................................ Error! Bookmark not defined.
.c
1.1.4 Assumptions and Dependencies ..................... Error! Bookmark not defined.
ya
1.2 External Interface Requirements .......................... Error! Bookmark not defined.
i
1.2.2 Hardware Interfaces ....................................... Error! Bookmark not defined.
un
1.2.3 Software Interfaces ......................................... Error! Bookmark not defined.
m
6. Coding ...................................................................... Error! Bookmark not defined.
o
7. Testing...................................................................... Error! Bookmark not defined.
.c
white box testing
i ya
un
a lsD
ri
to
Tu
TutorialsDuniya.com
Get FREE Compiled Books, Notes, Programs, Books, Question Papers with Solution*
etc of following subjects from https://www.tutorialsduniya.com.
The users living anywhere can connect through internet to get these services. This
web application is more effective and fast in response.
o m
.c
Process Model
ya
The model chosen for our project is 'Waterfall Model'. The requirements are well
known i.e. it is known what all functionalities and behavior should be there .The
technology is understood and well incorporated in the project. There is no
i
ambiguity in requirements and they are met in the project .Very less customer
un
interaction is involved during the development of the product. Once the product is
ready then only it can be demoed to the end users. Thus this model suits the best
for project.
a lsD
ri
to
Tu
1. Software Requirement Specification
This system provides an easy solution for customers to buy the product without
going to the shop and also to seller to sale the product.
This proposed system can be used by any naïve user and it does not require any
educational level, experience or technical expertise in computer field but it will be
of good use if user has the good knowledge of how to operate a computer.
m
1.1 Overall Description
o
The Online Shopping system is an application that enables vendors to set up online
.c
shops, customers to browse through the shops, and a system administrator to
approve and reject requests for new shops and maintain lists of shop categories.
ya
Also the developer can design an online shopping site to manage the items in the
shop and also help customers to search and purchase them online without visiting
i
the shop physically.The online shopping system will use the internet as the sole
un
method for selling goods to its consumers.
The online shopping application would have the following basic functions:
Display all the categories available for shopping on the system’s main
page.
a
Display all the items linked to each category listed on the main page.
ri
Allow the administrator to add new items to the existing list of available
items.
to
Allow the administrator to view and edit information about each user
that checkouts the items from the system.
1.1.2 User Characteristics
The users of the online shopping application, based on their roles, are Customers
(users) and the Administrator (owner).
1. Admin: The administrator is the person who handles this online shopping
application. One must have a basic understanding of computers and the internet as
well as prior knowledge for operating Java programming languages. The
m
administrator is responsible for maintaining all the documents required for the
system. The administrator can perform the following functions:
o
Assign or update the price of the items, update the items in the list, and
.c
delete the items.
ya
View the list of the customers who purchased the items.
i
2. Users: The users of this online shopping application are all customers who
un
would shop. These users are anyone with shopping experience and the know-how
to browse through a shopping application. The users should be able to perform the
following functions using this system:
lsD
m
We assume that system users adhere to the system’s minimum software
and hardware requirements.
o
.c
1.2 External Interface Requirements
ya
1.2.1 User Interfaces :
i
The users will work on a graphical user interface.
un
All the required steps for the user to perform must me specified on each
page so that it is easy for users to understand the procedure to perform.
lsD
There must be a search bar on every page for basic queries. Limited
feedbacks and reviews should be there on main page.
a
The user must not be taken forward without correcting the error.
to
The system user should never get any operating system failure or any
fatal error.
Tu
RAM:2 GB
Hard Disk:320 GB
m
system to store and retrieve files.
o
1.3 Functional Requirements
.c
FR1 :
ya
Description : View the categories of items on home page .
FR2 :
i
un
Description : View items in different categories
FR3 :
lsD
Description : To enter into this site user has to register himself first.
Input : User Details
Output : Filled Registration Details and user successfully registered .
a
FR4:
ri
FR5 :
Description : Add items to the cart .
m
FR7 :
o
Description : View items that are added in the cart
.c
FR8 :
ya
Description : Delete the items in the cart
Description : The users shall place an order by completing the information in the
order form.
FR10 :
to
Description : The administrator shall be able to add new items to the list of
shopping items.
Tu
FR11 :
Description :: The administrator shall be able to delete items from the items file.
Input : Name of the items to be deleted.
FR12 :
Description :
m
FR13:
o
Description: Admin can refund if customer cancels the order.
.c
Input : Cancel Order
i ya
un
1.4 Performance Requirements
The users shall be able to add an item to the cart in fewer than 7 seconds.
lsD
The users shall be able to view information about an item in fewer than 7
seconds.
Number of users must be atmost 1000 and the number of files in the
Tu
2GB RAM
m
Better performance with 82KB and above Cache Memory.
o
Monitor – 15” colour monitor
.c
Keyboard – 122 keys
ya
Software Requirements :
i
Database: MS SQL Server2000 with Microsoft SQL Desktop Engine
un
installed.
Technology: ASP.Net
Security
m
The access to all the databases is available only to admin.
o
1.6 Data Flow Diagrams
.c
0-level DFD
i ya
un
a lsD
ri
to
1-level DFD
Tu
Tu
2-level DFD
to
ri
alsD
un
i ya
.c
om
1.7 Data Dictionary
Login=user_name+password
.Customer_Details=customer_name+customer_id+email_id+contact_
no+address
Receipt=customer_name+customer_id+price+date+quantity
m
Give_item=product_name+quantity+size+date
o
Add_item=product_name+quantity
.c
Delete_item=product_name+quantity
ya
Search_item=product_name
i
un
a lsD
ri
to
Tu
TutorialsDuniya.com
Get FREE Compiled Books, Notes, Programs, Books, Question Papers with Solution*
etc of following subjects from https://www.tutorialsduniya.com.
m
Yes , the system require backup of data for further use of
information.
o
5 F2.Are data communications required?
Comm is reqd as to confirm selection of products.
.c
2 F3. Are there distributed processing functions?
ya
Not much
2 F4. Is performance critical?
Sometimes it gets critical,when product is selected and is
i
not found in quantity and quality
un
4 F5. Will the system run in a existing, heavily utilized operational
environment?
Beside some applications,most of the application of application of
lsD
F7. Does the on-line data entry require the input transaction to be
ri
m
5 F14. Is the application designed to facilitate change and ease of
use by the user?
Yes,the software facilitate the changes and ease of use and information
o
modified will be kept safe & private.
.c
55 TOTAL
i ya
CALCULATED COMPLE AVERAGE SIMPLE COUNT MEASUREMENT
un
X PARAMETER
9 6 4 3 3 EXTERNAL
INPUT
lsD
12 7 5 4 3 EXTERNAL
OUTPUT
18 6 4 3 3 EXTERNAL
INQUIRIES
a
28 15 10 7 4 INTERNAL
LOGICAL FILES
ri
0 10 7 5 0 EXTERNAL
INTERFACE
to
FILES
67 COUNT TOTAL
Tu
=67*[0.65+(0.01*55)]=80.4
2.2 Efforts
Assume that the past data shows that the complexity for these types of systems is 6
function point per month. Assume burdened labour cost of 15,000 , the cost per fp
is
Rs 1100.
m
Estimated project cost =1100*80.4 =88,440
o
Estimated effort = 80.4/6 = 13.4
.c
i ya
un
a lsD
ri
to
Tu
Tu
to
3.Scheduling
ri
alsD
un
iya
.c
om
4 .Risk Management
The number of users that will be estimated can be less but as the product gets more
fame, number of users increases.
m
Server breaks down
o
.c
Due to the break down of server, our customers will not be able to connect to our
website.
ya
Data loss
i
un
Sometimes, the computer may get crash due to which all our data will be lost and
this is a major issue.
Security issues
lsD
The website may get hacked intentionally by someone and this will lead to huge
loss in terms of both money and data.
a
It is possible that users are more adaptive to some other online shopping portals
to
and hence, it will reduce our customers. And it is quite difficult to convince people
to opt for online shopping because there are many people who prefer physical
Tu
m
system
3 30% PS Large number
of users than
o
planned
1 10% TI Server breaks
.c
down
1 10% TI Security issues
ya
RISK MITIGATION, MONITORING AND
MANAGEMENT
i
un
Mitigation
lsD
The cost associated with a computer crash resulting in a loss of data is crucial. A
computer crash itself is not crucial, but rather the loss of data. A loss of data will
result in not being able to deliver the product to the customer. As a result, the
organisation is taking steps to make multiple back-up copies of the software in
development and all documentation associated with it, inmultiple locations.
a
ri
Monitoring
When working on the product or documentation, we should always be aware of the
to
stability of the computing environment they are working in. Any changes in the
stability of the environment should be recognized and taken seriously.
Tu
Management
The lack of stable-computing environment is extremely hazardous to a software
development team. In the event that the computing environment is found unstable,
the development team should cease the work on that system until the environment
is made stable again, or should move to a system that is stable to use and continue
working there.
5. DESIGN
mo
.c
ya
i
un
a lsD
ri
to
Tu
5.2 Data Design
ORDER DATABASE
CONSTRAINT DATA TYPE ATTRIBUTES
PRIMARY KEY varchar2 ORDER ID
NOT NULL CHAR ORDERED PRODUCT
FOREIGN KEY(REFERENCES varchar2 CUSTOMER ID
CUSTOMER ID OF
CUSTOMER DATABASE)
m
NOT NULL VARCHAR2 ORDER STATUS
CUSTOMER DATABASE
o
.c
CONSTRAINTS DATA TYPE ATTRIBUTES
NOT NULL STRING CUSTOMER NAME
NOT NULL NUMERIC CONTACT DETAILS
ya
NOT NULL VARCHAR2 ADDRESS
PRIMARY KEY VARCHAR2 CUSTOMER ID
i
un
Cart/Wishlist DATABASE
CONSTRAINTS DATA TYPE ATTRIBUTES
FOREIGN VARCHAR2 CUSTOMER ID
lsD
KEY(REFERENCES
CUSTOMER ID OF
CUSTOMER DATABASE)
FOREIGN VARCHAR2 PRODUCT ID
KEY(REFERENCES
a
PRODUCT ID OF PRODUCT
DATABASE
ri
PRODUCT DATABASE
Tu
PRODUCT DATABASE
o m
FEEDBACK CONTACT PURCHASE SUPLLIER PRODUCT ID
DETAILS DATE NAME
.c
ya
Cart/Wishlist DATABSE
i
un
DATE OF ENTRY PRODUCT ID CUSTOMER ID
lsD
CUSTOMER DATABASE
a
if(login_id==customerid& password==customerpassword)....................(1)}
else{
m
display"invalid credentials";.......................................(2)
o
}
.c
{
ya
display"loginsucessful";...........................................(3)
i
un
switch s ................................................................(4)
(s>0)...................................................................(5)
lsD
display
1:electronics...........................................(6)
electronics();
to
break;
Tu
2:appliances............................................(7)
appliances();
break;
3:men....................................................(8)
men();
break;
4:women.................................................(9)
women();
break;
5:baby&kids.............................................(10)
m
baby&kids();
o
break;
.c
}
ya
inti, n;//total no of products...................................(11)
while(i<n).......................................................(12)
i
un
{
display product[i];............................................(13)
lsD
i++;
end while...........................................................(14)
a
ri
to
Tu
7. Testing
A
1 B
2 R1 3
R7 C
4 D
m
S
o
.c
E 5 E
ya
F G H I
i
un
6 7 8 9 10
L R5
K R4 M
lsD
R6
R3
R2 N
J
11
a
ri
O
to
Tu
12
R6 Q R
P R8
13
14
Graph Matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 14
1 A B
m
2 C
o
3 D
.c
4 S
ya
5 E F G H I
6 J
i
7
un K
8 L
lsD
9 M
10 N
11 O
a
12 Q R
ri
13 P
to
14
Tu
Regions : 7
No of Nodes : 14
No of edges : 20
m
Cyclomatic Complexity
o
1 NO. OF REGIONS+1=7+1=8
.c
2 EDGES-NODES+2 =6+2=8
ya
3 Predicate Nodes +1 = 7+1 =8
INDEPENDENT PATHS
i
un
1)1->2->4->5->6->11->12->13->12->14
2)1->3->4->5->6->11->12->13->12->14
lsD
3)1->2->4->5->7->11->12->13->12->14
4)1->2->4->5->8->11->12->13->12->14
a
5)1->2->4->5->9->11->12->13->12->14
ri
6)1->2->4->5->10->11->12->13->12->14
to
7)1->2->4->5->6->11->12->13->12->14
8)1->3->4->1->2->4->5->6->11->12->14
Tu
8. References:-
2. https://www.tutorialsduniya.com
o m
.c
i ya
un
a lsD
ri
to
Tu
TutorialsDuniya.com
Get FREE Compiled Books, Notes, Programs, Books, Question Papers with Solution*
etc of following subjects from https://www.tutorialsduniya.com.