Need help with this Problem

In an institute following information is maintained about the students:

Student Class

Roll Number (Unique identifier of the student) First Name Last Name Year Of Study Activity Choice

For each of the following scenarios, specify which of the four core collection interfaces will be most appropriate and why. If you feel, more than one interface is suitable, you can mention all of them. Also describe briefly, why you think so.

1)Every week, a student is chosen at random as in charge of the Mess Food committee. 2)The students are allowed to choose a recreation activity to be provided by the institute in the common room. List of unique activities is to be prepared to be provided by the institute. 3)We need to know how many students have opted for each activity. So count the number of students who have the same activity. 4)The institute provides a career counselor for students who visit the institute once a week. Each student can book a slot with the counselor. Create a waiting list of students for the forthcoming weekly visit.

Thanks a Million ..... In advance

Joanne Neal

Rancher

Posts: 3742

16

posted 9 years ago

We don't do homework questions on javaranch. If you want to tell us what you think the answers are and why, I'm sure people will comment on them.