Untitled


SUBMITTED BY: antoineh1

DATE: May 8, 2016, 8:36 p.m.

FORMAT: Text only

SIZE: 2.3 kB

HITS: 3913

  1. Project 3
  2. Due date: May 7, 2016
  3. 1. Description:
  4. In this project, we will simulate the first round of NCAA March Madness 2015. The inputs of your program would be the following data:
  5. Four lists of teams, already sorted by their seeds from smallest to biggest. Better teams have smaller seed.
  6. Midwest region: {Kentucky","Kansas","Notre Dame","Maryland",
  7. "West Virginia","Butler","Wichita","Cincinati",
  8. "Purdue","Indiana","Texas","Buffalo","Valparalso",
  9. "Northeastern","New Mexico St","Hampton"};
  10. West region: {"Wisconsin","Arizona","Baylor","North Carolina",
  11. "Arkansas","Xavier","VCU","Oregon","Oklahoma St",
  12. "Ohio St","Ole Miss","Wofford","Harvard","Georgia St",
  13. "Texas Southern","Coastal Caro"};
  14. South region: {"Duke","Gonzaga","Iowa St","Georgetown","Utah",
  15. "SMU","Iowa","San Diego St","St John","Davison",
  16. "UCLA","SF Austin","Eastern Washington","UAB",
  17. "N. Dakota","Robert Morris"};
  18. East region: {"Villanova","Virginia","Oklahoma","Louisville",
  19. "UNI","Providence","Michigan St","N. Carolina St",
  20. "LSU","Georgia","Dayton","Wyoming","UC Irvine",
  21. "Albany","Belmont","Lafayette"};
  22. In this simulation, the team with longer name will have 60% of getting a win. The score is between 40 and 90. The match up is as follows:
  23. Seed #1 – Seed #16; Seed #2 – Seed #15, Seed #3 – Seed #14, Seed #4 – Seed #13,
  24. Seed #5 – Seed #12, Seed #6 – Seed #11, Seed #7 – Seed #10, Seed #8 – Seed #9
  25. Simulate the first rounds for all four regions.
  26. The output will contain the followings:
  27. - 32 Games in the first round, the final score for each game.
  28. - 32 teams going to the second rounds. For each region, sort the list of team alphabetically.
  29. - Count how many upsets for each region. Upset happened when the higher seeded team defeats the lower seeded team
  30. Bonus: 10 points
  31. Run your program 100 times, count how many times you have Duke, Kentucky, Michigan St and Wisconsin NOT moving on the second round.
  32. II. Submission:
  33. *.java files should be placed under project3 folder before or by the due date.

comments powered by Disqus