What is Control Flow in a Computer Program?

Control Flow is the order in which elements of a computer program - instructions, statements and function calls - are executed and evalutated. In a computer program, actions will run in sequence, one after the other, unless selection or iteration is used. Selection refers to a decison made by the program which determines which part of the code is executed based on the result of some action. Most programming languages use control flow statements such as IF, THEN and ELSE to make these decisions. Iteration is when a set of actions is repeated, eg. in a loop. 

AC

Related Computing GCSE answers

All answers ▸

Storage: Magnetic hard disc vs Solid state drive.


Outline three differences between RAM and ROM


Perform AND, OR & XOR operations on 0001 1111 & 1010 1010


Convert the hexadecimal value 'C3' into its binary equivalent.