Which of the following would not be considered an algorithm?
a) a recipe
b) a computer program
c) pseudocode
d) a shopping list
e) travel directions
Answer: d. Explanation: An algorithm is a step-by-step description of how to solve a problem, written at some level of specificity. The recipe and probably the pseudocode are written at a “high level” whereas a program and perhaps travel directions are written in more detail. A shopping list is not a step-by-step description, so it would not qualify as an algorithm.