Fundamentals of Data Representation Flashcards
Natural Numbers
The set of positive integers and 0. A subset of Integer Numbers.
Integer Numbers
The set of numbers with no fractional part.
Rational Numbers
The set of numbers that can be represented as the ratio of two integers.
Irrational numbers
The set of numbers which cannot be represented as a ratio of two integers.
Ordinal Numbers
Natural numbers used to describe numerical position or order of objects
Binary
A number system with base 2.
Decimal
A number system with base 10.
Hexadecimal
A number system with base 16
Number base
The number of unique digits used by a particular number system to represent numbers.
Bit
A binary digit used by computers as the fundamental unit of information. Either 1 or 0.
Byte
A group of 8 bits
Nibble
A group of 4 bits
Binary prefix
A prefix to a unit representing a power of 2. Kibi = power of 10, Mebi = 20, Gibi= 30, Tebi = 40
Decimal Prefix
A prefix to a unit representing a power of 10
Signed binary
A binary system capable of representing negative and positive numbers
Unsigned binary
A binary system that can only represent positive numbers.
Two’s complement
Coding scheme used to represent negative or positive number. If most significant bit is 1 = negative
Exponent
Stores number of positions to move the decimal point
Fixed point form
Decimal point is at a fixed position.
Floating point form
Radix point moved by exponant and uses normalisation. Number before and after decimal point have to be opposite. ie 1.0… or 0.1…
Mantissa
Component of floating point that stores the significant figures of the floating point
Absolute error
Difference between correct value and rounded value (ie stored in binary)
Relative error
The percentage difference between the exact value and rounded value
Underflow
The misrepresentation of a numeric value because it is too small to be represented by allocated exponent.
Overflow
Incapability to store a number in assigned bits because it is too large