Sample Project Report Class XII
Sample Project Report Class XII
PROJECT REPORT ON
ROLL NO : 5973
CLASS : XII – A
PGT (CS)
JAMSHEDPUR
CERTIFICATE
This is to certify that MASTER RAM KUMAR Board Roll No: 5973 has
Date Date
TABLE OF CONTENTS [ T O C ]
1 ACKNOWLEDGEMENT
2 INTRODUCTION
4 PROPOSED SYSTEM
6 DATA DICTIONARY
7 MENU TREE
8 SOURCE CODE
9 OUTPUT
12 BIBLIOGRAPHY
ACKNOWLEDGEMENT
AUTO MOBILE SERVICE STATION
INTRODUCTION
with help of python language. this project is very usefull for the shopkeepers to keep
a count on what project they have and how much they sold. this project is multifield
The objective of this project is to let the students apply the programming
knowledge into a real- world situation/problem and exposed the students how
One has to use the data management software. Software has been an ascent
markets, which have helped in making the organizations work easier and efficiently.
Data management initially had to maintain a lot of ledgers and a lot of paper work
has to be done but now software product on this organization has made their work
faster and easier. Now only this software has to be loaded on the computer and work
can be done.
This prevents a lot of time and money. The work becomes fully automated
and any information regarding the organization can be obtained by clicking the
SOFTWARE REQUIREMENTS:
• Windows OS
• Python
• MS WORD
DATA DICTIONARY
Variable Descriptions (Used in the program)
Menu Tree
Main
Menu
Show Create
ADD
ALL Specific
SOURCE CODE
FILE NAME : automobile.py
conn=sql.connect(host='localhost',user='root',passwd='xyz',
database='auto_mobile_station')
ifconn.is_connected():
print("Successfully Connected")
c1=conn.cursor()
#c1.execute('create table customer_details(snoint primary key,
cnamevarchar(25),cdetailsvarchar(30),caddressvarchar(30),cpincodeint,cp
uramtint,cdisc float)')
print ('table created')
c1=conn.cursor()
print("Automobile")
print("1. service station")
print("2. source")
print("3. selling")
print("4. Exit")
choice=int(input("Enter the Choice - "))
if choice==1:
v_sno=int(input("Enter the serial Number: "))
v_cname=input("Enter the customer name : ")
v_cdetails=input("Enter the customer details: ")
v_caddress=input("Enter the customer address: ")
v_cpincode=int(input("Enter the pincode: "))
v_cpuramt=int(input("Enter the puramt: "))
v_cdisc=float(input("Enter the discount: "))
V_SQL_Insert = "insert into customer_details values (" + str( v_sno) + ",'" +
v_cname + ",'"+ v_cdetails + "'," +"'"+ v_caddress+"'," + +str(v_cpincode )
+ + str(v_cpuramt )+ +str(v_cdisc)+ ")"
c1.execute(V_SQL_Insert)
if choice == 2:
username=input('USERNAME:')
ifpassword=input('PASSWORD:')
choice==3:
mycursor.execute("select
c1.execute("select * from*user
from customer_details")
where username = '' and passwd =
''".format(username , password))
data=mycursor.fetchall()
data = c1.fetchall()
if any(data) :
print(data)
import main
else:
ifprint('''try
choice==4:again''')
data=c1.fetchall()
v_count=c1.rowcount
ifv_count==0:
print("Account Number Invalid Sorry Try again later!!!")
else:
print(v_sqlUpdate)
c1.execute(v_sqlUpdate)
conn.commit()
OUTPUT
MAIN WINDOW
Successfully Connected
table created
Automobile
1. service station
2. source
3. selling
4. Exit
Enter the Choice -
Choice 1 output
Successfully Connected
table created
Automobile
1. service station
2. source
3. selling
4. Exit
Enter the Choice - 1
Enter the serial Number: 1
Enter the customer name :RAM KUMAR
Enter the customer details: STUDENT
Enter the customer address: DAVPS Bistupur
Enter the pincode: 831001
Enter the puramt: 657868700
Enter the discount: 16330
Successfully created
Try for second choice
Choice 2 output
Successfully Connected
table created
Automobile
1. service station
2. source
3. selling
4. Exit
Enter the Choice - 2
USERNAME:RAM KUMAR
PASSWORD:5973
Select * from where username=”RAM
KUMAR”
Choice 3 output
Successfully Connected
table created
Automobile
1. service station
2. source
3. selling
4. Exit
Enter the Choice – 3
mycursor.execute("select * from customer_details")
BIBLIOGRAPHY
• Computer science With Python - Class XII By : Sumita Arora