Author: Michelle Loh
This system uses a singly linked list to store and organize related to student information. It allow operation such as adding new student’s information as well searching, deleting, and displaying the student information.
The system uses:
- Object-Oriented Programming (struc, class and object)
- Multiple Inheritance
- Abstract Class (Template)
- Operator Overloading
-
The student information should consist as follows:
- Student name
- Matric Number
- Year
- CGPA
-
These linked list will store the information by:
- Unordered Linked List
- Ordered Linked
-
Adding information:
Unordered Linked List
- Add information based on the specific location (based on data arrival)
Ordered Linked List
- Case 1: The list is initially empty
- Case 2: The list is not Empty
- Case 3: The list is not Empty, and the student CGPA to be inserted is higher than the first node in the list. The node to be inserted somewhere is the list
-
Delete information:
- Case 1: The list is empty
- Case 2: The node to be deleted is the first node
- Case 3: The node to be deleted is the last node
- Case 4: The list does not contain the node with the given info
-
Search/Retrieve based on user input