Professional Documents
Culture Documents
A Project Report
On
Shopping cart
For
AISSCE 2015-2016 Examination
As a part of the Informatics Practices Course(065)
SUBMITTED BY:
Sharguru.R
M216/46067/0019
Under the Guidance of:
Mrs.Rashitha Banu
PGT-Informatics Practices
CONTENTS
S.NO
TITLE
1
SOFTWARE ANALYSIS
2
INTRODUCTION
i) FORM-1
CODING
ii) FORM-2
CODING
iii) FORM-3
iv) CODING
3
MySQL
TABLE-1
4
5
RESULT
BIBLIOGRAPHY
PAGE NO
6
8
9
10
13
15
16
17
Declaration
I declare that this project Sales Agency done at Vidhya
Niketan
Public
School is a record of project work submitted by me for the
partial fulfilment of the AISSC exam of CBSE under the
supervision and guidance of Mrs Rashitha Banu (Informatics
Practices).
The Project is genuine and not a reproduction of any project
previously done or submitted.
Sharguru.R
M216/46067/0019
Acknowledgement
I extend my sincere thanks to Vidhya Niketan Public
School which provided me with opportunity to fulfil my wish and
achieve my goal.
I would like to express deep debt to Mrs Rashitha Banu (PGTInformatics Practices), project guide for her vital suggestions,
meticulous guidance and constant motivation which went a
long way in the successful completion of this project.
I cannot move on without thank beloved principal Mrs for
creating the required academic environment which made my
task appreciable.
On a moral personal note, my deepest appreciation and
gratitude to my beloved parents, who with unrelenting
encouragement and support
- Sharguru.
R
Certificate
Signature of Teacher
(Mr. Sanjay. T. Parmar)
Signature of Principal
(Mr. MahendraSinh Vihol)
Seal of the school
5
SYSTEM ANALYSIS
EXISTING SYSTEM:
System Analysis is a detailed study of the various operations
performed by a system and their relationships within and outside of
the system. Here the key question is-what all problems exist in the
present system? What must be done to At the problem? Analysis
begins when a user or manager begins a study A the program using
existing system.
During analysis, data collected on the various files, decision points
and transactions handled by the present system. Training,
experience and common sense are required for collection of relevant
information needed to develop the system. The success of the
system depends largely on how clearly the problem is defined,
thoroughly investigated and properly carried out through the choice
of solution.
A good analysis model should provide not only the mechanisms of
problem understanding but also the frame work of the solution.
Thus, it should be studied thoroughly by collecting data about the
system. Then the proposed system should be analyzed thoroughly in
accordance with the needs.
System analysis can be categorized into four parts:
System planning and initial investigation
Information Gathering
Applying analysis tools for structured analysis
Feasibility study
Cost/ Benefit analysis.
INTRODUCTION
In online marketing, a shopping cart is a piece of ecommerce software on a web server that allows visitors to an
Internet site to select items for eventual purchase, analogous to
the American English term "shopping cart." In British English, it
is generally known as a shopping basket, almost exclusively
shortened on websites to "basket."
SYSTEM INTERFACE
Main page:
Coding :
private void
jButton2ActionPerformed(java.awt.event.ActionEvent evt)
{
customer s=new customer();
s.setVisible(true);
}
private void
jButton1ActionPerformed(java.awt.event.ActionEvent evt)
{
verify s=new verify();
s.setVisible(true);
}
Tracking Page:
10
Coding:
private void jButton1ActionPerformed(java.awt.event.ActionEvent
evt)
{
String name=jTextField2.getText();
if (name.isEmpty())
{
jTextField2.setText("");
jTextField3.setText("");
JOptionPane.showMessageDialog
(this,"Enter the Mobile No");
}
Else
11
try
{
Class.forName("java.sql.DriverManager");
Connection con = (Connection)
DriverManager.getConnection("jdbc:mysql://localhost:3306/projec
t","root", "123");
Statement stmt = (Statement) con.createStatement();
String query="SELECT ITEM,CONTACT,QUANTITY FROM
CUSTOMER WHERE NAME='"+name+"';";
ResultSet rs=stmt.executeQuery(query);
if (rs.next())
{
String item = rs.getString("item");
String quantity = rs.getString("quantity");
String contact = rs.getString("contact");
jTextField4.setText(item);
jTextField5.setText(quantity);
jTextField3.setText(contact);
}
else
JOptionPane.showMessageDialog
(this,"Sorry!No such order under the entered ");
}
catch (Exception e)
12
{
JOptionPane.showMessageDialog(this, e.getMessage());
}
jTextArea1.setText("Your product will be delivered after 5 days
from your date of delivery");
}
Order Page:
13
Coding:
private void jButton2ActionPerformed(java.awt.event.ActionEvent
evt)
String item=jTextField1.getText();
int quantity=Integer.parseInt(jTextField2.getText());
String Code=jTextField3.getText();
String name=jTextField4.getText();
String phone=jTextField5.getText();
try
{
Class.forName("java.sql.DriverManager");
Connection con = (Connection)
DriverManager.getConnection
("jdbc:mysql://localhost:3306/project",
"root", "123");
14
}
JOptionPane.showMessageDialog(this,"Your product has been ordered
successfully");
Coding:
Create table customer(
Item varchar(30),
Quantity int(11),
Code varchar(8),
Name varchar(30),
Contact int(11) );
Output :
CONCLUSION
16
17
BIBLIOGRAPHY :
Informatics Practices Class XII - By
Sumita Arora Netbeans Forums
Google.com
Stackoverflow.com
Sourcecode.in
wikipedia.com
18