Coding Concept | Example | Comments |
---|---|---|
Sequence of Commands | A series of steps execute one after the other. | |
Conditional Statements | For example, an If statement. | |
Iteration | For example, any type of LOOP | |
Boolean Logic | Computers are based on 1's and 0's - binary logic. If something can be said to be TRUE or FALSE it is binary. A Boolean is a type of information that is binary. | Conditional Statements use Boolean Logic (Eg. Is this statement TRUE or FALSE) |
Events and Event Handlers | Examples of events are 'Key Click' or 'Mouse Click'. | An event is when something happens. Most programs are 'event=driven' which means you write some code to do stuff when something happens (an event). |
Variable | A 'container' that holds infomation. The container is named. For example, a variable called 'score' might have the value of a game score. | Some languages are 'typed' (statically-typed) meaning when you create a variable you need to say what kind of information will be stored there (for example, strings or integers). |
Functions | Functions and also methods of objects (in object-oriented programming) | These are a way to organize sequence of commands. |
Lists | These are a way to store multiple values in one variable. | These are also called arrays. |
Threads | A flow of a sequence of code. If there is more than one sequence being executed at the same time, this is called 'parallel execution' or 'multi-threaded'. | |
Signals - Coordination and Synchronization | The use of messages and event handlers for messages. | A way to exchange information between different parts of a program. |