0% found this document useful (0 votes)
21 views28 pages

Project Format

Uploaded by

shumailasgalaxy
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)
21 views28 pages

Project Format

Uploaded by

shumailasgalaxy
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/ 28

Mahaveer Public

School

A project on
“Liberty tours & travels”
For AISSCE – 2024 Examination
NAME: BOARD ROLL NO
1. Rimsha khalique ____________________

___________________

Submitted to:
Neha Si nghal
(PGT-AI/CS)
INDEX
ACKNO
WLEDGE
I would like to express my sincere gratitude to all those who have

MENT
contributed to the successful completion of this project in Web
Application.
Firstly, I extend my heartfelt thanks to my subject teacher, Mrs.
Neha Singhal, for their invaluable guidance, encouragement, and
support throughout the project. Their expert advice and motivation
helped me understand the concepts and complete the project
effectively.
I am also grateful to the school authorities for providing me with an
excellent environment and resources to carry out this project.
Additionally, I wish to thank my parents, family members, and
friends for their constant encouragement and support, which has
been a great source of inspiration.
Lastly, I would like to acknowledge the CBSE board for designing a
practical curriculum that allows us to apply our learning through
such projects.
Thank you.

Name of Student:________________________
Signature: ______________________________
CERTIFICATE
This is to certify that Ms. RIMSHA KHALIQUE has completed her

project on “LIBERTY TOURS & TRAVELS” for AISSCE-2024 Examination

in partial fulfilment of the requirement of CBSE, New Delhi for the

award of Senior School Certificate in Web Application (803).

The original research work was carried out by her under my guidance

for the session 2024-2025. On the basis of the declaration made by

her I recommend this project report for evaluation.

Certified by:

Internal External
Signature: Signature

_______________ __________________

Neha Singhal
PGT(A.I/C.S)
About project
In this section you will write the detail description of your project
that includes the followings:
Introduction of your project
Purpose of the project software
Language used to develop this project
Back end used to store details permanently.
Libraries imported with their description

In this section you will write all the import statements and write

description of each import statement. Also write command how to

install the library.


Data Source

In this page you will mention about your data being considered in
the project i.e.
What your data is? (You data must have more then 100 recor
What is the source of data? (From website or taken from other
sources) with its authenticity.
Menu options with their description

In this page you will mention the name of all the menu options and

write the details for what purpose the menu option is.

Write all menu options in list form.


CODING
#menu driven program
import os
from time import sleep
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import csv
a=0
b=0
c=0
while True:
print("-"*60)
print(" "*5,"Welcome to Mahaveer Public School")
print("-"*60)
print("1. Login")
print("2. Exit")
lc=int(input("Enter Your Choice"))
if lc==1:
unm = input("Enter User Name")
pwd = input("Enter Password")
if unm=='admin' and pwd=='123':
print("Login Success")
print("Welcome ", unm)
while True:
print("-"*60)
print(" "*5,"Welcome to Mahaveer Public School")
print("-"*60)
print("1. Create CSV File")
print("2. Add Record in CSV File")
print("3. Delete Record in CSV File")
print("4. Search Record in CSV File")
#(show different types of searching here compulsorily.
Here in this sample project only 1 type of searching is covered)
print("5. Update Record in CSV File")
print("6. View Record(s)")
print("7. View Graph")
print("8. Remove CSV File")
print("9. Exit")
ch=int(input("Enter Your Choice"))
if ch==1:
fieldlist=['Rno', 'Name',
'Address','ENG','ACC','BST','ECO','IP']
df = pd.DataFrame(columns=fieldlist)
df.to_csv("D:\\class12prog\\
mpsschool.csv",index=False)
print("CSV File Created Successfully...")

elif ch==2:
df=pd.read_csv("D:\\class12prog\\mpsschool.csv")
lst = df.columns.tolist()
while True:
dict1 = {}
for cnm in lst:
dict1[cnm]=input("Enter "+cnm)
df=df.append(dict1,ignore_index=True)
print("Record Added")
addrec=input("Add More Recrds: y/n")
if addrec=='y' or addrec=='Y':
print("-"*60)
print(df)
continue
else:
df.to_csv("D:\\class12prog\\
mpsschool.csv",index=False)
break
elif ch==3:
df=pd.read_csv("D:\\class12prog\\mpsschool.csv")
while True:
rno=input("Enter RollNo for deletion")
sind=-1
se = df['Rno']
for s in range(len(se)):
if se[s]==int(rno):
sind=s
break
if sind==-1:
print(rno, " not found")
else:
df=df.drop(sind)
print("-"*60)
print(df)
df.to_csv("D:\\class12prog\\
mpsschool.csv",index=False)
print("Record Deleted...")
dch=input("Want to try to delete More Records y/n")
if dch=='y' or dch=='Y':
continue
else:
break
elif ch==4:
df=pd.read_csv("D:\\class12prog\\mpsschool.csv")
while True:
rno=input("Enter RollNo to search a record")
sind=-1
se = df['Rno']
for s in range(len(se)):
if se[s]==int(rno):
sind=s
break
if sind==-1:
print(rno, " not found")
else:
print("-"*60)
print(df.loc[sind])

dch=input("Want to try to search More Records y/n")


if dch=='y' or dch=='Y':
continue
else:
break

elif ch==5:
df=pd.read_csv("D:\\class12prog\\mpsschool.csv")
while True:
rno=input("Enter RollNo whose details to be
modified")
sind=-1
se = df['Rno']
for s in range(len(se)):
if se[s]==int(rno):
sind=s
break
if sind==-1:
print(rno, " not found")
else:
ads=input("Enter New Address")
df.loc[sind,'Address']=ads
print("-"*60)
print(df)
df.to_csv("D:\\class12prog\\
mpsschool.csv",index=False)
print("Record Updated...")
dch=input("Want to try to update More Records y/n")
if dch=='y' or dch=='Y':
continue
else:
break
elif ch==6:
print("-"*60)
df=pd.read_csv("D:\\class12prog\\mpsschool.csv")
print(df)
continue
elif ch==7:
print("-"*60)
df=pd.read_csv("D:\\class12prog\\mpsschool.csv")
df.plot(x='Name',y=['ENG','ACC','BST','ECO','IP'],
kind='bar', color=['Gold','Red','Green', 'Yellow','Blue'])
plt.xlabel("Student Name")
plt.ylabel("Marks")
plt.title("Student Performance")
plt.show()
elif ch==8:
os.remove("D:\\class12prog\\mpsschool.csv")
print("File Removed...")
continue
elif ch==9:
break
else:
print("Invalid user name or password!! try again")
continue
elif lc==2:
break;
print("Thank You")
OUTPUT
1. Login
2. Main Menu
3. Creating CSV File
4. Adding Record to CSV File:
5. Deleting Record
6.Searching Record
7.Updating Record
8.Viewing All Records of CSV File
9.Data Visualization using Bar Graph
10.Remove CSV File
11. Closing Application
Bibliography
For creating the project following sources have been used:

1. Text Book: Handbook of A.I

2. The Complete Reference Python

3. Internet

You might also like