# Lab1 - IE 170 Laboratory 1 Search Algorithms Dr T.K Ralphs...

This preview shows pages 1–3. Sign up to view the full content.

IE 170 Laboratory 1: Search Algorithms Dr. T.K. Ralphs Due January 31, 2005 1 Laboratory Description and Procedures 1.1 Learning Objectives 1. Understand each of the key terms listed below. 2. Understand why algorithms are important in systems engineering. 3. Understand the three important factors in determining the execution time of an algorithm. 4. Understand how to analyze a simple algorithm, both empirically and theoretically. 1.2 Key Words 1. Algorithm 2. Efficiency 3. Running time 4. Search algorithm 5. Comparison 1.3 Scenario You have just been hired as a consultant by the Internet start-up ExoticBeer.com , an on-line catalog supplying exotic imported beers and homebrewing supplies. Your first job is to help them improve the response time for queries to their on-line catalog. Specifically, you are to write a program implementing a search algorithm that determines whether a given search word that has been typed in by a customer matches any of the entries in an alphabetized list of key words describing items from the catalog (note that generating this alphabetized list requires a sorting algorithm , to be discussed in Laboratory 4). The company plans to carry thousands of items and each item may be referred to by several key words, so the number of key words in the list that must be searched can be extremely large. The goal is to return a response to the customer’s query as quickly as possible and the number of queries received could be in the thousands per hour. If the execution time is too slow, then customers may be lost. 1

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

View Full Document
1.4 Designing and Analyzing the Algorithm The efficiency of an algorithm is generally measured by determining the running time as a function of the input size . The running time for a given algorithm can be determined either theoretically , by counting the number of fundamental operations
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern