Programming Activity 2: Searching and Sorting Arrays

Complete Chapter 8, Section 8.7 ”Programming Activity 2: Searching and Sorting Arrays” from the textbook. Once you have completed it, answer the following questions:

1) Why is being able to search data important in industry?

2) Why is being able to sort data important in industry?

3) Why are arrays or lists a critical data structure needed for searching and sorting data?

4) Are there other data structures that we can use to search or sort data?

5) What advice or code can you provide to help other students with this activity?