Question: This project you are to read in a comma separated values file (CSV) composing of student names, student gender, gpa, faculty name, faculty gender and

This project you are to read in a comma separated values file (CSV) composing of student names, student gender, gpa, faculty name, faculty gender and faculty research area. Load these values in the appropriate sets , e.g studentSet, studentGenderSet,gpaSet,facultySet, faculty genderSet and reasearchSet. From the sets, create class instances of Student and Faculty. For example one instance of Student will have the attributes name- John, gender-M, gpa - 3.5. An instance of Faculty will have the attributes name-Mike, gender - M , research - Database. Collect the list of student instances and the list of faculty instances. Iterate over the list and print out all the attributes. Lastly using static member variables print out the number of Male students and the number of Female students and calculate the average gpa of the students.

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!