Student Management System
Student Management System
Student Management System
Project Report
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENT FOR THE
AWARD OF THE DEGREE OF
BACHELOR OF TECHNOLOGY
(Computer Science And Engineering)
SUBMITTED BY
Ritik Mishra (2000460100055)
Software Requirement:
I developed this project using the following:
• Python
• Django
• SQLite3
• HTML
• CSS
• JavaScript
• jQuery
• Ajax
• Google Material Icons
• Fontawesome
• Django Material Dashboard Template
Hardware Requirement:
• Laptop
• Mouse
• Keyboard
1.Accept – This method takes details from the user like name,
roll number, and marks for two different subjects.
# Method to enter new student details
def accept(self, Name, Rollno, marks1, marks2 ):
# Creates a new class constructor
# and pass the details
ob = Student(Name, Rollno, marks1, marks2 )
# list containing objects of student class
ls.append(ob)
class Student:
# Constr
uctor
self.name = name
self.rollno = rollno
self.m1 = m1
self.m2 = m2
ls.append(ob)
print("\n")
# Search Function
for i in range(ls.__len__()):
if(ls[i].rollno == rn):
return i
# Delete Function
i = obj.search(rn)
del ls[i]
# Update Function
i = obj.search(rn)
roll = No
ls[i].rollno = roll
ls = []
obj = Student('', 0, 0, 0)
# ch = int(input("Enter choice:"))
# if(ch == 1):
# elif(ch == 2):
print("\n")
print("\nList of Students\n")
for i in range(ls.__len__()):
obj.display(ls[i])
# elif(ch == 3):
s = obj.search(2)
obj.display(ls[s])
# elif(ch == 4):
obj.delete(2)
print(ls.__len__())
obj.display(ls[i])
# elif(ch == 5):
obj.update(3, 2)
print(ls.__len__())
for i in range(ls.__len__()):
obj.display(ls[i])
# else:
Output:
Operations used,
1.Accept Student details
2.Display Student Details
3.Search Details of a Student
4.Delete Details of Student
5.Update Student Details
6.Exit
List of Students
Name : A
RollNo : 1
Marks1 : 100
Marks2 : 100
Name : B
RollNo : 2
Marks1 : 90
Marks2 : 90
Name : C
RollNo : 3
Marks1 : 80
Marks2 : 80
Student Found,
Name : B
RollNo : 2
Marks1 : 90
Marks2 : 90
2
List after deletion
Name : A
RollNo : 1
Marks1 : 100
Marks2 : 100
Name : C
RollNo : 3
Marks1 : 80
Marks2 : 80
2
List after updation
Name : A
RollNo : 1
Marks1 : 100
Marks2 : 100
Name : C
RollNo : 2
Marks1 : 80
Marks2 : 80
Thank You !
Step-2: Go inside the project folder, open cmd, and type the
following commands to install Django Framework and run the
webserver: