Common feature: values and operations.
Type Values Operations
--------------------------------------------------------------------------------------
whole -2billion..2billion + - * / mod < > <= >= == =/=
output input =
decimal e-308,e308 ~13 sig fig + - * / < > <= >= == =/=
output input =
logical true,false == =/=
output input = AND OR NOT
character ASCII < > <= >= == =/=
output input =
Data:
a + bi --+ ____
|- symbol for \/ -1 (character)
a + bj --+
/ \
real imaginary
part part
(decimal) (decimal)
Operations: + - * / == =/= input output =
conjugate magnitude
Data:
a -- numerator (whole)
---
b -- denominator (whole)
Operations: + - * / < > <= >= == =/= input output =
reciprocal asdecimal simplify
Common feature: data and operation descriptions. Together these make the Abstract Data Type (ADT).
Complex
Point & Circle
Brick