Marquette University, view of Wisconsin Avenue  

Module 3

Algorithms

In Mathematics, an algorithm is a set procedure to solve a problem, usually through calculation. The steps are fairly well described, often through something called pseudo-code. An implementation of an algorithm is computer code that has transformed the steps of the algorithm into a set of instructions. Thus, the same algorithm can be implemented many times, but an implementation can only implement one algorithm. With modern computers, the distinction has blurred. At the lowest level, we have machine code with instructions typically several bytes long. An "interpreted" language such as Python runs on a simulated computer, who reads the instructions in that language and then executes code in the machine language.