click below
click below
Normal Size Small Size show me how
J277 2.2.1
Programming Fundamentals
| Term | Definition |
|---|---|
| Iteration | A programming construct in which a group of statements is executed repeatedly |
| Sequence | A programming construct where a set of instructions is executed in order |
| Selection | A programming construct in which a choice or decision is made |
| Variable | A value stored in memory that can change while a program runs |
| Constant | A value stored in memory that cannot change while a program runs |
| Syntax | The rules of a coding language; the way it is set out and written |
| Assignment | The process of setting the value of a variable |
| Comparison operator | Operators for comparing two values like ==,>,<,<=,>= |
| Arithmetic operator | Operators for mathematical operations like +,–,*,/,MOD,DIV |
| Assignment operator | Used to assign a value to a variable using a single = symbol |
| Boolean operator | Operators for logical operations like AND,OR,NOT |
| Operator | Part of the instruction that tells the CPU what to do |
| Count controlled loop | A type of loop that repeats a set number of times e.g. a for loop |
| Condition controlled loop | A type of loop that repeats when a certain condition is met e.g. a while loop |