What is an Algorithm?

An algorithm is simply a list of well-defined instructions, detailing a step-by-step procedure for solving some problem. For example, a recipe is an algorithm: you have a starting point, with your ingredients, and then by following a detailed set of instructions, you end up at your desired outcome: FOOD!

LS

Related Computing A Level answers

All answers ▸

In programming, some languages are compiled and others are interpreted. Define the difference between the two.


What is the decimal equivalent of the following sequence of bits, which represents an unsigned binary integer: 1101001. What is the decimal equivalent if the sequence in bits encodes a two’s complement binary integer.


How do I solve a Karnaugh Map?


Given a graph with n nodes and m edges, every edge has a passing cost that can be negative, find the minimum distance between node 1 and every other node