0% found this document useful (0 votes)
32 views16 pages

Sample Project Report Class XII

Uploaded by

Rohaan Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views16 pages

Sample Project Report Class XII

Uploaded by

Rohaan Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

DAV PUBLIC SCHOOL , BISTUPUR , JAMSHEDPUR

PROJECT REPORT ON

AUTO MOBILE SERVICE STATION

ROLL NO : 5973

NAME : RAM KUMAR

CLASS : XII – A

SUBJECT : COMPUTER SCIENCE

SUB CODE : 083

PROJECT GUIDE: MR. A KUMAR

PGT (CS)

DAV PUBLIC SCHOOL , BISTUPUR ,

JAMSHEDPUR
CERTIFICATE
This is to certify that MASTER RAM KUMAR Board Roll No: 5973 has

successfully completed the project Work entitled AUTO MOBILE SERVICE

STATION in partial fulfilment of Computer Science Practical Examination(083)

prescribed by CBSE for AISSCE-2024 conducted by CENTRAL BOARD OF

SECONDARY EDUCATION, NEW DELHI.

Internal Examiner External Examiner

Date Date
TABLE OF CONTENTS [ T O C ]

SER DESCRIPTION PAGE NO

1 ACKNOWLEDGEMENT

2 INTRODUCTION

3 OBJECTIVES OF THE PROJECT

4 PROPOSED SYSTEM

5 HARDWARE AND SOFTWARE REQUIREMENTS

6 DATA DICTIONARY

7 MENU TREE

8 SOURCE CODE

9 OUTPUT

12 BIBLIOGRAPHY
ACKNOWLEDGEMENT
AUTO MOBILE SERVICE STATION

INTRODUCTION

The sales management system is basically a database based project done

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

project ,so that it can be modified for various purposes.

OBJECTIVES OF THE PROJECT

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

programming skills helps in developing a good software.

• Write programs utilizing modern software tools.

• Apply object oriented programming principles effectively when developing

small to medium sized projects.

• Write effective procedural code to solve small to medium sized problems.

• Students will demonstrate a breadth of knowledge in computer science, as

exemplified in the areas of systems, theory and software development.

• Students will demonstrate ability to conduct a research or applied Computer

Science project, requiring writing and presentation skills which exemplify

scholarly style in computer science.


PROPOSED SYSTEM

One has to use the data management software. Software has been an ascent

in atomization various organisations. Many software products working are now in

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

button. Moreover, now it’s an age of computers of and automating such an

organization gives the better look.

HARDWARE AND SOFTWARE REQUIREMENTS


I.OPERATING SYSTEM : WINDOWS 7 AND ABOVE

II. PROCESSOR : PENTIUM(ANY) OR AMD

ATHALON(3800+- 4200+ DUAL CORE)

III. MOTHERBOARD : 1.845 OR 915,995 FOR PENTIUM 0R MSI

K9MM-V VIA K8M800+8237R PLUS

CHIPSET FOR AMD ATHALON

IV. RAM : 512MB+

V. Hard disk : SATA 40 GB OR ABOVE

VI. CD/DVD r/w multi drive combo: (If back up required)

VII. MONITOR 14.1 or 15 -17 inch

VIII. Key board and mouse

IX. Printer : (if print is required – [Hard copy])

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

import mysql.connector as sql


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,cpuramtint,cdisc float)')
print ('table created')

FILE NAME : MAIN

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)

print("CUSTOMER Created Congrats!!!")


conn.commit()

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''')

v_acctno=int(input ("Enter the Account Number: ")

c1.execute("Select * from customer_details where sno=" + str(v_sno))

data=c1.fetchall()

v_count=c1.rowcount

print("rec count = ",v_count)

ifv_count==0:
print("Account Number Invalid Sorry Try again later!!!")

else:

v_amt=int(input("Enter withdawal amount"))

v_sqlUpdate="update customer_details set v_pamt=pamt-" + str(v_amt) +

" where acct_no= " + str(v_acctno)

print(v_sqlUpdate)

c1.execute(v_sqlUpdate)

conn.commit()

print("Account updated successfully!!!")

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")

Enter the Choice –


Successfully Connected
table created
Automobile
1. service station
2. source
3. selling
4. Exit
Enter the Choice - 1
Enter the serial Number: 2
Enter the customer name :RAM KUMAR
Enter the customer details: STUDENT
Enter the customer address: DAVPS Bistupur
Enter the pincode: 831001
Enter the puramt: 868700
Enter the discount: 17790
Successfully created
Try for second choice

BIBLIOGRAPHY
• Computer science With Python - Class XII By : Sumita Arora

You might also like