Assignment # 1
"Student Management System using Linked List in C++"
Due Date: 01 September 2025
Project Description:
Design and implement a Student Management System using Singly Linked List in
C++. This system should allow basic management of student records such as:
• Adding a new student
• Deleting a student by ID
• Displaying all students
• Searching for a student
• Updating student information
• Counting total number of students
Each student record should contain the following information:
• Student ID (unique)
• Name
• Branch
• Semester
• CGPA
Use a singly linked list to store and manage the student records. Each node of the
linked list should represent one student.
Objectives:
• Understand dynamic memory allocation using pointers in C++
• Learn how to implement and manipulate linked lists
• Practice modular programming and function design
• Apply data structure concepts to solve real-world problems
Functional Requirements:
Implement the following operations:
1. Add Student Record
o Insert a new node at the end of the list.
o Ensure that the student ID is unique.
2. Delete Student Record
o Delete a student record based on the student ID.
o Handle cases where the ID is not found.
3. Search Student
o Search for a student using the ID.
o Display full details if found.
4. Update Student
o Modify existing student data (e.g., CGPA or Semester) based on student
ID.
5. Display All Students
o Traverse the list and display each student record.
6. Count Students
o Return the total number of students in the system.
7. Sort Students
o Sort the list based on CGPA (descending order).
Tools & Technologies:
• Language: C++
• IDE: Any (Code::Blocks, Visual Studio, Dev-C++, etc.)
Expected Output Example:
=== Student Management System ===
1. Add Student
2. Delete Student
3. Search Student
4. Update Student
5. Display All
6. Count Students
7. Exit
Enter your choice:
Evaluation Criteria:
Criteria Marks
Correct use of Linked List 20
Functionality 30
Code Structure & Comments 15
Input Validation 10
Bonus (Sorting / UI) 5
Viva & Explanation 20
Total 100