Question: Draw an activity diagram describing an algorithm for finding the top two maximum values in a list. The input is the list, and output is

Draw an activity diagram describing an algorithm for finding the top two maximum values in a list. The input is the list, and output is the top two maximum values.

Hints:

  • Make your own assumptions
  • Design/choose the algorithm first, then model it with an activity diagram
  • Include appropriate level of detail in your model

Deliverable: PLEASE INCLUDE ALL 3 PARTS.

Include the algorithm (in pseudocode) you chose, the assumptions you made, and your model.

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!