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. 

Answered by Alexis C. Computing tutor

14429 Views

See similar Computing GCSE tutors

Related Computing GCSE answers

All answers ▸

What is the use of a web-server on the internet?


How do you convert between 11B (Base-16) to Base-8?


What is Bubble Sort algorithm and how it works? Give an example of pseudo-code explaining the process.


Within the systems life cycle, describe what events might take place in the Analysis stage.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences