Question: Part 1: Create a Student Class which has the following attributes: Name, ID, and GPA of the students. For this class you need to implement

 Part 1: Create a Student Class which has the following attributes:

Part 1: Create a Student Class which has the following attributes: Name, ID, and GPA of the students. For this class you need to implement the following: - A default constructor A set and get functions for all attributes. Functions to overload the stream insertion and extraction operators - A function to overload == operator which return true if the two students have the same Name ID. and GPA otherwise returns false. Part 2: Include the header file of the template class ArrayListType to your program Include the header file of the template class Linked ListType to your program - Include the header file of the template class StackType to your program. Part 3: Write the implementation of the following member functions to deal with a linked list 1. Modify the implementation of the member function "scarch" that it returns a pointer to the node if the node info is found in the list and NULL otherwise 2. Modify the implementation of the member function "print" and rewrite it using recursion. 3. ReversePrinti: this function should use recursion to print the elements of the linkedlist in the reverse order 4. Reverse Print2: this function should use stackType to print the elements of the linkedlist in the reverse order 5. insert At this function inserts a new node in the location specified in the parameter list. 6. insert After this function adds a new node after the node with the value specified in the parameter list. 7. A function to overload [operator that returns a pointer to the inode in the linked list 1:36 pm Part 4: Add the following nonmember functions - A nonmember function that read the Linked Listinfo from a text file ("info.txt") - A nonmember function that write the linked List info to a new text file (new.txt") - SeparateList: this function takes a linked ListType of students and two ArrayList Type of students: if the student GPA>3 add it to Listl objects otherwise add it to List2, use the following prototype: void separatelist (LinkedListType (students. obj. ArrayListType&Listi, ArrayListType&Listi); Part 5: To test your functions, create an object of student type from ArrayListType and two objects of student type from the Linked ListType, then call your function in appropriate order

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!