0% found this document useful (0 votes)
19 views

Student Management System

Uploaded by

anvu2501
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Student Management System

Uploaded by

anvu2501
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Student

Management
System
GROUP 1
MEMBERS
1. Nguyễn Phúc Hiếu-20071086

Nguyễn Đắc Minh Trí-20070884


2.
3. Nguyễn Tấn Dũng-20070812

4. Phạm Quang Hưng-20070838

5. Phạm Văn Quân-20070971


I.INTRODUCTION
The above program is a simple student
management system, written in C++ Data structure:
programming language. The program allows The program uses a singly linked list data
users to perform operations such as adding structure to store information about each
students, displaying student lists, deleting student. Each student is represented by a node
students, searching for students, sorting student in the linked list, with data fields including name,
lists by scores, updating student information, and ID, age, gender, and grade.
recording List of students in file.
II.Working flow:
The program starts by asking the user to enter the
number of test cases (t).
Then, the program reads the student list from the
"Student.txt" file and asks the user to log in with a
username and password.
If logged in successfully, the program displays a menu
and allows users to perform operations on the student
list.
After completing a test case, the program repeats the
login and menu process until all test cases are
completed.
Finally, the program ends.

Quay lại Trang Chương trình


III.Main Function
+Add students:
Add_Student function: Add a student to the end of the student list.
Display student list:

+Display function: Browse the student list and display information of each student.

+Delete students:
Delete_Student function: Delete a student from the list based on the student code
provided.

+Search for students:


Search_Student function: Search for a student based on student code and display that
student's information.

+ Sort student list by score:


Sort_Student function: Sorts the list of students in ascending order of scores.

+ Record student list to file:


Read_File function: Reads the student list from the file and adds it to the current list.
Function write_File: Write student list to file.

+Update student information:


Update_Student function: Updates a student's information based on the student code.
1.ADD STUDENT
This function allows users to add a new student to the student list. Users need
to provide information such as name, student code, age, gender and student
scores. After entering all information, a new student will be created and added
to the student list
2.Display student list:

Viết ghi chú


ở đây

This function allows users to view the current student list. Each
student's information including name, student code, age, gender and
score will be displayed on the screen.
3.Delete students:
This function allows users to remove a student from the student list based on the
student code. The user needs to provide the student code of the student to be deleted
and then that student will be searched in the list and removed from the list
4.Search for students:
This function allows users to search for a student in the list based on student code.
Users need to provide the student code of the student they want to search for and then
that student will be found in the list. If found, the student's information will be displayed
on the screen.

Quay lại Trang Chương trình


5.Sort the student list by score:

Viết ghi chú ở đây

Viết ghi chú


ở đây

This function allows users to sort the student list in ascending order of scores.
The student list will be rearranged based on each student's score, from the
student with the lowest score to the student with the highest score.
6.Update student information:

Viết ghi chú ở đây

This function allows users to update a student's information in the list based on the student code. The
user needs to provide the student code of the student that needs updating and can then update other
information such as the student's name, age, gender, and grades.
7.Record student list in file:

This function allows users


to record the current
student list into a text
file. The student list will
be written to the file in a
structured format so it
can be read again later.
8.End of the program

When the user enters the selection as 0, the program


will end

Quay lại Trang Chương trình


IV.FLOWCHART
Thank you

You might also like