2.1 Fundamentals of data representation Flashcards
Define natural number
A positive whole number including zero
Define integer
Any whole positive or negative number including zero
Define rational number
Any number that can be expressed as a fraction or ratio of integers
Define irrational number
A number that cannot be represented as a fraction or ratio as the decimal form will contain infinite repeating values
Define real number
Any positive of negative number with or without a fractional part
Define ordinal number
A number used to identify position relative to other numbers
Define cardinal number
A number that identifies the size of something
Define well-ordered set
A group of related numbers with a defined order
Define number base
The number of digits available within a particular number system
Define bit
A single binary digit from a binary number - either a zero or a one
Define byte
A group of bits, typically eight, used to represent a single character
Define unit
The grouping together of bits or bytes to form larger blocks of measurement
Define unsigned binary
Binary that represents positive numbers only
What is two’s complement?
A method of working with signed binary values
Define fixed point
Where the position of the decimal / binary point is fixed within a number
Define floating point
Where the position of the decimal / binary point can move within a number
Compare floating point and fixed point representation
- Floating point gives a wider range of numbers possible to produce from the same number of bits
- It can be faster to process fixed point values as processing the decimal point can be similar to integers
- The absolute error will be constant with fixed point whereas with floating point this could vary
Define signed binary
Binary with a positive or negative sign
Define overflow
When a number is too large to be represented within the number of bits allocated
Define underflow
When a number is too small to be represented within the number of bits allocated
Define precision
How accurate a number is
Define normalisation
A process for adjusting numbers onto a common scale
Define mantissa
The significatn digits that make up a number
Define exponent
The power part of a number indicating how far a binary point should be shifted left or right