Final Draft JEE Questions Management System 1
Final Draft JEE Questions Management System 1
PROJECT WORK
COMPUTER SCIENCE
CLASS XII (2023-24)
Name: MABISHA.M
Roll no: 08
Topic: JEE Questions Management
System
INDEX
Sl Contents Page
No. number
1 Acknowledgement 3
2 Certificate 4
3 Hardwares and Softwares Required 5
4 Materials required 5
5 Introduction 6
8 Outputs 56-74
9 References 75
Acknowledgement
I would like to extend my sincere and heartfelt obligation
towards all those who have helped me in making this project.
Without their active guidance, help, cooperation and
encouragement, I would not have been able to present the project
on time.
Name
Signature
Certificate
This is to certify that the project
work
titled JEE Questions
Management System is the
bonafide work of Mabisha.M of
Class XII B of Gnana Vidhya
Mandir as a part of Computer
Science Project work for class XII
AISSCE,2024-25.
The above mentioned project work
has been completed under my
guidance during the academic year
2024-2025.
Signature of Internal Signature of External
Signature of Principal
HARDWARES
1. Desktop Computer / Laptop
2. Mobile Phone
SOFTWARES
1. Python (Latest Version)
2. MySQL
3. Python Connector Module
INTRODUCTION
PYTHON
SOURCE
CODE
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor() y=input("enter the year of which
data is to be searched ") if int(y)>=2013 and
int(y)<=2023:
print("---------------------------------------------------------------")
print(" YEAR " , int(data[0]))
print(" NUMBER OF QUESTIONS ON THE FOLLOWING TOPICS ARE AS
FOLLOWS:")
print(" Physical_Chemistry " , data[1])
print(" Organic_Chemistry " , data[2]) print("
Inorganic_Chemistry " , data[3])
else:
print("///////////////////////////////////////////////////////////////////////")
print("Entered Year not in range of 2013 to 2023")
print("///////////////////////////////////////////////////////////////////////")
cobj.close()
db.close()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@1060")
cobj=db.cursor()
y=input("enter the year of which data is to be searched ")
if int(y)>=2013 and int(y)<=2023:
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor() y=input("enter the year of which
data is to be searched ") if int(y)>=2013 and
int(y)<=2023:
cobj.execute("select * from JEE_Mains_Maths where year = {}".format(y))
for data in cobj:
print("---------------------------------------------------------------")
print(" YEAR " , int(data[0]))
print(" NUMBER OF QUESTIONS ON THE FOLLOWING TOPICS ARE AS
FOLLOWS:")
print(" Basic_Mathematics " , data[1])
print(" Trignometry_and_Inverse_trignometry " , data[2])
print(" Sequence_and_series " , data[3]) print("
quadratic_Equations " , data[4]) print("
Complex_numbers " , data[5])
print(" Binomial_and_Permutations_and_Combinations " , data[6])
print(" Coordinate_Geometry " , data[7])
print(" Determinant_Matrices " , data[8])
print(" Relations_Functions " , data[9]) print("
Limits_Continuity_Differentiability " , data[10])
print(" AOD " , data[11]) print(" Integration " ,
data[12]) print(" Differential_Equations " ,
data[13]) print(" 3D_Geometry " , data[14])
print(" Probability " , data[15]) else:
print("//////////////////////////////////////////////////////////////////////
/") print("Entered Year not in range of 2013 to
2023")
print("///////////////////////////////////////////////////////////////////////")
cobj.close()
db.close()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor() y=input("enter the year of which data is to be searched ") if
int(y)>=2013 and int(y)<=2023: cobj.execute("select * from
JEE_Advanced_Chemistry where year = {}".format(y)) for data in cobj:
print("---------------------------------------------------------------")
print(" YEAR " , int(data[0]))
print(" NUMBER OF QUESTIONS ON THE FOLLOWING TOPICS ARE AS
FOLLOWS:")
print(" Physical_Chemistry " , data[1])
print(" Organic_Chemistry " , data[2]) print("
Inorganic_Chemistry " , data[3])
else:
print("///////////////////////////////////////////////////////////////////////")
print("Entered Year not in range of 2013 to 2023")
print("///////////////////////////////////////////////////////////////////////")
cobj.close()
db.close()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor() y=input("enter the year of which
data is to be searched ") if int(y)>=2013 and
int(y)<=2023:
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="update JEE_Advanced_Chemistry set {}={} where
year={}".format(topic,new_number,year)
cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="update JEE_Mains_Chemistry set {}={} where year={}".format(topic,new_number,year)
cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="update JEE_Advanced_Physics set {}={} where year={}".format(topic,new_number,year)
cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="update JEE_Mains_Physics set {}={} where year={}".format(topic,new_number,year)
cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="update JEE_Advanced_Maths set {}={} where year={}".format(topic,new_number,year)
cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into JEE_Advanced_Chemistry
values({},{},{},{})".format(year,new_number1,new_number2,new_number3)
cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into JEE_Mains_Chemistry
values({},{},{},{})".format(year,new_number1,new_number2,new_number3)
cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into JEE_Advanced_Physics
values({},{},{},{},{},{},{},{},{})".format(year,new_number1,new_number2,new_number3,ne
w_number4,new_number5,new_number6,new_number7,new_number8) cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into JEE_Mains_Physics values({},{},{},{},{},{},{},{},{},
{})".format(year,new_number1,new_number2,new_number3,
new_number4,new_number5,new_number6,new_number7,new_number8,new_number9)
cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into JEE_Advanced_Maths values({},{},{},{},{},{},{},{},{},{},{},{},{},{},
{})".format(year,new_number1,new_number2,
new_number3,new_number4,new_number5,new_number6,new_number7,new_number8,new_nu
mber9,new_number10,new_number11,new_number12,new_number13,new_number14)
cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into JEE_Mains_Maths values({},{},{},{},{},{},{},{},{},{},{},{},{},{},
{})".format(year,new_number1,new_number2,
new_number3,new_number4,new_number5,new_number6,new_number7,new_number8,new_nu
mber9,new_number10,new_number11,new_number12,new_number13,new_number14)
cobj.execute(qr)
db.commit()
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into jee_mains_chemistry_important_questions
values({},'{}','{}')".format(year,topic,question)
cobj.execute(qr)
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into jee_advanced_physics_important_questions
values({},'{}','{}')".format(year,topic,question)
cobj.execute(qr)
#TO ADD AN IMPOTANT QUESTION OF THE SUCJECT: PHYSICS INTO JEE MAINS
QUESTIONS DATA
def add_question_JEE_Mains_Physics():
print("------------------------------------------------------------------")
print(" AVAILABLE TOPICS ")
print(" Mechanics ") print("
SHM_and_Waves ") print("
Thermodynamics ") print("
Gravitation ") print("
Electrodynamics ") print("
Currrent_and_Magnetism ")
print(" Optics ") print("
Modern_Physics ")
print(" Semi_conductors_and_logic_Gates ")
topic=input("enter the topic in which question is to be entered")
question=input("enter the question")
year=int(input("enter year in which questions number is to be entered"))
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into jee_mains_physics_important_questions
values({},'{}','{}')".format(year,topic,question)
cobj.execute(qr)
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into jee_advanced_maths_important_questions
values({},'{}','{}')".format(year,topic,question)
cobj.execute(qr)
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="insert into jee_mains_maths_important_questions
values({},'{}','{}')".format(year,topic,question)
cobj.execute(qr)
#TO VIEW THE IMPORTANT QUESTIONS ASKED EACH YEAR IN JEE MAINS
OF THE SUBJECT: CHEMISTRY def Importnat_Questions_JEE_Mains_Chemistry():
print("------------------------------------------------------------------")
print(" AVAILABLE TOPICS ") print(" Physical_Chemistry ") print("
Organic_Chemistry ") print(" Inorganic_Chemistry ")
topic=input("Enter the topic to be searched") if topic in
"Physical_Chemistry Organic_Chemistry Inorganic_Chemistry":
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="Select * from JEE_Mains_Chemistry_Important_Questions where
topic='{}'".format(topic) cobj.execute(qr) for data in cobj:
print("Year" , data[0]) print("Topic" , data[1])
print("Question" , data[2])
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH
IS NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
if c==2:
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor() qr="Select * from
JEE_Mains_Chemistry_Important_Questions"
cobj.execute(qr) for data in cobj: print("Year" ,
data[0]) print("Topic" , data[1])
print("Question" , data[2])
if c<1 or c>2:
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS
NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="Select * from jee_advanced_chemistry_important_questions where
topic='{}'".format(topic) cobj.execute(qr) for data in cobj:
print("Year" , data[0])
print("Topic" , data[1])
print("Question" , data[2])
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
if c==2:
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="Select * from JEE_Advanced_Chemistry_Important_Questions"
cobj.execute(qr) for data in cobj: print("Year" , data[0])
print("Topic" , data[1])
print("Question" , data[2])
if c<1 or c>2:
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS
NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="Select * from JEE_Advanced_Physics_Important_Questions where
topic='{}'".format(topic) cobj.execute(qr) for data in cobj:
print("Year" , data[0]) print("Topic" , topic)
print("Question" , data[2])
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH
IS NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
if c==2:
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="Select * from JEE_Advanced_Physics_Important_Questions"
cobj.execute(qr) for data in cobj:
print("Year" , data[0])
print("Topic" , data[1])
print("Question" , data[2])
if c<1 or c>2:
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS
NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
#TO VIEW THE IMPORTANT QUESTIONS ASKED EACH YEAR IN JEE MAINS
OF THE SUBJECT: PHYSICS
def Importnat_Questions_JEE_Mains_Physics():
print("Enter 1 to enter the topic whose important questions is to be searched")
print("Enter 2 to view the complete data") c=int(input("Enter your choice"))
if c==1: print("------------------------------------------------------------------")
print(" AVAILABLE TOPICS ")
print(" Mechanics ") print("
SHM_and_Waves ") print("
Thermodynamics ") print("
Gravitation ") print("
Electrodynamics ") print("
Currrent_and_Magnetism ")
print(" Optics ")
print(" Semi_conductors_and_logic_Gates ") topic=input("Enter the topic to be
searched") if topic in " Mechanics SHM_and_Waves Thermodynamics
Gravitation Electrodynamics Currrent_and_Magnetism Optics
Semi_conductors_and_logic_Gates":
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="Select * from JEE_Mains_Physics_Important_Questions where
topic='{}'".format(topic) cobj.execute(qr) print("Year" ,
data[0]) print("Topic" , topic)
print("Question" , data[2])
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
if c==2:
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="Select * from JEE_Mains_Physics_Important_Questions"
cobj.execute(qr) for data in cobj: print("Year" ,
data[0]) print("Topic" , data[1])
print("Question" , data[2])
if c<1 or c>2:
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS
NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
#TO VIEW THE IMPORTANT QUESTIONS ASKED EACH YEAR IN JEE MAINS
OF THE SUBJECT: MATHEMATICS def Importnat_Questions_JEE_Mains_Maths():
db=conn.onnect(host="localhost",user="root",database="JEE",password="OmmHappy@10605"
)
cobj=db.cursor()
qr="Select * from JEE_Mains_Maths_Important_Questions where
topic='{}'".format(topic) cobj.execute(qr) for data in cobj:
print("Year" , data[0]) print("Topic" , topic)
print("Question" , data[2])
if topic not in "Basic_Mathematics Trignometry_and_Inverse_trignometry
Sequence_and_series quadratic_Equations Complex_numbers
Binomial_and_Permutations_and_Combinations Coordinate_Geometry Determinant_Matrices
Relations_Functions Limits_Continuity_Differentiability AOD Integration
Differential_Equations 3D_Geometry Probability":
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH
IS NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
if c==2:
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="Select * from JEE_Mains_Maths_Important_Questions"
cobj.execute(qr) for data in cobj: print("Year" ,
data[0]) print("Topic" , data[1])
print("Question" , data[2])
if c<1 or c>2:
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS
NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="Select * from JEE_Advanced_Maths_Important_Questions where
topic='{}'".format(topic) cobj.execute(qr) for data in cobj:
print("Year" , data[0]) print("Topic" , topic)
print("Question" , data[2])
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH
IS NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
if c==2:
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
qr="Select * from JEE_Advanced_Maths_Important_Questions"
cobj.execute(qr) for
data in cobj:
print("Year" , data[0])
print("Topic" , data[1])
print("Question" , data[2])
if c<1 or c>2:
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS
NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////")
#WELCOME MESSAGE
print("*************************************************************")
print("Welcome to JEE_Questions_DATA from 2013-2023")
print("*************************************************************") print("For
Admin enter 1 ")
print("For User enter 2 ")
inp=int(input("Enter your choice "))
if inp==1: print("Enter
username")
user=input("")
print("Enter password")
pasw=input("")
dbo=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@1060
5")
cu=dbo.cursor()
query="select * from admin_data"
cu.execute(query) for data in cu:
if data[0]==user and data[1]==pasw:
admin()
else:
print("WRONG PASSWORD OR USERNAME")
print("************************************************************************
***************")
print("Welcome to JEE_MAINS_Number_of_Questions DATA from 2013-2023")
print("************************************************************************
***************")
print("enter 1 for JEE_mains_Chemistry data")
print("enter 2 for JEE_mains_Physics data")
print("enter 3 for JEE_mains_Maths data")
z=int(input("Enter your choice ")) if z==1:
JEE_Mains_Chemistry()
if z==2:
JEE_Mains_Physics()
if z==3:
JEE_Mains_Maths()
if z<=0 or z>=4:
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH
IS NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////")
if x==2:
print("************************************************************************
*****")
print("Welcome to JEE_ADVANCED_Number_of_Questions DATA from 2013-2023")
print("************************************************************************
*****") print("enter 1 for
JEE_Advanced_Chemistry data") print("enter 2 for
JEE_Advanced_Physics data") print("enter 3 for
JEE_Advanced_Maths data")
z=int(input("Enter your choice"))
if z==1:
JEE_Advanced_Chemistry()
if z==2:
JEE_Advanced_Physics()
if z==3:
JEE_Advanced_Maths()
if z<=0 or z>=4:
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH
IS NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////")
if x==3:
print("************************************************************************
*****")
print("Welcome to Chemistry_Topicwise_data of JEE from 2013-2023")
print("************************************************************************
*****") print(" AVAILABLE TOPICS ") print(" Physical_Chemistry ")
print(" Organic_Chemistry ") print(" Inorganic_Chemistry ")
q=input("enter the topic whose data you want to see ") if q in
["Physical_Chemistry" , "Organic_Chemistry" , "Inorganic_Chemistry"]:
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
")
cobj=db.cursor()
cobj1=db.cursor()
print("------------------JEE_Adavanced_Data----------------------")
cobj.execute("select {},year from JEE_Advanced_Chemistry".format(q))
for data in cobj: print("Year" , data[1]) print("Number of
Questions from" , q , "is", data[0]) print("----------------
JEE_Mains_Data----------------------") cobj1.execute("select {},year from
JEE_Mains_Chemistry".format(q)) for data1 in cobj1:
print("Year" , data1[1])
print("Number of Questions from" , q , "is", data1[0])
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////")
if x==4:
print("************************************************************************
*****")
print("Welcome to Physics_Topicwise_data of JEE from 2013-2023")
print("************************************************************************
*****")
print(" AVAILABLE TOPICS ")
print(" Mechanics " ) print("
SHM_and_Waves " ) print("
Thermodynamics " ) print("
Gravitation " ) print("
Electrodynamics " ) print("
Currrent_and_Magnetism ")
print(" Optics " )
print(" Modern_Physics " )
print(" Semi_conductors_and_logic_Gates ") q =input("enter the topic whose
data you want to see ") if q in "Mechanics SHM_and_Waves Thermodynamics
Gravitation Electrodynamics Currrent_and_Magnetism Optics Modern_Physics
Semi_conductors_and_logic_Gates":
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
") cobj=db.cursor() cobj1=db.cursor()
print("------------------JEE_Adavanced_Data----------------------")
cobj.execute("select {},year from JEE_Advanced_Physics".format(q))
for data in cobj: print("Year" , data[1])
print("Number of Questions from" , q , "is", data[0])
print("-----------------------JEE_Mains_Data-------------------------")
cobj1.execute("select {},year from JEE_Mains_Physics".format(q)) for
data1 in cobj1:
print("Year" , data[1])
print("Number of Questions from" , q , "is", data[0]) if q not in "Mechanics
SHM_and_Waves Thermodynamics Gravitation Electrodynamics Currrent_and_Magnetism
Optics Modern_Physics Semi_conductors_and_logic_Gates":
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH
IS NOT AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////")
if x==5:
print("************************************************************************
*****")
print("Welcome to Maths_Topicwise_data of JEE from 2013-2023")
print("************************************************************************
*****")
print(" Basic_Mathematics ")
print(" Trignometry_and_Inverse_trignometry ")
print(" Sequence_and_series ") print("
quadratic_Equations ") print("
Complex_numbers ")
print(" Binomial_and_Permutations_and_Combinations ")
print(" Coordinate_Geometry ")
print(" Determinant_Matrices ")
print(" Relations_Functions ")
print(" Limits_Continuity_Differentiability " )
print(" AOD " ) print(" Integration ")
print(" Differential_Equations ") print("
3D_Geometry ") print(" Probability " )
q =input("enter the topic whose data you want to see ") if q in "Basic_Mathematics
Trignometry_and_Inverse_trignometry Sequence_and_series quadratic_Equations
Complex_numbers Binomial_and_Permutations_and_Combinations
Coordinate_Geometry Determinant_Matrices Relations_Functions
Limits_Continuity_Differentiability AOD Integration Differential_Equations 3D_Geometry
Probability":
db=conn.connect(host="localhost",user="root",database="JEE",password="OmmHappy@10605
") cobj=db.cursor() cobj1=db.cursor()
print("------------------JEE_Adavanced_Data----------------------")
cobj.execute("select {},year from JEE_Advanced_Maths".format(q))
for data in cobj:
print("Year" , data[1])
print("Number of Questions from" , q , "is", data[0]) print("-----------------------
JEE_Mains_Data--------------------------") cobj1.execute("select {},year from
JEE_Mains_Maths".format(q)) for data1 in cobj1:
print("Year" , data1[1])
print("Number of Questions from" , q , "is", data1[0])
if q not in "Basic_Mathematics Trignometry_and_Inverse_trignometry Sequence_and_series
quadratic_Equations Complex_numbers Binomial_and_Permutations_and_Combinations
Coordinate_Geometry Determinant_Matrices Relations_Functions Limits_Continuity_Differentiability AOD
Integration Differential_Equations 3D_Geometry Probability":
print("///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS NOT
AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////
/////////")
if x==6:
print("*******************************************************************************
***************************")
print("Welcome to Topicwise_Importnat_Questions_of_JEE_Advanced of JEE from 2013-2023")
print("*******************************************************************************
***************************")
print("Enter 1 for viewing important question of Chemistry")
print("Enter 2 for viewing important question of Physics")
print("Enter 3 for viewing important question of Maths")
z1=int(input("Enter your choice")) if z1==1:
Importnat_Questions_JEE_Advanced_Chemistry()
if z1==2:
Importnat_Questions_JEE_Advanced_Physics()
if z1==3:
Importnat_Questions_JEE_Advanced_Maths()
if z1<1 or z1>3:
print("///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS NOT
AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////
/////////")
if x==7:
print("*******************************************************************************
***************************")
print("Welcome to Topicwise_Importnat_Questions_of_JEE_Mains of JEE from 2013-2023")
print("*******************************************************************************
***************************")
print("Enter 1 for viewing important question of Chemistry")
print("Enter 2 for viewing important question of Physics") print("Enter
3 for viewing important question of Maths") z2=int(input("Enter your
choice"))
if z2==1:
Importnat_Questions_JEE_Mains_Chemistry()
if z2==2:
Importnat_Questions_JEE_Mains_Physics()
if z2==3:
Importnat_Questions_JEE_Mains_Maths()
if z2<1 or z2>3:
print("///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS NOT
AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////
/////////")
if x<1 or x>7:
print("/////////////////////////////////////////////////////////////////////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS NOT
AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("////////////////////////////////////////////////////////////////////////////////////////")
if inp<1 or inp>2:
print("/////////////////////////////////////////////////////////////////////////////////////////")
print("YOU CHOSE A WRONG OPTION OR WROTE THE WRONG TOPIC WHICH IS NOT
AVAILABLE")
print("PLEASE ENTER YOUR CHOICE CAREFULLY")
print("////////////////////////////////////////////////////////////////////////////////////////")
print("****************************************************") print("THANK
YOU FOR USING THE PROGRAM")
print("****************************************************")
MYSQL
DATABASE
Tables in JEE database
Admin Authentication
Entering Choice
Entering the data to be inserted to number of question data
Entering the data to be updated to number of question data
Selecting Choice
Entering the data to be inserted to Important question data
Selecting Choice
For Choice 1
For Choice 2
Selecting Choice
For Choice 1
For Choice 2
Exception Handling
REFERENCES
1. Wikipedia
https://www.wikipedia.org/
2. Python
https://www.python.org/
3. MySQL
https://www.mysql.com/
4. 11th and 12th Computer