Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Primitive <strong>Data</strong> <strong><strong>Type</strong>s</strong>• Integers – almost always an exact reflection of thehardware.– Java’s signed integers: byte,short,int,long.• Floating Point – model real numbers, but only asapproximations.– Support for two types: float and double.• Complex – two floats, the real and the imaginary.– Supported in Fortran and Python.• Boolean – two elements, true and false.– Implemented as bits or bytes.• Character – stored as numeric codings.– ASCII 8-bit encoding, UNICODE 16-bit encoding.Lecture 063