Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume that you are a programming for dBay a large internet retail company. You are asked to design a solution that can efficiently sort all

Assume that you are a programming for dBay a large internet retail company. You are asked to design a solution that can efficiently sort all of the orders for the day based upon the time that the order was received, compute using matrix multiplication the total price of an order, and efficiently find a single customer order using a binary search. Every day dBay receives about 10,000 orders. As the first step of the process you must develop either a flowchart or the pseudo code that details the implementation of a divide and conquer algorithm. Although there are many algorithms that follow a divide and conquer approach please select from one of the following to solve one of the key requirements of the project:

Merge Sort

Quick Sort

Binary Search

Matrix Multiplication

Your submission must first describe which of the three tasks you are solving (sorting, matrix multiplication, or binary search) and discuss, in your own words, why a divide and conquer approach is a good approach to solve the problem. As part of your discussion you should describe the problem in terms of its asymptotic complexity in relation to your chosen algorithm. You must provide enough detail in either your flowchart or pseudocode in terms of decisions, exchanges, and data flows required, such that an algorithm can be built in a high level language such as java using only your flowchart or pseudocode.

Peer-Assessment Criteria

You will have ONE WEEK to complete this assignment. It will be due the end of this unit. Your assignment will be assessed (graded) by your peers. You should post this assignment, and other requirements such as the asymptotic analysis in one of the following formats:

Directly cut-and-pasted into the Moodle text box for the posting.

As a document in either RTF or Word 97/2003 format.

Rubric Items

Does the assignment describe one of the required algorithms? (yes/no)

Does the assignment provide an asymptotic analysis of the algorithm (scale 1-4 1 no asymptotic analysis provided 4-comprehensive analysis including work showing how it was derived)

Does the asymptotic analysis demonstrate why the algorithm is a good solution to the problem (scale 1-4)

Does the assignment include either pseudo code or a flowchart that defines the design of the algorithm (yes/no)

Does the flowchart or pseudocode provide sufficient detail that you could develop the code for the algorithm using a high level programming language that you know well. (scale 1-4)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions

Question

What are the key business issues facing Jan?

Answered: 1 week ago

Question

int s = 1; for(int i = 1; i

Answered: 1 week ago

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago