Is a procedure or mathematical formula that a computer follows to solve a problem. For example, a search engine algorithm follows a procedure where it takes search strings of keywords and operators as input and then searches a database associated with it so that it can return relevant websites as a result.