Revision tools
You can print this page for a quick reference guide or you can use the tools below to create printable test sheets
4.1: understand the need for data structures
Keyword | Definition |
---|
data structure | memory storage with a name that can store multiple values |
variable | memory storage location with a name that can store a single value |
4.2: understand how to use one and two-dimensional arrays
Keyword | Definition |
---|
array | data structure which can store multiple values of the same data type |
index | a number which indicates the position of a value inside a string or array |
one dimensional | type of array which is like a list of values. You need one index to determine the position of an individual value. |
two dimensional | type of array which is like a table of values. You need two indices to determine the position of an individual value |
4.3: be able to format and concatenate strings and find substrings
Keyword | Definition |
---|
character | an individual letter, symbol or digit |
concatenate | joining two strings together to make a longer string |
index | the position within a data structure (such as a string or array) which starts at 0 |
string | data type made up of multiple characters (can contain text as well as numbers + symbols) |