Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Need some Help with Collections...  RSS feed

Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • 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
Posts: 42975
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all, DoYourOwnHomework. We won't do it for you.

Have you had any ideas on the subject? Tell us where you're stuck designing and implementing this, and we'll try to get you going.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!