Course Mangement Class 12 Computer Project
Course Mangement Class 12 Computer Project
Apart from the efforts of me, the success of any project depends largely on the encouragement and
guidelines of many others. I take this opportunity to express my gratitude to the people who have been
instrumental in the successful completion of this project.
I gratefully acknowledge the contribution of the individuals who contributed in bringing this project
up to this level, who continues to look after me despite my flaws,
I express my deep sense of gratitude to the luminary The Principal, Mangal Vidyalayam who has
been continuously motivating and extending their helping hand to us.
I express my sincere thanks to the academician The Vice Principal, Mangal Vidyalayam for
constant encouragement and the guidance provided during this project
My sincere thanks to MRS.M.REVATHI, MRS. , teachers in charge, Mentor all the above as friend, who
critically reviewed my project and helped in solving each and every problem, occurred during
implementation of the project
The guidance and support received from all the members who contributed and who are contributing
to this project, was vital for the success of the project. I am grateful for their constant support and help.
CONTENTS
1
DESCRIPTION PAGE NO
01 INTRODUCTION 03
03 SOURCE CODE 04
04 OUTPUT 08
05 CONCLUSION 10
06 BIBLIOGRAPHY 12
2
This project is based on the way in which the billing is done in the stores here it is the school
management .this is helpful for the owners to maintain the list of the sales done on the day or in a year and
also helpful in calculating the profit
• Apply object oriented programming principles effectively when developing small to medium sized
projects.
• 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.
SOURCE CODE
import os
3
import platform
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",password="root",database="course_match”)
mycursor=mydb.cursor()
def course_insert():
L=[]
L.append(c_id)
L.append(stream)
L.append(c_name)
course=(L)
mycursor.execute(sql,course)
mybd.commit()
def cview():
print("2.Stream:")
print("3.All")
if ch==1:
s=int(input("c_id:"))
c=(s,)
4
mycursor.execute(sql,c)
elif ch==2:
n=(s,)
mycursor.execute(sql,n)
elif ch==3:
mycursor.execute(sql)
res=mycursor.fetchall()
print("(course_id,stream_name,course_opportunities)")
for x in res:
print(x)
def removecourse() :
ci=(cid,)
mycursor.execute(sql,ci)
mycursor.execute(sql,ci)
mydb.commit()
def menuset():
5
print("enter 3. to remove course")
try:
except valueerror:
else:
print("\n")
if(userinput==1):
course_insert()
elif(userinput==2):
cview()
elif (userinput==3):
removecourse()
else:
menuset()
def runagain():
while(runagn.lower()=="y"):
if(platform.system()=="windows"):
print(os.system("cls"))
else:
print(os.system("clear"))
menuset()
6
r
7
OUTPUT
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="Paneendra",password="PANI",database="course
_match")
mycursor=mydb.cursor()
def course_insert():
L=[]
L.append(c_id)
L.append(stream)
8
c_name=input("enter available oppurtunities or courses in this stream:")
L.append(c_name)
course=(L)
mycursor.execute(sql)
mydb.commit()
def cview():
print("1.C_id")
print("2.Stream")
print("3.All")
if ch==1:
mycursor.execute(sql)
#mydb.commit()
res=mycursor.fetchall()
for x in res:
print(x)
elif ch==2:
9
mycursor.execute(sql)
#mydb.commit()
else:
mycursor.execute(sql)
res=mycursor.fetchall()
print("(course_id,stream_name,course_opportunities)")
for x in res:
print(x)
mycursor.execute(sql)
#mydb.commit()
def removecourse():
ci=cid
def main():
while True:
print("4.To Exit")
10
if ch==1:
course_insert()
elif ch==2:
cview()
elif ch==3:
removecourse()
elif ch==4:
break
main()
CONCLUSION
11
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.
12
BIBLIOGRAPHY
***
13