Variables Flashcards
Define
Local variable
A variable declared inside a function that can only be accessed from within that function.
Define
Global variable
A variable declared outside any functions that can be accessed from anywhere.
Define
Assignment
The process of storing the value of an expression in a variable
Define
Identifier
The name given to a variable, process or function. In most languages, these are comprised of letters, digits and the underscore character. They must commence with a letter
Define
Integer
One of the infinite set of the positive and negative whole numbers including zero. In any computer system, the range of allowable values is determined by the number of bytes used and the way in which the hardware represents integers.
Define
Floating point
A way of representing numbers that allows the decimal point to move freely, which allows smaller numbers to be more accurate and larger numbers to be stored.
Define
Binary
Number system in which the base is two
Define
Decimal
Number system in which the base is ten
Define
Hexidecimal
Number system in which the base is sixteen