AllTheTimeWorld.com

computersControl Structures

Control Structures

Most programming languages use 3 basic control structures:

In programming languages where there is a graphical user interface (GUI) the program will repeatedly "listen" for events to occur. When an event occurs a function is executed in response to that event. Events include things such as a file finishes loading, the user clicks a button, moves the mouse or types a key.

These types of programs are called event driven programs.