student Management System
student Management System
By:
Sachin Gupta
Kathmandu College of Central State
Kathmandu, Nepal
1
RECOMMENDATION
Submitted by:
Sachin Gupta
Entitled:
School Management
Has been approved by the secondary school in the prescribed format of the NEB.
This report is forwarded for examination.
Signature:
Na
me
:Mr
.
2
STUDENTS DECLARATION
Signature:
Name of Students: Sachin Gupta
Roll Number: 26
3
CERTIFICATE OF THE SUPERVISIOR
Signature:
Name of Supervisor: Mr. Prasanna Shiwakoti
Name of College: Kathmandu College Of Central State
Date:
4
ACKNOWLEDGMENTS
5
TABLE OF CONTENTS
Title.............................................................................................. i
Recommendation Sheet................................................................ ii
Students Declaration............................................................................iii
Table of contents................................................................................vi
•Introduction............................................................................vii-viii
•objective...............................................................................ix
•Study and analysis of Student management System. x
6
Structure
Definition
7
•Introduction
A Student Management System (SMS) is a comprehensive
software application designed to streamline academic and
administrative tasks within educational institutions. It serves
as a centralized platform for managing student-related data,
improving communication, and automating various processes.
The system simplifies tasks such as student registration,
attendance tracking, grade management, and fee collection.
8
•Obsective
1. Efficient Data Management:
4. Enhanced Communication:
Facilitate communication between students, teachers, and parents through notifications and messages.
Provide instant updates on academic progress, events, and announcements.
Manage resources like classrooms, library materials, and teaching schedules efficiently.
9
•Study and analysis of Student management system
Student Management System is based on the concept of managing student’s record.
There’s a login system availablefor this system, the user can freely use its feature
. This mini project contains limited features, but the essential one.
This project is helpful for managing student information by adding, updating, removing,
vi ewing and searching for details.
10
•Screenshot and results
11
•Source Code
1 #include <stdio.h>
struct student {
char
firstName[50]; int
roll;
float marks;
} s[5];
int main() {
int i;
printf("Enter information of students:\n");
// storing information
for (i = 0; i < 5; +
+i) {
s[i].roll = i + 1;
printf("\nFor roll number%d,\n",
s[i].roll); printf("Enter first name: ");
scanf("%s", s[i].firstName);
printf("Enter marks: ");
scanf("%f", &s[i].marks);
}
printf("Displaying Information:\n\n");
// displaying
information for (i = 0; i
< 5; ++i) {
printf("\nRoll number: %d\n", i + 1);
printf("First name: ");
puts(s[i].firstName);
printf("Marks: %.1f", s[i].marks); printf("\
n");
}
return 0;
}
12
2 #include <stdio.h>
struct student {
char
name[50]; int
roll;
float marks;
} s;
int main() {
printf("Enter information:\n");
printf("Enter name: ");
fgets(s.name, sizeof(s.name), stdin);
printf("Displaying Information:\n");
printf("Name: ");
printf("%s", s.name);
printf("Roll number: %d\n", s.roll);
printf("Marks: %.1f\n", s.marks);
return 0;
}
13
3
#include <stdlib.h>
// Create the student
structure struct Student {
char* name;
int
roll_number;
int age;
double total_marks;
};
int main() {
// Create an array of student structure variable with
// 5 Student's records
struct Student students[5];
int n =sizeof(students)/sizeof(struct Student);
// Get the students data
students[0].roll_number = 1;
students[0].name ="Geeks1";
students[0].age = 12;
students[0].total_marks = 78.50;
students[1].roll_number = 5;
students[1].name ="Geeks5";
students[1].age = 10;
students[1].total_marks = 56.84;
students[2].roll_number = 2;
students[2].name ="Geeks2";
students[2].age = 11;
students[2].total_marks = 87.94;
students[3].roll_number = 4;
students[3].name ="Geeks4";
students[3].age = 12;
students[3].total_marks = 89.78;
students[4].roll_number = 3;
students[4].name ="Geeks3";
students[4].age = 13;
students[4].total_marks = 78.55;
// Print the Students information
printf("========================================\n");
printf(" Student Records \n");
printf("========================================\n");
for (int i = 0; i <n; i++) {
printf("\nStudent %d:\n", i + 1);
printf(" Name : %s\n", students[i].name);
printf(" Roll Number : %d\n",
students[i].roll_number); printf(" Age : %d\n",
students[i].age);
printf(" Total Marks : %.2f\n", students[i].total_marks);
}
printf("========================================\n"); 14
return 0;
}
4
#include
<stdio.h>
#include
<string.h>
15
•Output
1
16
2
17
3
18
4
19
•Summary
1. Data Structures: A Student structure to store details like ID, name, age, course, and
marks.
3. Functions:
inputStudent(), displayStudent(), addStudent(), viewAllStudents(),
searchStudent(), and deleteStudent() to manage student records.
4. Main Function: A menu-driven interface to interact with the user for adding, viewing,
searching, and deleting student data.
7. Search and Delete: Provide functionality to search and remove student records by ID.
9. Error Handling: Manage file and input errors to ensure smooth operations.
10. Customization: Enhance with features like sorting, data validation, or filtering as needed.
20
•CONCLUSION
Type your In conclusion, a student management system in C
efficiently handles student data, ensuring organized storage,
retrieval, and processing. It utilizes data structures like the Student
structure, file handling for persistence, and functions for core operations
like adding, viewing, searching, and deleting student records.
The main menu-driven approach ensures user interaction,
promoting ease of access and data management. With proper
error handling and scalability,this system can be extended
with additional
features like data validation, sorting, or filtering, making it adaptable
to diverse requirements. Overall, such a system streamlines
student data management, improving efficiency and accuracy.
Thank you !
21