Term | Definition |
---|---|
Memory | Where instructions + data stored on computer |
Algorithm | terminating sequence of steps to complete a task |
Syntax | Language: rules of how tokens are used |
Memory Address | specific location in memory where instructions or data are stored |
Assignment | process of giving value to variable or constant |
Constant | Item of data whose value does not change |
Variable | item of data whose value can change at runtime |
Debug | finding + correcting errors in programs |
Declaration | defining variables/constants in terms of name + data type |
Data type | determines what sort of data is being stored + how handle by program |
Integer | A number with no fractional part. Includes 0. |
Pointer | An object (‘data item’) that stores a memory address. |
Array | A data structure used for holding multiple related values/objects elements |
Element | A value within an array or similar data structures - aka members |
Record | struct : A collection of fields , which may be of different types, (the types of which, often defined by a Record Declaration) |
When they say “declaration” they mean stuff that looks like this:
private const string SOME_COOL_IDENTIFIER = "hello";
Dim coolIdentifier As Integer = 5
a = 5
They’ll penalise if you mix this up with assignment, which looks like:
coolIdentifier = 5
a = 5
Textbook says: ‘One line of text file’.