Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In this project you are asked to implement a simple information system to manipu

ID: 3636616 • Letter: I

Question

In this project you are asked to implement a simple information system to manipulate student records. Using your system, the user will be able to (1) add a new student to the system, (2) search for an existing student record, (3) delete an existing student, (4) list all student records on the screen, (5) save the student records to a database (a binary file), and (6) load existing student records from the database to the memory.
You are given three files: SIS.h, SIS.c and menu.c.
Definition of the Student record is given in SIS.h and is shown below:

typedef struct Student {
char firstName[20];
char lastName[20];
int id;
float gpa;
int department; /* 0-CS, 1-EE, 2-IE, 3-CE, 4-ME */
} Student;

All fields in the Student record are self explanatory. You are required to use this type declaration without changing it.
SIS.h also contains prototypes of the functions you are required to implement for this project.
Comments at the beginning of the function prototypes explain what the function is expected to perform.

/* Initialize SIS Data Structures. Called at the beginning of the program */
void SISInit();

/* Cleanup SIS Data Structures. Called at the end of the program */
void SISCleanup();

/* Loads students from the database */
void LoadStudentsFromDatabase();

/* Prints existing students on the screen */
void PrintExistingStudentsOnTheScreen();

/* Add a new student to the list */
void AddStudent(Student *ps);

/* Delete a student given his/her id.
* Returns true(1) if the student exists and successfully deleted.
* Returns false(0) if the student does not exist.
*/
int DeleteStudent(int id);

/* Finds a student given his/her id
* Returns a pointer to the Student record if the student is found.
* Returns NULL if the student does not exist */
Student *FindStudent(int id);

/* Save students to database before you quit */
void SaveStudents2Database();

Implement these functions in SIS.c. How you implement these functions is left up to you. You may use an array of Student structures, a linked list of Student structures or any other data structure that you feel appropriate.

CAN YOU HELP ME TO IMPLEMENT THESE FUNCTIONS IN MY CODE AND WRITE AN APPROPRIATE CODE THAT DO WHAT THE COMMENT LINES SAY.
thank you

Explanation / Answer

http://docs.oracle.com/cd/B14117_01/appdev.101/b10807/10_objs.htm

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote