Question: Don't actually code just explain 4. What standard data structure(s) would you use in coding the following problems? Also explain how you would use each.

 Don't actually code just explain 4. What standard data structure(s) would

Don't actually code just explain

4. What standard data structure(s) would you use in coding the following problems? Also explain how you would use each. Your answer Problem a) Get input of 1000 distinct random intgers and output them in decreasing order b) You need a program to i. Get a list of a spelling bee participants. ii. Continually call all the participants in turn and give them a word to spell. iii. Each time a participant misspells a word, she gets eliminated from the list iv. Continue until there is on participant left c) You are to be a master of ceremonies in a draft of college athletes. Your task is quite simple. Until told to stop: At each of seemingly never ending rounds, you are to read a list of participating teams one team at a time. On all even rounds you are to read the teams in the reverse order. For example, If you head teams A, B, C, d, and E, you would read as follows: Round1: A, pause, B, pause, C, pause, D, pause, E Round 2: E, pause, D, pause, C, pause, B, pause, A Round 3: A pause, B, pause, C, pause, D, pause, E. Etc. For each round, your program should print out the names of the teams in the correct order. d) You are a store manager and have to determine efficiency of your four cashiers. You decide to write a program that models the behavior of your store shopper. For each shopper you record: i. Which cashier line was entered ii. Time the line was entered iii. Time the shopper left the store

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!