click below
click below
Normal Size Small Size show me how
Section 2: Prog
Programming
| Question | Answer |
|---|---|
| High-level programming language | A language that has English-like keywords and commands to express the basic constructs of sequence, selection (decision) and repetition (iteration) |
| Variable | A value that might change while the program is running |
| Identifier | A unique name given to a variable, a procedure, a function, etc. |
| Integer division | Returns only the whole number part of a division eg DIV |
| Compiler | A program that translates source code into executable object code |
| Global variable | A variable declared at the beginning of a program and accessible from anywhere in the program |
| Local variable | A variable declared in a program block (procedure/function) and accessible only within the program block (procedure/function) |
| Constant | A value that does not change while the program is running |
| Integer | A whole number |
| Real number | A number with a decimal point and fractional part |
| String | A sequence of zero or more characters |
| Character | Any letter, numeral or symbol in the given character set, such as the ASCII character set |
| Boolean data | Can be one of two possible values, true or false |
| Array | A fixed data structure containing a series of items of the same data type referred to by a single identifier. |
| Record | A user defined data structure that groups a number of variables or potentially different data types |
| Field | A variable that is part of a record |
| Enumerated type | An ordered set of values |
| Ordinal type | Defines an ordered set of values such as integer, character, Boolean and enumerated types; real numbers are not of ordinal type |
| Set | A collection of values of the same ordinal type with no associated order |
| Function | A routine that is called as part of an expression and returns a value |
| Procedure | A routine that may or may not return a value; a procedure call is a statement in its own right, not part of an expression |
| Text file | A sequence of printable characters organised line by line; it can be opened and read in a text editor |
| CSV file | Comma separated values file; a text file with one record per line and the fields of each record are separated by commas |