Number types Flashcards
What are Natural Numbers
Whole numbers that is used in counting. In Computer Science it includes 0.
What are Rational Numbers
Any value that can be expressed as a ratio or a fraction. Includes integer values.
What are Irrational Numbers
A value that cannot be expressed as a fraction and has an endless series of non-repeating digits.
What are Integer Numbers
A whole number that could be positive or negative
What are Real Numbers
Any number that is natural, rational or irrational. The set of real numbers is the set of all possible real world quantities. NOT IMAGINARY NUMBERS
What are Ordinal Numbers
Describe the numerical position or objects(1st, 2nd etc.) Used in lists as a pointer, characters and integers are examples of ordinal data types.