Chemistry Project
Chemistry Project
Logo
Name of School: ____________________
School Address: _____________________
_____________________
______________________
Class : XII
_____________ ______________
INTERNAL EXAMINER EXTERNAL EXAMINER
_____________ _____________
SCHOOL STAMP PRINCIPAL
ACKNOWLEDGEMENT
Name of Student
TABLE OF CONTENTS
S.No Description Page No.
1. Preface 1
2. Introduction to Project 2
3. The objective of the project 3
4. Scope of the Project 4
5. The Existing System 5
6. Proposed System 6
7. Input/Output Requirement 7
8. Hardware and Software Requirements 8
9. Flow Chart 9
10. Source Code 10
11. System Design 27
12. Database Dictionary 35
13. Security Control 37
14. Conclusion 38
15. Reference or Bibliography 39
Preface
One of my friend’s father is a manager of a firm which is providing an
internet service to the customer. I have visited their office previous week.
I saw they are managing work manually. Customers are waiting until the
Similarly, many calls are coming for maintenance and complaints about
their internet services. Due to manual system, they are not able to track
manually.
This motivates us to make a software for them. So, I have collected the
management
provided by customers.
Introduction to Project
This project has 4 main modules presented by menus. These modules are:
4. Feedback Management
This program starts with a login which requires an admin user and
password. The admin user is super and powerful user managed by the
system admin (us). Users can only manage the options provided to them
in the program.
The login username and password for admin is provided to the manager of
After login a Welcome message will come with firm name and date along
with press enter to continue. When user press continue it will show the
knowledge into a real- world problem and exposed how programming skills
problems.
development.
6. Students also will be able to learn and apply MySQL database and
development.
7. Python interface with MySQL helps to save the data generated by the
software.
such as:
1. This project is useful for any firm that provides internet services or other
2. In future we are planning to make this software available for more users
3. We are also planning to integrate this project with android, iOS and
4. We are also going to add more modules and assign a manager for
The existing system is manual. All the records and details are manually
recorded on registers and documents are stored in the files in the form
of hard copies.
Customer is visiting the office and the office executive is giving them a
form to register. Later on, the office executive makes this entry either
The existing system takes more time and very tedious job for an office
entries.
search a record manually from the register or taking print out from excel
worksheet.
The proposed system
system. Firstly, there is no need to give any form or any other document
Customer can make a call and provide the information online on email
executives in the proposed system. It will save time and efforts of both
maintenance call easily. When the work is done it will change the status
Data for any system is like food for us. Data needs to be fed by user in
the system to work with a specific software. After processing the data
1. Login: For login system admin (we) have provided built in module
where username and password are provided to them and they can
login with the username and password. They cannot change or create
any user as they have to contact us for any user related queries.
feedback text.
Hardware and Software Requirements
Hardware Requirements
1 GB (Recommended)
Ram : 1 GB
Software Requirements
Languages : Python
Create Connection
Create maintenance
Call
New
View
Feedback/Suggestion
Customer
Modify
Management
Close Account
Login
Maintenance
Close request
Management
Delete request
View
View
Feedback/Suggestion
Delete Feedback
Source Code
import mysql.connector as ms
m_id=0
def login():
cn=ms.connect(host="localhost",user="root",passwd="root",database
="ISP")
cur=cn.cursor()
pwd=input("Enter Password:")
cur.execute(s)
dt=cur.fetchall()
dt=list(dt)
print("Hello",un)
customer_menu()
else:
cn.close()
def customer_menu():
print("\t\t\t",strftime("%a,%d\%m\%Y",gmtime()),"\n")
print("4.Customer Management")
print("5.Maintenance Management")
print("6.View Feedback/Suggestion")
print("7.Exit")
if choice==1:
cn=ms.connect(host="localhost",user="root",passwd="root",database
="ISP")
cur=cn.cursor()
year=int(input("Enter year:"))
address=input("Enter address:")
values({},'{}','{}',{},'{}')".format(c_id,c_name,phno,year,address)
cur.execute(ins)
cn.commit()
cn.close()
customer_menu()
elif choice==2:
global m_id
connection = ms.connect(host='localhost',
database='isp',
user='root',
password='root')
cr = connection.cursor()
cr.execute(sql_select_Query)
records = cr.fetchall()
c_id=int(input("Enter id:"))
flg=0
connection.close()
for i in records:
if i[0]==c_id:
print("Customer Name:",i[1])
print("Phone No.:",i[2])
print("Address:",i[4])
m_id=int(input("Enter M_ID"))
pr=input("Define problem:")
charges=float(input("Enter charges:"))
sta=input("Open or Close:")
pri=input("Priority of Problem:")
values({},'{}','{}',{},'{}','{}',{})".format(m_id,i[1],pr,charges,sta,pr
i,c_id)
cr.execute(ins)
connection.commit()
customer_menu()
flg=1
if flg==0:
customer_menu()
elif choice==3:
cn3=ms.connect(host="localhost",user="root",passwd="root",databas
e="ISP")
cur3=cn3.cursor()
cur3.execute("select cust_id,cust_name from
customer_profile")
dt3=cur3.fetchall()
flg=0
for i in dt3:
if i[0]==c_id:
print("Customer ID:",i[0])
print("Customer Name:",i[1])
fb=input("Enter Feedback:")
values({},'{}','{}',{})".format(f_id,i[1],fb,c_id)
cur3.execute(ins)
cn3.commit()
customer_menu()
flg=1
if flg==0:
customer_menu()
cn3.close()
elif choice==4:
print("Customer Management")
print('''
3. Close Account
4. Exit
''')
if ch==1:
cn=ms.connect(host='localhost',user='root',passwd='root',database='i
sp')
cur=cn.cursor()
a=cur.fetchall()
c=0
for i in a:
c+=1
print("Row-",c,":",i)
customer_menu()
elif ch==2:
cn=ms.connect(host="localhost",user="root",passwd="root",database
="ISP")
cur=cn.cursor()
cust_id={}".format(c_id))
dt=cur.fetchall()
cname=dt[0][1]
ph=dt[0][2]
add=dt[0][4]
rc=cur.rowcount
if rc>0:
if c_n.lower()=='y':
c_name=cu_name
else:
c_name=cname
if p.lower()=='y':
p_no=pho
else:
p_no=ph
if ad.lower()=='y':
ad=a
else:
ad=add
u="update customer_profile set
cust_name='{}',phoneno='{}',address='{}' where
cust_id={}".format(c_name,p_no,ad,c_id)
cur.execute(u)
cn.commit()
customer_menu()
else:
customer_menu()
elif ch==3:
cn=ms.connect(host="localhost",user="root",passwd="root",database
="ISP")
cur=cn.cursor()
cust_id={}".format(c_id))
dt=cur.fetchall()
rc=cur.rowcount
if rc>0:
cust_id={}".format(c_id)
cur.execute(q)
cn.commit()
customer_menu()
else:
customer_menu()
elif ch==4:
customer_menu()
elif choice==5:
cn=ms.connect(host="localhost",user="root",passwd="root",database
="ISP")
cur=cn.cursor()
print('''
3. Delete Request
4. Exit
''')
if ch5==1:
cur.execute(s)
a=cur.fetchall()
for i in a:
print(i)
customer_menu()
elif ch5==2:
mid='{}'".format(m))
dt=cur.fetchall()
rc=cur.rowcount
if rc>0:
amount?(y/n)")
if cr.lower()=='y':
cn.commit()
charges...")
customer_menu()
else:
where mid='{}'".format(m))
cn.commit()
customer_menu()
else:
customer_menu()
elif ch5==3:
m=input("Enter ID to delete the request:")
mid='{}'".format(m))
dt=cur.fetchall()
rc=cur.rowcount
if rc>0:
mid='{}'".format(m))
cn.commit()
customer_menu()
else:
cusotmer_menu()
else:
print("Invalid choice:")
customer_menu()
elif choice==6:
cn=ms.connect(host="localhost",user="root",passwd="root",database
="ISP")
cur=cn.cursor()
print('''
1. View Feedback
2. Delete Feedback
3. Back
''')
if ch6==1:
dt=cur.fetchall()
for i in dt:
print(i)
customer_menu()
elif ch6==2:
fcn=ms.connect(host='localhost',user='root',passwd='root',database=
'isp')
crf=fcn.cursor()
f_id={}".format(f))
dt=crf.fetchall()
rc=crf.rowcount
if rc>0:
for i in dt:
if i[0]==f:
f_id={}".format(f))
fcn.commit()
print("Feedback Deleted.")
customer_menu()
else:
print("No records...")
customer_menu()
fcn.close()
elif ch6==3:
customer_menu()
elif choice==7:
quit()
def main_menu():
while True:
print('''
1. Login
2. Exit ''')
if ch1==1:
login()
elif ch1==2:
break
else:
print("Invalid Choice")
main_menu()
System Design
interactive and presentable. All the options required for the processing
should be present in system way. Here our system design for this
project is as follows:
Login
Incorrect Info
Welcome Screen
Main Menu
Create a new connection
Close Request
Delete Request
back end to store data. We have used following tables to manage this
ii) customer_profile: This table store data for customers. When new
account is closed records are deleted from this table. The structure
the services and their experience with the services. The structure
the application requires security. There should be any loop hole or any
unauthorised person can use data. So, we have created admin user and
password. Although the user has entered the password very carefully
We are not accepting any credit card or debit card data or any other
Later, we will provide multi users to operate data as data filled with
software. More user specific profile will be also updated in the future.
For more security we will ensure the password also should not visible
for anyone while entering the password. We have not provided any
learnt how organization functions and collect data, How the services
their services.
into code.
This is not the end but we have started a journey with this project and
Arora
www.tutorialaicsip.com
www.youtube.com
www.geekforgeeks.com
www.stackoverflow.com
www.tutorialpoints.com