The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 1 Day Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
1) Create two JAVA linked hash sets {"George", "Jim", "Blake", "Kevin", "Michael"} and {"George", "Katie", "Kevin", "Michelle", "Ryan"} and find their union, intersection, and difference. Note that you can clone the sets to preserve the original sets from being changed by these methods.
2)Write a program that reads an unspecified number of integers from a file and finds the integer that has the most occurrences. If several numbers have the most occurrences, all of them should be reported.
3) Use these data files to write a program that enables the determination of the ranking of popularity of a name if the year, gender, and name are known. To achieve the best efficiency, create two arrays for boyA????1s names and girlA????1s names, respectively. Each array has 10 elements for   10 years. Each element is a map that stores a name and its ranking in a pair with the name as the key. ( data list of baby names ranking)
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll