Bookmark Topic Watch Topic
  • New Topic

Need help with this Problem

 
Anantha Ramachandra
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.
 
    Bookmark Topic Watch Topic
  • New Topic