Jennifer is writing an algorithm to analyze a play that she is reading. What type of algorithm would be appropriate for this application?
A. graphing algorithm
B.linear programming algorithm
C. greedy algorithm
D. machine learing algorithm

Some students are watching a movie on a streaming service. The movie finishes, and they are shown recommendations for what to watch next. What type of algorithm is this most likely an example of?
A.greedy algorithm
B. graphing algorithm
C. machine learning algorithm
D. linear programming algorithm

Suppose you are discussing a program with your learning coach, and you want to know why anyone would ever use linear search in a program when it is so inefficient. Which of the following reasons might the learning coach give?
A.Linear search is perfect if the data is not sorted
B.Linear search is perfect if the data is sorted
C.Linear search is perfect if the data has a pivot point
D.Linear search is perfect if the data has a midpoint

Suppose a piece of code from an application is given to you, and you recognize that it is trying to order the data by swapping adjacent data points all the way through the list. What algorithm does this represent?
A.bubble sort
B.quick sort
C.binary search
D.merge sort

You are given a sorted list of book titles and are asked to locate a title within the data and report on the author. What would be the most appropriate algorithm to use?
A.linear search
B.binary search
C.bubble sort
D.merge sort