click below
click below
Normal Size Small Size show me how
KS3 - Programming
Year 8 - KS3 - Programming in Python
| Term | Definition |
|---|---|
| Algorithm | A set of steps designed to solve a problem |
| Flow Chart | A visual method of representing an algorithm |
| Iteration | Where a group of instructions is executed repeatedly |
| Sequence | Where a set of instructions is executed in order |
| Selection | Where an option of instructions to follow is provided like a decision e.g. if-else |
| 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 |
| Integer | Data type used for positive and negative whole numbers |
| Boolean | A data type that only stores one of two values |
| String | Data type that can be used to store any combination of letters, numbers and characters |
| Translator | A program which translates high level code into machine code (Binary) |
| Operator | Character(s) that determine the action to be followed e.g. equal to, greater than, add, subtract |
| Syntax | The structure of code in a computer program |
| Data Type | The type of value stored in a variable e.g. string or integer |
| Float | Data type used to store decimal numbers |
| Assignment Operator | The equals character which is used to assign the value on the right of the = to the variable to the left |
| Comparison Operator | The character used to compare two values e.g. > , < , == |
| Arithmetic Operator | A character used to carry out mathematical operations like add, subtract and multiply (+, - , *) |
| IF statement | Used to only complete a process when a condition is true |
| ERROR | A mistake in a program |