1.2.2: understand the need for and be able to follow and write algorithms that use variables and constants and one- and two-dimensional data structures (strings, records, arrays)
| Keyword | Definition |
|---|---|
| algorithm | step by step instructions to solve a problem |
| constant | named value which doesn't change while a program runs |
| data structure | a variable which stores multiple values (e.g. string, record or array) |
| index | a number used to specify the position of data within an array or string |
| one-dimensional array | a type of data structure which stores multiple values of the same data type in order |
| record | a type of data structure which stores a sequence of items with different data types |
| string | a type of data structure which uses multiple characters to store text |
| two-dimensional array | a type of data structure which stores multiple values of the same data type in a table |
| variable | named memory location used to store a value which can change while a program runs |