Professional Documents
Culture Documents
ADVANTAGES
1)Easy to use.
2)Expressive language.
3)Interpreted language.
4)Portable language.
6)Variety of applications.
►Scripting
►Web applications
2/40
DISADVANTAGES
3/40
ABSTRACT
purposes.
4/40
HARDWARE AND SOFTWARE REQUIREMENTS
HARDWARE:
• Personal computer
• Keyboard
• Mouse
• Hard drive
SOFTWARE:
APPLICATIONS
OPERATING SYSTEM
MEMORY
• Size : 18KB
5/40
DICTIONARIES USED
1)STUDENT
►KEY – adm
2)LUN
►KEY – adm
3)TRAN
►KEY – adm
4)FEES
►KEY – adm
5)GRP
►KEY – amm
6/40
MODULES
1)ADD STUDENT
2)STUDENT SEARCH
This choice asks the user to enter the admission code of the
student and displays the details regarding the student.
3)TRANSPORT DETAILS
4)LUCH DETAILS
5)FEE DETALIS
This module shows the list of students who have not paid the
fees and asks if the management wants to send a warning
message to the student or not.
7/40
6)GROUP ALLOTMENT
7)UPDATE
The students who wish to get school lunch are added in this
module.
This adds the student who have not paid the fees to the fees
dictionary .
8)REMOVE STUDENT
9)EXIT
This marks the end of the program. It thanks the user for
using the student database management system.
9/40
SOURCE CODE
student={}
lun={}
tran={}
fees={}
grp={}
cha=0
ch=0
print('''1)Add Student
2)Student search
3)Transport details
4)Lunch details
5)Fee details
6)Group allotment
7)Update
8)Remove student
9)Exit ''')
print()
10/40
while cha!=9:
print()
if cha==1:
print('Student Creation')
for i in range(n):
print()
student[adm]=[snam,cls,sec,mob]
if 'yes' in ln:
lun[adm]=[snam,cls,sec,mob]
else:
pass
if 'yes' in tr:
tran[adm]=[snam,cls,sec,mob]
else:
pass
11/40
if 'no' in fee:
fees[adm]=[snam,cls,sec,mob]
else:
pass
print('Student Details')
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in student:
x=student[i]
print(i,end="\t")
for j in x:
print(j,end="\t")
print()
print()
elif cha==2:
if adm in student:
print('Student found')
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
x=student[adm]
print(adm,end='\t')
12/40
for j in x:
print(j,end='\t')
print()
else:
elif cha==3:
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in tran:
x=tran[i]
print(i,end='\t')
for j in x:
print(j,end='\t')
print()
print()
a=float(len(tran)*1500)
elif cha==4:
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in lun:
13/40
x=lun[i]
print(i,end='\t')
for j in x:
print(j,end='\t')
print()
s=float(len(lun)*60)
elif cha==5:
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in fees:
x=fees[i]
print(i,end='\t')
for j in x:
print(j,end='\t')
print()
warn=input('Do you want to send warning message to the above students? : ')
if warn=='yes':
else:
elif cha==6:
14/40
n=int(input('Group allotment for how many students:'))
for i in range(n):
print()
if cls==10:
print()
if gr==1:
sec='A'
grp[amm]=[snam,cls,sec,mob,gr]
elif gr==2:
sec='B'
grp[amm]=[snam,cls,sec,mob,gr]
elif gr==3:
sec='C'
grp[amm]=[snam,cls,sec,mob,gr]
elif gr==4:
sec='C'
grp[amm]=[snam,cls,sec,mob,gr]
15/40
else:
print("Invalid choice!")
print()
if gr==2:
sec='B'
grp[amm]=[snam,cls,sec,mob,gr]
elif gr==3:
sec='C'
grp[amm]=[snam,cls,sec,mob,gr]
elif gr==4:
sec='C'
grp[amm]=[snam,cls,sec,mob,gr]
else:
print("Invalid choice!")
print('Available groups--3)Commerce,4)Humanities')
print()
if gr==3:
sec='C'
grp[amm]=[snam,cls,sec,mob,gr]
16/40
elif gr==4:
sec='C'
grp[amm]=[snam,cls,sec,mob,gr]
else:
print("Invalid choice!")
print('Available groups--4)Humanities')
print()
if gr==4:
sec='C'
grp[amm]=[snam,cls,sec,mob,gr]
else:
print("Invaild choice!")
else:
else:
print('Group Details')
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in grp:
x=grp[i]
17/40
print(i,end="\t")
for j in x:
print(j,end="\t")
print()
print()
elif cha==7:
print()
while ch!=7:
print()
if ch==1:
adm=int(input('Enter the admin no. of the student to be removed from unpaid : '))
if adm in fees:
del fees[adm]
print()
print('-----------------------------------------------------------------------------')
18/40
print('Admin\t Name\t Class\t Sec\t Mob\t ')
print('-----------------------------------------------------------------------------')
for i in fees:
x=fees[i]
print(i,end='\t')
for j in x:
print(j,end="\t")
print()
print()
else:
elif ch==2:
if adm in student:
student[adm]=[snam,cls,sec,mob]
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in student:
x=student[i]
print(i,end='\t')
19/40
for j in x:
print(j,end='\t')
print()
print()
else:
elif ch==3:
adm=int(input('Enter the admin no.of the student who does not require transport :'))
if adm in tran:
del tran[adm]
a=float(len(tran)*1500)
a=a-1500
print()
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in tran:
x=tran[i]
print(i,end='\t')
for j in x:
print(j,end='\t')
print()
print()
20/40
print('the total cost from transport is:',a)
else:
elif ch==4:
adm=int(input('Enter the admin no.of the student who does not require lunch :'))
if adm in lun:
del lun[adm]
s=float(len(lun)*60)
s=s-60
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in lun:
x=lun[i]
print(i,end='\t')
for j in x:
print(j,end='\t')
print()
print()
else:
elif ch==5:
21/40
adm=int(input("Enter the Adm no. of the student : "))
if adm in student:
tran[adm]=[snam,cls,sec,mob]
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in tran:
x=tran[i]
print(i,end='\t')
for j in x:
print(j,end='\t')
print()
print()
else:
elif ch==6:
22/40
sec=input("Enter the section of the student : ")
if adm in student:
lun[adm]=[snam,cls,sec,mob]
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in lun:
x=lun[i]
print(i,end='\t')
for j in x:
print(j,end='\t')
print()
print()
else:
elif ch==7:
if adm in student:
23/40
fees[adm]=[snam,cls,sec,mob]
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in fees:
x=fees[i]
print(i,end='\t')
for j in x:
print(j,end='\t')
print()
print()
else:
elif cha==8:
wan=input('Are you sure to delete the student from all the records? : ')
if wan=='yes':
if adm in student:
del student[adm]
else:
if adm in fees:
24/40
del fees[adm]
else:
pass
if adm in tran:
del tran[adm]
else:
pass
if adm in lun:
del lun[adm]
else:
pass
if amm in grp:
del grp[amm]
else:
pass
print('Student Details')
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in student:
x=student[i]
print(i,end="\t")
for j in x:
25/40
print(j,end="\t")
print()
print()
print()
print('Group Details')
print('-----------------------------------------------------------------------------')
print('-----------------------------------------------------------------------------')
for i in grp:
x=grp[i]
print(i,end="\t")
for j in x:
print(j,end="\t")
print()
print()
else:
elif cha==9:
else:
print("Invalid choice")
print()
26/40
OUTPUT
27/40
28/40
29/40
30/40
31/40
32/40
33/40
34/40
35/40
36/40
37/40
CONCLUSION
Thus, the program School student Management has been
executed successfully.
SHORTCOMINGS :
38/40
FUTURE ENHANCEMENT
This project is just a sketch of a professional school student
management system and is just a rough idea. The
possibilities and requirements of a school student
management system is vast and ever-growing. This project
can be uplifted and refined by adding many modules which
makes it catch up with the requirement factor of a school.
As Python offers a large number of built-in functions, this
project can be enhanced even more by shortening its
length and working on its efficiency. Overall, this project is
an arena for endless enhancements, developments, and
possibilities.
39/40
WEBLIOGRAPHY / BIBLIOGRAPHY
►https://en.wikipedia.org/wiki/Python_(programming_lang
uage).
40/40