IP-Project (2021-22) Student Marks Management System
IP-Project (2021-22) Student Marks Management System
Informatics Practices 1
TABLE OF CONTENTS
S no. Description Page no.
1 Acknowledgement 3
2 Objectives of Project 4
3 Proposed System 5
4 Introduction 6
5 Feasibility Study 8
6 Source Code 10
Informatics Practices 2
fi
ACKNOWLEDGEMENT
Informatics Practices 3
fl
ff
ij
ft
Objectives of 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 and
developing a good sense towards programming .
•
• Write programs utilising modem so ware tools.
• Apply object oriented programming principles
E ectively when developing small to medium
sized projects.
• Write e ective procedural code to solve small
to medium sized problems.
• Students will demonstrate a breadth of
knowledge in computer science, as exempli ed
in the areas of systems, theory and so ware
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.
Informatics Practices 4
ff
ff
ft
ft
fi
Proposed System
All the four activities of systems have been automated and efforts have
been made to minimize the manual working.
Benefits Of Purposed System:
The paper work is reduced to minimal level. Computer prepares the lists of
customers.
2. No Manual Work.
There is no manual work. All the processes are done through computer.
Data is now stored at one place. Any information regarding anything can be
easily available to the user.
6. User-friendly Software
7. Flexibility
The system is more flexible than the manual system being used presently.
8. Beneficial
The system is easy to use and reduces the user's workload a lot. It provides
timely and accurate information and there is automatic generation of
reports.
Informatics Practices 5
INTRODUCTION
About Python
Python is a popular programming language. It was created by
Guido van Rossum, and released in 1991.
FIELDS OF ORKING:
• Web Development (server-side)
• So ware Development
• Mathematics
• System scripting.
Uses:
Advantages:
• Python has a simple syntax similar to the English language.
• Python has syntax that allows developers to write programs
with fewer lines than some other programming languages.
Python runs on an interpreter system, meaning that code can
be executed as soon as it is written. This means that
prototyping can be very quick.
Informatics Practices 6
ft
fl
W
fi
ff
ft
ft
Informatics Practices 7
fi
ff
ffi
Feasibility Study
During the course of completion of this project work, the complete
analysis of proposed system was done. In the analysis task, a
complete care about the feasibility of the proposed system was
taken. The following feasibility analyses were carried out during the
course of this project work on call management system for
customer care:
- Economical feasibility
- Technical feasibility
- Operational feasibility
ECONOMICAL FEASIBILITY:
TECHNICAL FEASIBILITY:
Informatics Practices 8
fi
ff
ft
fi
ft
fi
SOFTWARE CONFIGURATION
OPERATIONAL FEASIBILITY :
Informatics Practices 9
ffi
V
ff
SOURCE CODE
OF PROJECT
Based on the Python programming language, it includes the
majority of Python commands. The front end is built with Python,
while the backend is built with CS for better data collecting.
Informatics Practices 10
import os
import csv
def addrecord():
print("Add a new Record")
print("================")
f=open('students.csv','a')
s=csv.writer(f)
rollno=int(input('Enter rollno='))
name=input('Enter name=')
marks=float(input('Enter marks='))
rec=[rollno,name,marks]
s.writerow(rec)
f.close()
print("Record Saved")
input("Press any key to continue..")
def modifyrecord():
print("Modify a Record")
print("================")
f=open('students.csv','r',newline='\r\n')
f1=open('temp.csv','w',newline='\r\n')
f1=open('temp.csv','a',newline='\r\n')
r=input('Enter rollno you want to modify')
s=csv.reader(f)
s1=csv.writer(f1)
for rec in s:
if rec[0]==r:
print("Rollno=",rec[0])
print("Name=",rec[1])
print("Marks=",rec[2])
choice=input("Do you want to modify this record(y/n)")
if choice=='y' or choice=='Y':
rollno=int(input('Enter New rollno='))
name=input('Enter new name=')
marks=float(input('Enter new marks='))
rec[0]=rollno
rec[1]=name
rec[2]=marks
rec=[rollno,name,marks]
s1.writerow(rec)
print("Record Modified")
else:
s1.writerow(rec)
else:
s1.writerow(rec)
f.close()
f1.close()
os.remove("students.csv")
os.rename("temp.csv","students.csv")
input("Press any key to continue..")
Informatics Practices 11
def deleterecord():
print("Delete a Record")
print("================")
f=open('students.csv','r',newline='\r\n')
f1=open('temp.csv','w',newline='\r\n')
f1=open('temp.csv','a',newline='\r\n')
r=input('Enter rollno you want to delete')
s=csv.reader(f)
s1=csv.writer(f1)
for rec in s:
if rec[0]==r:
print("Rollno=",rec[0])
print("Name=",rec[1])
print("Marks=",rec[2])
choice=input("Do you want to delete this record(y/n)")
if choice=='y' or choice=='Y':
pass
print("Record Deleted")
else:
s1.writerow(rec)
else:
s1.writerow(rec)
f.close()
f1.close()
os.remove("students.csv")
os.rename("temp.csv","students.csv")
input("Press any key to continue..")
def search():
print("Search a Record")
print("===================")
f=open('students.csv','r',newline='\r\n')
r=input('Enter rollno you want to search')
s=csv.reader(f)
for rec in s:
if rec[0]==r:
print("Rollno=",rec[0])
print("Name=",rec[1])
print("Marks=",rec[2])
f.close()
input("Press any key to continue..")
def viewall():
print("List of All Records")
print("===================")
f=open('students.csv','r',newline='\r\n')
s=csv.reader(f)
i=1
for rec in s:
print(rec[0],end="\t\t")
print(rec[1],end="\t\t")
Informatics Practices 12
print(rec[2])
i+=1
f.close()
input("Press any key to continue..")
def mainmenu():
choice=0
while choice!=6:
print("\n")
print("Main Menu")
print("==========")
print("1. Add a new Record")
print("2. Modify Existing Record")
print("3. Delete Existing Record")
print("4. Search a Record")
print("5. List all Records")
print("6.Exit")
choice=int(input('Enter your choice'))
if choice==1:
addrecord()
elif choice==2:
modifyrecord()
elif choice==3:
deleterecord()
elif choice==4:
search()
elif choice==5:
viewall()
elif choice==6:
print("Software Terminated")
break
mainmenu()
Informatics Practices 13
OUTPUT
OF PROJECT
Compiling using most Python commands, based on Python
programming language. Both the front end and the backend are
written in Python, and CS is utilised for easier data comprehension
and exporting.
Informatics Practices 14
V
2.ADDING RECORD :
Informatics Practices 15
ff
3. MODIFYING RECORDS :
Here an individual at the backend, can make changes to the
existing records in the le.
4. DELETING A RECORD :
Here an individual at the backend, can delete to the existing
records in the le.
Informatics Practices 16
fi
fi
5. SEARCH A RECORD :
7. EXIT :
Informatics Practices 17
V
fi
HARDWARE SPECIFICATIONS:
Machine Used :Intel I7 Processor 2.6 GHz, 16GB RAM, 512 GB Hard Disk
SOFTWARE SPECIFICATIONS
PyCharm
Python IDLE
CS
Informatics Practices 18
V
ft
fi
fi
BIBLIOGRAPHY
BOOKS:
WEB REFERENCES:
Informatics Practices 19