{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lab4 - IE 170 Laboratory 4 Sorting Dr T.K Ralphs and Dr J.T...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
IE 170 Laboratory 4: Sorting Dr. T.K. Ralphs and Dr. J.T. Linderoth Due Feb 20, 2006 1 Laboratory Description and Procedures 1.1 Learning Objectives You should be able to do the following after completing this laboratory. 1. Understand heaps and the heap property. 2. Understand how to implement a heap with an array. 3. Understand the heapsort algorithm. 4. Gauge the impact of initial ordering on the effectiveness of different algorithms. 5. Understand the relationship of merging and sorting. 6. Understand how to select the sorting algorithm most appropriate for a given situation. 1.2 Key Words You should be able to define the following key words after completing this laboratory. 1. Heap 2. Heap sort 3. Insertion sort 1.3 Scenario MegaStore.com is a giant conglomerate that is in the business of acquiring companies. It then incorporates the acquired company’s catalog of products into its own. MegaStore.com has ac- quired the company ExoticBeer.com (from Laboratory #1). Thankfully, you have been retained by MegaStore.com as their Chief Algorithm Officer (CAO). As you learned in Laboratory 1, searching for a specified item (or word) in a dictionary can be done quickly if the list of items is sorted. However, not all of the companies that MegaStore.com acquires have nicely sorted catalogs. In fact, during one hostile takeover, a company even scrambled their own catalog data out of spite. Therefore, you will need to develop a sorting algorithm that can be used for sorting
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern